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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 108.3 kB / 18.41 MB, free: 4.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 187 kB / 19.34 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 243 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2061/0.2061, allocations: 44.17 MB / 337.4 MB, free: 2.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 67.73 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1079, allocations: 60.82 MB / 470.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.003823/0.1118, allocations: 2.836 MB / 473.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.1129, allocations: 0.7128 MB / 474.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.113, allocations: 11.94 kB / 474.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001756/0.1132, allocations: 63.38 kB / 474.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001976/0.1134, allocations: 114.9 kB / 474.4 MB, free: 9.922 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002516/0.1137, allocations: 103.8 kB / 474.5 MB, free: 9.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003778/0.114, allocations: 446.4 kB / 475 MB, free: 9.383 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002825/0.1143, allocations: 186.1 kB / 475.2 MB, free: 9.199 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001819/0.1145, allocations: 175.3 kB / 475.3 MB, free: 9.027 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002097/0.1147, allocations: 195.1 kB / 475.5 MB, free: 8.836 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.275e-05/0.1148, allocations: 36 kB / 475.6 MB, free: 8.801 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.232e-05/0.1149, allocations: 32 kB / 475.6 MB, free: 8.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.195e-05/0.1149, allocations: 75.77 kB / 475.7 MB, free: 8.695 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001671/0.1151, allocations: 206.9 kB / 475.9 MB, free: 8.492 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003595/0.1155, allocations: 450.4 kB / 476.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1155, allocations: 0 / 476.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1155, allocations: 0 / 476.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.1155, allocations: 4 kB / 476.3 MB, free: 8.047 MB / 350.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.0008921/0.1164, allocations: 0.6629 MB / 477 MB, free: 7.336 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.1164, allocations: 8.031 kB / 477 MB, free: 7.328 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.775e-05/0.1165, allocations: 48.38 kB / 477 MB, free: 7.281 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003642/0.1169, allocations: 292.6 kB / 477.3 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/0.1169, allocations: 29.38 kB / 477.3 MB, free: 6.926 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.294e-05/0.117, allocations: 40.38 kB / 477.4 MB, free: 6.887 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005874/0.1176, allocations: 389.3 kB / 477.8 MB, free: 6.492 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.1176, allocations: 3.906 kB / 477.8 MB, free: 6.488 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.212e-05/0.1177, allocations: 16 kB / 477.8 MB, free: 6.473 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.1177, allocations: 11.94 kB / 477.8 MB, free: 6.461 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004605/0.1181, allocations: 247.8 kB / 478 MB, free: 6.219 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001461/0.1196, allocations: 1.089 MB / 479.1 MB, free: 5.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005103/0.1201, allocations: 351.4 kB / 479.5 MB, free: 4.699 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002695/0.1204, allocations: 178.5 kB / 479.6 MB, free: 4.516 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.389e-05/0.1205, allocations: 11.97 kB / 479.6 MB, free: 4.504 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.1205, allocations: 38.56 kB / 479.7 MB, free: 4.457 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 1.684e-06/0.1205, allocations: 0 / 479.7 MB, free: 4.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.003542/0.124, allocations: 2.442 MB / 482.1 MB, free: 1.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/0.1241, allocations: 114.8 kB / 482.2 MB, free: 1.613 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.1243, allocations: 238.6 kB / 482.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.1244, allocations: 29.7 kB / 482.5 MB, free: 1.332 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.1245, allocations: 184.6 kB / 482.7 MB, free: 1.145 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.1246, allocations: 201 kB / 482.9 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/0.1247, allocations: 86.25 kB / 483 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.1249, allocations: 350.7 kB / 483.3 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000246/0.1251, allocations: 133.1 kB / 483.4 MB, free: 384 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002961/0.1254, allocations: 223.8 kB / 483.7 MB, free: 124 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005798/0.126, allocations: 405.9 kB / 484 MB, free: 15.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.126, allocations: 4 kB / 484.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009535/0.127, allocations: 0.5498 MB / 484.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.127, allocations: 16.03 kB / 484.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.127, allocations: 0 / 484.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003406/0.1274, allocations: 122.5 kB / 484.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003699/0.1278, allocations: 100 kB / 484.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004106/0.1319, allocations: 5.209 MB / 490 MB, free: 9.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002073/0.1321, allocations: 20.06 kB / 490.1 MB, free: 9.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.492e-05/0.1322, allocations: 27.98 kB / 490.1 MB, free: 9.203 MB / 366.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.0002579/0.1324, allocations: 161.7 kB / 490.2 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.657e-05/0.1325, allocations: 35.62 kB / 490.3 MB, free: 9 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.24e-05/0.1326, allocations: 46.17 kB / 490.3 MB, free: 8.961 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.1326, allocations: 8 kB / 490.3 MB, free: 8.953 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.551e-05/0.1327, allocations: 7.938 kB / 490.3 MB, free: 8.945 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.1327, allocations: 7.984 kB / 490.4 MB, free: 8.938 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001791/0.1345, allocations: 1.312 MB / 491.7 MB, free: 7.551 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.1345, allocations: 4 kB / 491.7 MB, free: 7.547 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003999/0.1349, allocations: 103.8 kB / 491.8 MB, free: 7.445 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002568/0.1352, allocations: 94.61 kB / 491.9 MB, free: 7.344 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.167e-05/0.1352, allocations: 15.94 kB / 491.9 MB, free: 7.328 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003156/0.1384, allocations: 4.435 MB / 496.3 MB, free: 2.465 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.316e-06/0.1384, allocations: 4.031 kB / 496.3 MB, free: 2.461 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/0.1396, allocations: 0.9231 MB / 497.2 MB, free: 1.504 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.399e-05/0.1397, allocations: 104.7 kB / 497.3 MB, free: 1.383 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.111e-05/0.1397, allocations: 12.06 kB / 497.4 MB, free: 1.371 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002559/0.14, allocations: 23.98 kB / 497.4 MB, free: 1.348 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.47e-05/0.1401, allocations: 43.89 kB / 497.4 MB, free: 1.305 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-05/0.1401, allocations: 19.98 kB / 497.4 MB, free: 1.285 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001357/0.1403, allocations: 173.9 kB / 497.6 MB, free: 1.113 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1403, allocations: 0 / 497.6 MB, free: 1.113 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006644/0.1409, allocations: 120 kB / 497.7 MB, free: 0.9961 MB / 366.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.0001459/0.1411, allocations: 111.2 kB / 497.8 MB, free: 0.875 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001195/0.1423, allocations: 0.7874 MB / 498.6 MB, free: 52 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1423, allocations: 0 / 498.6 MB, free: 52 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007337/0.1431, allocations: 0.5701 MB / 499.2 MB, free: 15.44 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006206/0.1437, allocations: 67.22 kB / 499.3 MB, free: 15.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.1454, allocations: 1.072 MB / 0.4886 GB, free: 14.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.1457, allocations: 0.8163 MB / 0.4894 GB, free: 13.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000112/0.1459, allocations: 43.25 kB / 0.4894 GB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.478e-05/0.1459, allocations: 31.44 kB / 0.4895 GB, free: 13.36 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1459, allocations: 0 / 0.4895 GB, free: 13.36 MB / 382.1 MB Notification: Performance of Templates: time 0.008479/0.1544, allocations: 4.452 MB / 0.4938 GB, free: 8.914 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile (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=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches