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.001119/0.001125, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001046/0.001046, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.378/1.378, allocations: 222.9 MB / 242.9 MB, free: 15.16 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.2128/0.2128, allocations: 44.18 MB / 337.3 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 67.61 kB / 409.1 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1071, allocations: 60.82 MB / 469.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004045/0.1112, allocations: 2.821 MB / 472.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.1125, allocations: 0.7128 MB / 473.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001803/0.1127, allocations: 11.94 kB / 473.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001801/0.1129, allocations: 59.39 kB / 473.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002226/0.1132, allocations: 126.9 kB / 473.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000271/0.1134, allocations: 91.81 kB / 473.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004072/0.1139, allocations: 442.4 kB / 474.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003066/0.1142, allocations: 194.1 kB / 474.4 MB, free: 9.898 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002025/0.1144, allocations: 167.4 kB / 474.5 MB, free: 9.734 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002081/0.1146, allocations: 183.2 kB / 474.7 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.532e-05/0.1147, allocations: 36 kB / 474.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.785e-05/0.1147, allocations: 36 kB / 474.8 MB, free: 9.484 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.996e-05/0.1148, allocations: 87.69 kB / 474.9 MB, free: 9.398 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001701/0.115, allocations: 210.9 kB / 475.1 MB, free: 9.191 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003875/0.1154, allocations: 438.7 kB / 475.5 MB, free: 8.762 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.1154, allocations: 0 / 475.5 MB, free: 8.762 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1154, allocations: 4 kB / 475.5 MB, free: 8.758 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.1154, allocations: 0 / 475.5 MB, free: 8.758 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.0009458/0.1164, allocations: 0.6668 MB / 476.2 MB, free: 8.043 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.1164, allocations: 12.03 kB / 476.2 MB, free: 8.031 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.884e-05/0.1165, allocations: 48.38 kB / 476.2 MB, free: 7.984 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003065/0.1168, allocations: 284.6 kB / 476.5 MB, free: 7.668 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.847e-05/0.1169, allocations: 25.38 kB / 476.5 MB, free: 7.645 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.17e-05/0.1169, allocations: 40.38 kB / 476.6 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006175/0.1175, allocations: 389.3 kB / 476.9 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/0.1176, allocations: 7.906 kB / 476.9 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.414e-05/0.1176, allocations: 16 kB / 477 MB, free: 7.188 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.1176, allocations: 8 kB / 477 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004876/0.1181, allocations: 251.8 kB / 477.2 MB, free: 6.934 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001517/0.1197, allocations: 1.108 MB / 478.3 MB, free: 5.766 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005209/0.1202, allocations: 344.1 kB / 478.7 MB, free: 5.402 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002828/0.1205, allocations: 178.7 kB / 478.8 MB, free: 5.219 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.954e-05/0.1205, allocations: 8 kB / 478.8 MB, free: 5.211 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.1206, allocations: 38.56 kB / 478.9 MB, free: 5.164 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 2.014e-06/0.1206, allocations: 0 / 478.9 MB, free: 5.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.003732/0.1243, allocations: 2.443 MB / 481.3 MB, free: 2.457 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/0.1244, allocations: 110.8 kB / 481.4 MB, free: 2.324 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002341/0.1246, allocations: 242.6 kB / 481.7 MB, free: 2.074 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.1247, allocations: 41.7 kB / 481.7 MB, free: 2.027 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.1248, allocations: 180.7 kB / 481.9 MB, free: 1.844 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/0.1249, allocations: 197 kB / 482.1 MB, free: 1.648 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.125, allocations: 86.25 kB / 482.2 MB, free: 1.559 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.1252, allocations: 350.7 kB / 482.5 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000251/0.1254, allocations: 129.1 kB / 482.6 MB, free: 1.082 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002977/0.1257, allocations: 235.8 kB / 482.9 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005849/0.1263, allocations: 394 kB / 483.2 MB, free: 404 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.1263, allocations: 4 kB / 483.3 MB, free: 400 kB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009775/0.1273, allocations: 0.5575 MB / 483.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.1274, allocations: 8 kB / 483.8 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.1274, allocations: 7.984 kB / 483.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003466/0.1277, allocations: 118.6 kB / 483.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003708/0.1281, allocations: 103.8 kB / 484 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003919/0.132, allocations: 5.217 MB / 489.3 MB, free: 9.941 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002679/0.1323, allocations: 19.98 kB / 489.3 MB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.529e-05/0.1324, allocations: 16 kB / 489.3 MB, free: 9.906 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.000209/0.1326, allocations: 165.7 kB / 489.5 MB, free: 9.734 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.1327, allocations: 35.62 kB / 489.5 MB, free: 9.699 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.564e-05/0.1328, allocations: 50.23 kB / 489.5 MB, free: 9.656 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.1328, allocations: 8 kB / 489.5 MB, free: 9.648 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-05/0.1328, allocations: 7.938 kB / 489.6 MB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/0.1329, allocations: 7.969 kB / 489.6 MB, free: 9.633 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001873/0.1347, allocations: 1.327 MB / 490.9 MB, free: 8.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.1348, allocations: 3.938 kB / 490.9 MB, free: 8.227 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004045/0.1352, allocations: 99.88 kB / 491 MB, free: 8.129 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002756/0.1355, allocations: 90.61 kB / 491.1 MB, free: 8.031 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.954e-05/0.1355, allocations: 15.94 kB / 491.1 MB, free: 8.016 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00307/0.1386, allocations: 4.439 MB / 495.5 MB, free: 3.148 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.1386, allocations: 4.031 kB / 495.5 MB, free: 3.145 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/0.1398, allocations: 0.9246 MB / 496.5 MB, free: 2.188 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.14, allocations: 112.7 kB / 496.6 MB, free: 2.059 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.304e-05/0.14, allocations: 12 kB / 496.6 MB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002508/0.1403, allocations: 15.98 kB / 496.6 MB, free: 2.031 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.641e-05/0.1404, allocations: 51.81 kB / 496.7 MB, free: 1.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-05/0.1404, allocations: 16 kB / 496.7 MB, free: 1.965 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001512/0.1406, allocations: 174 kB / 496.8 MB, free: 1.793 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1406, allocations: 4 kB / 496.8 MB, free: 1.789 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007134/0.1413, allocations: 116 kB / 497 MB, free: 1.676 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.0001329/0.1414, allocations: 107.2 kB / 497.1 MB, free: 1.559 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001265/0.1427, allocations: 0.7929 MB / 497.9 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.1427, allocations: 0 / 497.9 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006985/0.1434, allocations: 0.5762 MB / 498.4 MB, free: 116 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006913/0.1441, allocations: 64.59 kB / 498.5 MB, free: 52 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/0.1459, allocations: 1.107 MB / 499.6 MB, free: 14.9 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/0.1463, allocations: 0.8319 MB / 0.4887 GB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.448e-05/0.1464, allocations: 31.44 kB / 0.4887 GB, free: 14.01 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1464, allocations: 0 / 0.4887 GB, free: 14.01 MB / 382.1 MB Notification: Performance of Templates: time 0.01085/0.1572, allocations: 9.286 MB / 0.4978 GB, free: 4.719 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 -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