Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001277/0.001277, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001153/0.001153, allocations: 166.7 kB / 24.99 MB, free: 8.793 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.079/1.079, allocations: 177.1 MB / 205.3 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2937/0.2937, allocations: 32.8 MB / 294.6 MB, free: 1.289 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_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_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 376 MB, free: 5.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.903e-05/2.084e-05, allocations: 2.312 kB / 376 MB, free: 5 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.003988/0.004009, allocations: 2.882 MB / 378.9 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001405/0.005414, allocations: 0.7904 MB / 379.6 MB, free: 1.309 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001838/0.005598, allocations: 11.94 kB / 379.7 MB, free: 1.297 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001878/0.005786, allocations: 55.39 kB / 379.7 MB, free: 1.242 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000251/0.006036, allocations: 142.7 kB / 379.9 MB, free: 1.102 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003355/0.006372, allocations: 115.8 kB / 380 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004836/0.006856, allocations: 466.1 kB / 380.4 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002501/0.007106, allocations: 130.7 kB / 380.5 MB, free: 408 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003816/0.007487, allocations: 267.4 kB / 380.8 MB, free: 140 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002151/0.007702, allocations: 139.6 kB / 380.9 MB, free: 0 / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.231e-05/0.007775, allocations: 36.05 kB / 381 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.566e-05/0.00786, allocations: 36 kB / 381 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.781e-05/0.007928, allocations: 91.56 kB / 381.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001484/0.008077, allocations: 143.7 kB / 381.2 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004041/0.008481, allocations: 298.8 kB / 381.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.008486, allocations: 3.984 kB / 381.5 MB, free: 15.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.008488, allocations: 4 kB / 381.5 MB, free: 15.4 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.008493, allocations: 0 / 381.5 MB, free: 15.4 MB / 362.7 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.000844/0.009337, allocations: 0.6987 MB / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.009375, allocations: 8.031 kB / 382.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000303/0.009678, allocations: 100.6 kB / 382.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003323/0.01001, allocations: 245 kB / 382.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.131e-05/0.01004, allocations: 33.38 kB / 382.6 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.756e-05/0.01011, allocations: 44.31 kB / 382.7 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005486/0.01066, allocations: 330.7 kB / 383 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.01068, allocations: 4.141 kB / 383 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.448e-05/0.01071, allocations: 20.38 kB / 383 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/0.01073, allocations: 15.94 kB / 383 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003069/0.01104, allocations: 131.8 kB / 383.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.01235, allocations: 1.025 MB / 384.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004368/0.01278, allocations: 281.5 kB / 384.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001913/0.01298, allocations: 127.2 kB / 384.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.013, allocations: 8 kB / 384.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.01303, allocations: 41.39 kB / 384.6 MB, free: 12.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=39): time 1.954e-06/0.01303, allocations: 0 / 384.6 MB, free: 12.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.002869/0.0159, allocations: 1.755 MB / 386.4 MB, free: 10.19 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/0.01596, allocations: 114.8 kB / 386.5 MB, free: 10.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.01616, allocations: 250.7 kB / 386.7 MB, free: 9.789 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.01619, allocations: 33.7 kB / 386.8 MB, free: 9.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.01631, allocations: 248.1 kB / 387 MB, free: 9.504 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.01645, allocations: 194.2 kB / 387.2 MB, free: 9.312 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.01658, allocations: 96 kB / 387.3 MB, free: 9.211 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.01677, allocations: 0.5156 MB / 387.8 MB, free: 8.684 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/0.01694, allocations: 69.27 kB / 387.9 MB, free: 8.613 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000247/0.01718, allocations: 198.7 kB / 388.1 MB, free: 8.371 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004348/0.01762, allocations: 304 kB / 388.4 MB, free: 8.023 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.01762, allocations: 7.938 kB / 388.4 MB, free: 8.016 MB / 362.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0007788/0.0184, allocations: 463.8 kB / 388.8 MB, free: 7.543 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.01842, allocations: 13.8 kB / 388.8 MB, free: 7.531 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.01843, allocations: 4 kB / 388.9 MB, free: 7.527 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003573/0.01879, allocations: 111 kB / 389 MB, free: 7.406 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003239/0.01911, allocations: 103.9 kB / 389.1 MB, free: 7.305 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002911/0.02202, allocations: 6.355 MB / 395.4 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.604e-05/0.02212, allocations: 16 kB / 395.4 MB, free: 0.5742 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.02214, allocations: 19.98 kB / 395.5 MB, free: 0.5547 MB / 362.7 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.0001134/0.02225, allocations: 188.4 kB / 395.6 MB, free: 368 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.04e-05/0.02232, allocations: 59.7 kB / 395.7 MB, free: 308 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.371e-05/0.02237, allocations: 49.83 kB / 395.7 MB, free: 256 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.02237, allocations: 8 kB / 395.8 MB, free: 248 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.39e-05/0.02239, allocations: 4 kB / 395.8 MB, free: 244 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.02239, allocations: 3.984 kB / 395.8 MB, free: 240 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.02345, allocations: 1.191 MB / 396.9 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.02345, allocations: 0 / 396.9 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002213/0.02367, allocations: 95.88 kB / 397 MB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001561/0.02383, allocations: 90.98 kB / 397.1 MB, free: 14.78 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.02385, allocations: 12 kB / 397.1 MB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002022/0.02587, allocations: 5.417 MB / 402.6 MB, free: 8.984 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.02587, allocations: 8.094 kB / 402.6 MB, free: 8.977 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00065/0.02652, allocations: 0.8803 MB / 403.4 MB, free: 8.047 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.128e-05/0.02654, allocations: 27.81 kB / 403.5 MB, free: 8.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.364e-05/0.02657, allocations: 12 kB / 403.5 MB, free: 8.008 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.02669, allocations: 16.05 kB / 403.5 MB, free: 7.992 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.075e-05/0.02676, allocations: 51.98 kB / 403.6 MB, free: 7.941 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.02677, allocations: 16 kB / 403.6 MB, free: 7.926 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.77e-05/0.02685, allocations: 177.8 kB / 403.7 MB, free: 7.754 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02685, allocations: 4 kB / 403.7 MB, free: 7.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003931/0.02725, allocations: 124 kB / 403.9 MB, free: 7.629 MB / 378.7 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.0001042/0.02735, allocations: 111.1 kB / 404 MB, free: 7.512 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006595/0.02801, allocations: 0.8395 MB / 404.8 MB, free: 6.617 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.02801, allocations: 4 kB / 404.8 MB, free: 6.613 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003882/0.0284, allocations: 0.6893 MB / 405.5 MB, free: 5.867 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003833/0.02878, allocations: 60.83 kB / 405.6 MB, free: 5.805 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.02994, allocations: 0.9504 MB / 406.5 MB, free: 4.805 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.56e-05/0.03003, allocations: 118.4 kB / 406.6 MB, free: 4.668 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.423e-05/0.0301, allocations: 39.19 kB / 406.7 MB, free: 4.629 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.278e-05/0.03015, allocations: 32.5 kB / 406.7 MB, free: 4.598 MB / 378.7 MB Notification: Performance of SimCode: time 7.31e-07/0.03016, allocations: 4 kB / 406.7 MB, free: 4.594 MB / 378.7 MB Notification: Performance of Templates: time 0.006331/0.03649, allocations: 4.452 MB / 411.2 MB, free: 192 kB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4993182378821075]