Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001758/0.001759, allocations: 100.3 kB / 16.99 MB, free: 6.402 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.001567/0.001568, allocations: 178.7 kB / 17.88 MB, free: 5.957 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.477/1.477, allocations: 223.2 MB / 241.8 MB, free: 364 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2077/0.2077, allocations: 44.23 MB / 337.1 MB, free: 2.887 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003256/0.0003257, allocations: 11.98 kB / 409.5 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1353, allocations: 61.92 MB / 471.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.001773/0.1371, allocations: 1.289 MB / 472.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003269/0.1374, allocations: 119.7 kB / 472.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.61e-05/0.1375, allocations: 3.938 kB / 472.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.931e-05/0.1376, allocations: 11.92 kB / 472.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001207/0.1377, allocations: 31.92 kB / 472.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001234/0.1378, allocations: 27.97 kB / 472.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.138, allocations: 79.83 kB / 473 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.1381, allocations: 32.95 kB / 473 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.461e-05/0.1382, allocations: 39.86 kB / 473.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.222e-05/0.1383, allocations: 47.77 kB / 473.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.1383, allocations: 11.94 kB / 473.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.055e-05/0.1384, allocations: 8 kB / 473.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.091e-05/0.1384, allocations: 19.92 kB / 473.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.754e-05/0.1384, allocations: 45.7 kB / 473.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001022/0.1385, allocations: 87.97 kB / 473.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.1385, allocations: 0 / 473.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1386, allocations: 3.938 kB / 473.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1386, allocations: 0 / 473.3 MB, free: 11.89 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004584/0.139, allocations: 387.2 kB / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.1391, allocations: 8.031 kB / 473.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.079e-05/0.1391, allocations: 15.91 kB / 473.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.1394, allocations: 190.8 kB / 473.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.1394, allocations: 8.234 kB / 473.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.532e-05/0.1394, allocations: 12 kB / 473.9 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002383/0.1397, allocations: 136.9 kB / 474 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.1397, allocations: 0 / 474 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.1397, allocations: 8 kB / 474 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.1398, allocations: 0 / 474 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.1399, allocations: 63.89 kB / 474.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000845/0.1407, allocations: 0.5372 MB / 474.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.1409, allocations: 89.16 kB / 474.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.887e-05/0.1409, allocations: 8 kB / 474.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.141, allocations: 34.52 kB / 474.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.663e-06/0.141, allocations: 0 / 474.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006456/0.1416, allocations: 297.9 kB / 475.1 MB, free: 9.883 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.563e-05/0.1417, allocations: 81.11 kB / 475.1 MB, free: 9.785 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.1418, allocations: 121.7 kB / 475.3 MB, free: 9.656 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.1418, allocations: 29.7 kB / 475.3 MB, free: 9.621 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.268e-05/0.1419, allocations: 115.7 kB / 475.4 MB, free: 9.504 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.251e-05/0.142, allocations: 31.55 kB / 475.4 MB, free: 9.473 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.012e-06/0.142, allocations: 8 kB / 475.4 MB, free: 9.465 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.1422, allocations: 326.8 kB / 475.8 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.905e-05/0.1422, allocations: 20 kB / 475.8 MB, free: 9.117 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.849e-05/0.1423, allocations: 84.45 kB / 475.9 MB, free: 9.004 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.401e-05/0.1424, allocations: 44.02 kB / 475.9 MB, free: 8.961 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.738e-06/0.1424, allocations: 4 kB / 475.9 MB, free: 8.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002673/0.1426, allocations: 167.1 kB / 476.1 MB, free: 8.781 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.1427, allocations: 4 kB / 476.1 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.1427, allocations: 7.984 kB / 476.1 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002055/0.1429, allocations: 33.72 kB / 476.1 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.143, allocations: 27.92 kB / 476.1 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001933/0.145, allocations: 2.552 MB / 478.7 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.247e-05/0.145, allocations: 15.83 kB / 478.7 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.1451, allocations: 8 kB / 478.7 MB, free: 5.863 MB / 350.1 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000133/0.1452, allocations: 126.2 kB / 478.8 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.546e-05/0.1453, allocations: 11.89 kB / 478.9 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.841e-05/0.1453, allocations: 7.906 kB / 478.9 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1453, allocations: 7.938 kB / 478.9 MB, free: 5.703 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.1453, allocations: 3.953 kB / 478.9 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1453, allocations: 0 / 478.9 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002529/0.1456, allocations: 201.6 kB / 479.1 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.1456, allocations: 0 / 479.1 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.698e-05/0.1457, allocations: 19.92 kB / 479.1 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.83e-05/0.1458, allocations: 37.7 kB / 479.1 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.1458, allocations: 4 kB / 479.1 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001576/0.1474, allocations: 2.541 MB / 481.7 MB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1474, allocations: 64 / 481.7 MB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003187/0.1477, allocations: 322 kB / 482 MB, free: 2.234 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.967e-05/0.1478, allocations: 85.19 kB / 482.1 MB, free: 2.133 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.1478, allocations: 4 kB / 482.1 MB, free: 2.129 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.8e-05/0.1479, allocations: 0 / 482.1 MB, free: 2.129 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.702e-05/0.148, allocations: 12.03 kB / 482.1 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.148, allocations: 4 kB / 482.1 MB, free: 2.113 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.747e-05/0.148, allocations: 95.27 kB / 482.2 MB, free: 2.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.148, allocations: 3.938 kB / 482.2 MB, free: 2.016 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003663/0.1484, allocations: 39.84 kB / 482.2 MB, free: 1.977 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.phi) * 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 (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001329/0.1485, allocations: 91.25 kB / 482.3 MB, free: 1.875 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004932/0.149, allocations: 305.2 kB / 482.6 MB, free: 1.551 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.1491, allocations: 0 / 482.6 MB, free: 1.551 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002762/0.1493, allocations: 261.2 kB / 482.9 MB, free: 1.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004616/0.1498, allocations: 24.44 kB / 482.9 MB, free: 1.246 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009368/0.1508, allocations: 0.5559 MB / 483.4 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.1511, allocations: 0.7161 MB / 484.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.932e-05/0.1512, allocations: 20.8 kB / 484.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.475e-05/0.1512, allocations: 11.44 kB / 484.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1512, allocations: 0 / 484.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of Templates: time 0.004233/0.1555, allocations: 1.391 MB / 485.6 MB, free: 14.5 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches