Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.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.001959/0.001959, allocations: 75.77 kB / 20.51 MB, free: 1.121 MB / 14.72 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.0025/0.0025, allocations: 167.4 kB / 23.76 MB, free: 4.195 MB / 14.72 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 1.496/1.496, allocations: 158.6 MB / 185.5 MB, free: 6.137 MB / 174.1 MB " [Timeout remaining time 178] 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.2219/0.2219, allocations: 32.38 MB / 270.1 MB, free: 2.703 MB / 254.1 MB " [Timeout remaining time 179] 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.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002304/0.002304, allocations: 75.89 kB / 407.8 MB, free: 5.539 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1472, allocations: 61.04 MB / 468.8 MB, free: 8.316 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004435/0.1517, allocations: 2.642 MB / 471.4 MB, free: 5.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001506/0.1532, allocations: 0.733 MB / 472.2 MB, free: 4.918 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001684/0.1533, allocations: 15.94 kB / 472.2 MB, free: 4.902 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002183/0.1536, allocations: 63.31 kB / 472.2 MB, free: 4.84 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002616/0.1538, allocations: 118.9 kB / 472.4 MB, free: 4.723 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003094/0.1541, allocations: 99.86 kB / 472.5 MB, free: 4.625 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005363/0.1547, allocations: 446.4 kB / 472.9 MB, free: 4.188 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003082/0.155, allocations: 130.8 kB / 473 MB, free: 4.059 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002633/0.1552, allocations: 175.4 kB / 473.2 MB, free: 3.887 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002799/0.1555, allocations: 167.1 kB / 473.4 MB, free: 3.723 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.886e-05/0.1556, allocations: 36 kB / 473.4 MB, free: 3.688 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.3e-05/0.1556, allocations: 36 kB / 473.4 MB, free: 3.652 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.436e-05/0.1557, allocations: 83.69 kB / 473.5 MB, free: 3.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001977/0.1559, allocations: 163.2 kB / 473.7 MB, free: 3.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005301/0.1564, allocations: 462 kB / 474.1 MB, free: 2.957 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1565, allocations: 0 / 474.1 MB, free: 2.957 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1565, allocations: 0 / 474.1 MB, free: 2.957 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.348e-06/0.1565, allocations: 4 kB / 474.1 MB, free: 2.953 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001066/0.1575, allocations: 0.595 MB / 474.7 MB, free: 2.324 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.1576, allocations: 8.031 kB / 474.7 MB, free: 2.316 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.438e-05/0.1577, allocations: 56.64 kB / 474.8 MB, free: 2.262 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000465/0.1581, allocations: 222.9 kB / 475 MB, free: 2.016 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.291e-05/0.1582, allocations: 33.38 kB / 475 MB, free: 1.984 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.206e-05/0.1582, allocations: 40.33 kB / 475.1 MB, free: 1.945 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006938/0.1589, allocations: 389.3 kB / 475.4 MB, free: 1.551 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.1589, allocations: 4 kB / 475.4 MB, free: 1.547 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.693e-05/0.159, allocations: 16 kB / 475.5 MB, free: 1.531 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.159, allocations: 8 kB / 475.5 MB, free: 1.523 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005133/0.1595, allocations: 239.8 kB / 475.7 MB, free: 1.289 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00151/0.161, allocations: 0.9068 MB / 476.6 MB, free: 352 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3035/0.4645, allocations: 330.1 kB / 476.9 MB, free: 50.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004462/0.4649, allocations: 157.5 kB / 477.1 MB, free: 50.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.991e-05/0.465, allocations: 7.172 kB / 477.1 MB, free: 50.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.465, allocations: 35.5 kB / 477.1 MB, free: 50.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=39): time 2.805e-06/0.465, allocations: 3.594 kB / 477.1 MB, free: 50.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.003153/0.4682, allocations: 2.004 MB / 479.1 MB, free: 49.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.4682, allocations: 110.8 kB / 479.2 MB, free: 49.49 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.4683, allocations: 188.2 kB / 479.4 MB, free: 49.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.4684, allocations: 35.14 kB / 479.5 MB, free: 49.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.027e-05/0.4684, allocations: 192.9 kB / 479.7 MB, free: 49.24 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.912e-05/0.4685, allocations: 207.2 kB / 479.9 MB, free: 49.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.4687, allocations: 91.58 kB / 479.9 MB, free: 49.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.87e-05/0.4687, allocations: 341.4 kB / 480.3 MB, free: 48.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/0.4689, allocations: 129.1 kB / 480.4 MB, free: 48.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002491/0.4692, allocations: 232.8 kB / 480.6 MB, free: 48.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004755/0.4697, allocations: 405.6 kB / 481 MB, free: 48.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.4697, allocations: 3.219 kB / 481 MB, free: 48.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008027/0.4705, allocations: 0.543 MB / 481.6 MB, free: 48.21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.4705, allocations: 9.906 kB / 481.6 MB, free: 48.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.4705, allocations: 3.188 kB / 481.6 MB, free: 48.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003218/0.4708, allocations: 132 kB / 481.7 MB, free: 48.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003452/0.4712, allocations: 94.89 kB / 481.8 MB, free: 48.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003126/0.4743, allocations: 4.818 MB / 486.6 MB, free: 43.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.4745, allocations: 17.77 kB / 486.6 MB, free: 43.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.88e-05/0.4745, allocations: 19.88 kB / 486.7 MB, free: 43.68 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001623/0.4747, allocations: 167.2 kB / 486.8 MB, free: 43.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.444e-05/0.4748, allocations: 34.97 kB / 486.9 MB, free: 43.51 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.373e-05/0.4748, allocations: 47.53 kB / 486.9 MB, free: 43.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.964e-06/0.4748, allocations: 14.16 kB / 486.9 MB, free: 43.47 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.454e-05/0.4749, allocations: 3.062 kB / 486.9 MB, free: 43.47 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.4749, allocations: 3.375 kB / 486.9 MB, free: 43.47 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001493/0.4764, allocations: 1.185 MB / 488.1 MB, free: 42.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.4764, allocations: 3.312 kB / 488.1 MB, free: 42.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003722/0.4767, allocations: 90.34 kB / 488.2 MB, free: 42.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002337/0.477, allocations: 100.6 kB / 488.3 MB, free: 42.69 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.625e-05/0.477, allocations: 16.14 kB / 488.3 MB, free: 42.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002111/0.4791, allocations: 4.031 MB / 492.3 MB, free: 38.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.4791, allocations: 7.031 kB / 492.4 MB, free: 38.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.4802, allocations: 0.9124 MB / 493.3 MB, free: 38.26 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.879e-05/0.4802, allocations: 28.64 kB / 493.3 MB, free: 38.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.321e-05/0.4802, allocations: 15.12 kB / 493.3 MB, free: 38.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002414/0.4805, allocations: 20.73 kB / 493.3 MB, free: 38.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.468e-05/0.4806, allocations: 43.61 kB / 493.4 MB, free: 38.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.502e-05/0.4806, allocations: 22.67 kB / 493.4 MB, free: 38.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.993e-05/0.4807, allocations: 140.8 kB / 493.5 MB, free: 38.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4807, allocations: 0 / 493.5 MB, free: 38.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006712/0.4813, allocations: 118.7 kB / 493.6 MB, free: 38.1 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,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 0.0001109/0.4815, allocations: 112.4 kB / 493.8 MB, free: 38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001028/0.4825, allocations: 0.7705 MB / 494.5 MB, free: 37.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4825, allocations: 0 / 494.5 MB, free: 37.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005682/0.4831, allocations: 0.5618 MB / 495.1 MB, free: 37.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000623/0.4837, allocations: 69.66 kB / 495.2 MB, free: 37.08 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/0.4851, allocations: 1.074 MB / 496.2 MB, free: 36.37 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001689/0.4853, allocations: 220 kB / 496.4 MB, free: 36.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.639e-05/0.4854, allocations: 32.3 kB / 496.5 MB, free: 36.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.4e-05/0.4855, allocations: 29.81 kB / 496.5 MB, free: 36.26 MB / 446.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4855, allocations: 3.938 kB / 496.5 MB, free: 36.26 MB / 446.1 MB Notification: Performance of Templates: time 0.008541/0.494, allocations: 4.33 MB / 0.4891 GB, free: 35.74 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.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.673116132966243]