Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 84.44 kB / 20.7 MB, free: 3.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 169.9 kB / 23.96 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8761/0.8761, allocations: 158.6 MB / 185.7 MB, free: 3.023 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1345/0.1345, allocations: 32.37 MB / 270.4 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 3.938 kB / 408.1 MB, free: 1.762 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.508e-05/2.671e-05, allocations: 2.281 kB / 408.1 MB, free: 1.758 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002177/0.002203, allocations: 1.764 MB / 409.9 MB, free: 15.98 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.000357/0.00256, allocations: 155.5 kB / 410 MB, free: 15.83 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.212e-05/0.002632, allocations: 3.938 kB / 410 MB, free: 15.83 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 5.747e-05/0.00269, allocations: 27.78 kB / 410 MB, free: 15.8 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001198/0.00281, allocations: 59.48 kB / 410.1 MB, free: 15.74 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001322/0.002942, allocations: 35.89 kB / 410.1 MB, free: 15.71 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001676/0.003109, allocations: 191 kB / 410.3 MB, free: 15.52 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001727/0.003282, allocations: 41.77 kB / 410.4 MB, free: 15.48 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.003408, allocations: 107.8 kB / 410.5 MB, free: 15.37 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.992e-05/0.003498, allocations: 51.81 kB / 410.5 MB, free: 15.32 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.335e-05/0.003531, allocations: 12 kB / 410.5 MB, free: 15.31 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.979e-05/0.003551, allocations: 20 kB / 410.5 MB, free: 15.29 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.955e-05/0.003581, allocations: 35.89 kB / 410.6 MB, free: 15.25 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.911e-05/0.00363, allocations: 59.84 kB / 410.6 MB, free: 15.2 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001844/0.003814, allocations: 179.4 kB / 410.8 MB, free: 15.02 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.003817, allocations: 0 / 410.8 MB, free: 15.02 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.003818, allocations: 0 / 410.8 MB, free: 15.02 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.003823, allocations: 0 / 410.8 MB, free: 15.02 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0004433/0.004266, allocations: 381.9 kB / 411.2 MB, free: 14.61 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.004306, allocations: 12.03 kB / 411.2 MB, free: 14.6 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.91e-05/0.004345, allocations: 16.84 kB / 411.2 MB, free: 14.58 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001706/0.004516, allocations: 153.5 kB / 411.4 MB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.004528, allocations: 8.703 kB / 411.4 MB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.267e-05/0.00456, allocations: 20.38 kB / 411.4 MB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002111/0.004772, allocations: 178 kB / 411.6 MB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.004788, allocations: 192 / 411.6 MB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.004803, allocations: 12.38 kB / 411.6 MB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.004809, allocations: 4.375 kB / 411.6 MB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.004921, allocations: 91.89 kB / 411.7 MB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005566/0.005477, allocations: 0.496 MB / 412.2 MB, free: 13.56 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/0.005654, allocations: 129.1 kB / 412.3 MB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.554e-05/0.00571, allocations: 45.7 kB / 412.3 MB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/0.005721, allocations: 3.938 kB / 412.3 MB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.005744, allocations: 34.56 kB / 412.4 MB, free: 13.32 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 1.753e-06/0.005746, allocations: 0 / 412.4 MB, free: 13.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.000484/0.00623, allocations: 223.3 kB / 412.6 MB, free: 13.09 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.006267, allocations: 81.05 kB / 412.7 MB, free: 12.99 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.23e-05/0.006349, allocations: 134 kB / 412.8 MB, free: 12.84 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.00636, allocations: 29.7 kB / 412.8 MB, free: 12.81 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.971e-05/0.00643, allocations: 128.3 kB / 413 MB, free: 12.68 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/0.00646, allocations: 59.47 kB / 413 MB, free: 12.62 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.195e-05/0.006502, allocations: 41.72 kB / 413.1 MB, free: 12.57 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.016e-05/0.006582, allocations: 318.8 kB / 413.4 MB, free: 12.25 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.588e-05/0.006628, allocations: 39.98 kB / 413.4 MB, free: 12.21 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.92e-05/0.006707, allocations: 108.4 kB / 413.5 MB, free: 12.07 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.006843, allocations: 164.9 kB / 413.7 MB, free: 11.88 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.006846, allocations: 3.938 kB / 413.7 MB, free: 11.88 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002398/0.007085, allocations: 223 kB / 413.9 MB, free: 11.65 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.007103, allocations: 4 kB / 413.9 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.007112, allocations: 7.984 kB / 413.9 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001766/0.007289, allocations: 45.7 kB / 414 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.00739, allocations: 36.17 kB / 414 MB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001586/0.008976, allocations: 2.726 MB / 416.7 MB, free: 8.621 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.866e-05/0.009025, allocations: 27.78 kB / 416.7 MB, free: 8.594 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.537e-06/0.009033, allocations: 8 kB / 416.7 MB, free: 8.586 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.734e-05/0.009121, allocations: 141.9 kB / 416.9 MB, free: 8.438 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/0.009145, allocations: 7.953 kB / 416.9 MB, free: 8.43 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.767e-05/0.009163, allocations: 16.78 kB / 416.9 MB, free: 8.414 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.009166, allocations: 4 kB / 416.9 MB, free: 8.41 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.00917, allocations: 0 / 416.9 MB, free: 8.41 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.009172, allocations: 0 / 416.9 MB, free: 8.41 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.009327, allocations: 161.2 kB / 417.1 MB, free: 8.223 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.009329, allocations: 0 / 417.1 MB, free: 8.223 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.567e-05/0.009415, allocations: 27.98 kB / 417.1 MB, free: 8.195 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.923e-05/0.009504, allocations: 53.62 kB / 417.2 MB, free: 8.137 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-06/0.009513, allocations: 0 / 417.2 MB, free: 8.137 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001192/0.0107, allocations: 2.73 MB / 419.9 MB, free: 5.203 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.01071, allocations: 3.938 kB / 419.9 MB, free: 5.199 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002453/0.01095, allocations: 376.4 kB / 420.3 MB, free: 4.809 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.717e-06/0.01096, allocations: 11.89 kB / 420.3 MB, free: 4.797 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.01097, allocations: 7.922 kB / 420.3 MB, free: 4.789 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.751e-05/0.01103, allocations: 4.062 kB / 420.3 MB, free: 4.785 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.702e-05/0.01106, allocations: 11.98 kB / 420.3 MB, free: 4.773 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.01106, allocations: 4 kB / 420.3 MB, free: 4.77 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.012e-05/0.0111, allocations: 102.9 kB / 420.4 MB, free: 4.672 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0111, allocations: 96 / 420.4 MB, free: 4.672 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002948/0.0114, allocations: 59.89 kB / 420.5 MB, free: 4.613 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.w,inertia2.phi,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.381e-05/0.01148, allocations: 103.3 kB / 420.6 MB, free: 4.504 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003459/0.01183, allocations: 341.5 kB / 420.9 MB, free: 4.145 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.01183, allocations: 4 kB / 420.9 MB, free: 4.141 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.01199, allocations: 285.4 kB / 421.2 MB, free: 3.836 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.01231, allocations: 27.97 kB / 421.2 MB, free: 3.809 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006371/0.01294, allocations: 0.5472 MB / 421.7 MB, free: 3.227 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.097e-05/0.01302, allocations: 116.2 kB / 421.9 MB, free: 3.094 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.383e-05/0.01305, allocations: 12.5 kB / 421.9 MB, free: 3.082 MB / 394.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01305, allocations: 4 kB / 421.9 MB, free: 3.078 MB / 394.7 MB Notification: Performance of Templates: time 0.0035/0.01655, allocations: 3.247 MB / 425.1 MB, free: 15.83 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.080879217013717]