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.001425/0.001425, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.00175/0.00175, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.431/1.431, allocations: 222.9 MB / 243 MB, free: 15.06 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.2141/0.2141, allocations: 44.18 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 59.91 kB / 409.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1276, allocations: 60.83 MB / 470.7 MB, free: 1.809 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.0038/0.1315, allocations: 1.648 MB / 472.3 MB, free: 152 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003229/0.1318, allocations: 103.7 kB / 472.4 MB, free: 48 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.043e-05/0.1319, allocations: 3.938 kB / 472.4 MB, free: 44 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.959e-05/0.132, allocations: 15.86 kB / 472.5 MB, free: 28 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.1321, allocations: 35.78 kB / 472.5 MB, free: 15.99 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001336/0.1323, allocations: 27.98 kB / 472.5 MB, free: 15.96 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.1324, allocations: 123.3 kB / 472.6 MB, free: 15.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.1326, allocations: 41.08 kB / 472.7 MB, free: 15.8 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.997e-05/0.1327, allocations: 51.8 kB / 472.7 MB, free: 15.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.474e-05/0.1328, allocations: 51.77 kB / 472.8 MB, free: 15.7 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.1328, allocations: 8 kB / 472.8 MB, free: 15.7 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.433e-05/0.1328, allocations: 8 kB / 472.8 MB, free: 15.69 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.832e-05/0.1328, allocations: 23.92 kB / 472.8 MB, free: 15.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.323e-05/0.1329, allocations: 59.73 kB / 472.9 MB, free: 15.61 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.1331, allocations: 123.5 kB / 473 MB, free: 15.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1331, allocations: 0 / 473 MB, free: 15.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1331, allocations: 0 / 473 MB, free: 15.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.1331, allocations: 0 / 473 MB, free: 15.48 MB / 398.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.0005129/0.1336, allocations: 415.3 kB / 473.4 MB, free: 15.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.1337, allocations: 8.031 kB / 473.4 MB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.93e-05/0.1337, allocations: 8.844 kB / 473.4 MB, free: 15.01 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.1339, allocations: 196.1 kB / 473.6 MB, free: 14.78 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.134, allocations: 8.609 kB / 473.6 MB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.575e-05/0.134, allocations: 16.38 kB / 473.6 MB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002153/0.1342, allocations: 134.2 kB / 473.8 MB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.1342, allocations: 8.094 kB / 473.8 MB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.307e-05/0.1343, allocations: 7.938 kB / 473.8 MB, free: 14.6 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.1343, allocations: 4 kB / 473.8 MB, free: 14.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.1344, allocations: 63.83 kB / 473.9 MB, free: 14.54 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008059/0.1352, allocations: 0.5411 MB / 474.4 MB, free: 13.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.1354, allocations: 85.33 kB / 474.5 MB, free: 13.83 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.106e-05/0.1354, allocations: 29.64 kB / 474.5 MB, free: 13.8 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.1354, allocations: 7.922 kB / 474.5 MB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.1355, allocations: 42.56 kB / 474.6 MB, free: 13.74 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.1355, allocations: 0 / 474.6 MB, free: 13.74 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006323/0.1361, allocations: 301.4 kB / 474.9 MB, free: 13.39 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.1362, allocations: 77.11 kB / 474.9 MB, free: 13.3 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.1363, allocations: 121.8 kB / 475 MB, free: 13.17 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.1363, allocations: 25.7 kB / 475.1 MB, free: 13.14 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.503e-05/0.1364, allocations: 131.5 kB / 475.2 MB, free: 13.01 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.1365, allocations: 31.5 kB / 475.2 MB, free: 12.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.335e-05/0.1365, allocations: 29.7 kB / 475.3 MB, free: 12.94 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.1367, allocations: 326.8 kB / 475.6 MB, free: 12.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.795e-05/0.1367, allocations: 20 kB / 475.6 MB, free: 12.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.294e-05/0.1368, allocations: 87.81 kB / 475.7 MB, free: 12.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.1369, allocations: 124.4 kB / 475.8 MB, free: 12.33 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1369, allocations: 4 kB / 475.8 MB, free: 12.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002547/0.1372, allocations: 167.1 kB / 476 MB, free: 12.15 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.1372, allocations: 8 kB / 476 MB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1372, allocations: 0 / 476 MB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001869/0.1374, allocations: 45.64 kB / 476 MB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.672e-05/0.1375, allocations: 23.92 kB / 476 MB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001972/0.1395, allocations: 2.734 MB / 478.8 MB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.491e-05/0.1396, allocations: 15.84 kB / 478.8 MB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.1396, allocations: 8.156 kB / 478.8 MB, free: 9.027 MB / 398.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001242/0.1397, allocations: 121.8 kB / 478.9 MB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.798e-05/0.1398, allocations: 11.89 kB / 478.9 MB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.48e-05/0.1398, allocations: 11.84 kB / 478.9 MB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.1398, allocations: 4 kB / 479 MB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1398, allocations: 0 / 479 MB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.1398, allocations: 0 / 479 MB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002543/0.1401, allocations: 213.5 kB / 479.2 MB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1401, allocations: 4 kB / 479.2 MB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.617e-05/0.1402, allocations: 12 kB / 479.2 MB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.998e-05/0.1403, allocations: 29.7 kB / 479.2 MB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.1403, allocations: 7.938 kB / 479.2 MB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001797/0.1421, allocations: 2.734 MB / 481.9 MB, free: 5.543 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1421, allocations: 0 / 481.9 MB, free: 5.543 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002805/0.1424, allocations: 308.4 kB / 482.2 MB, free: 5.219 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.949e-05/0.1425, allocations: 81.02 kB / 482.3 MB, free: 5.121 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.857e-05/0.1425, allocations: 8 kB / 482.3 MB, free: 5.113 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.826e-05/0.1426, allocations: 0 / 482.3 MB, free: 5.113 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.415e-05/0.1426, allocations: 8.031 kB / 482.3 MB, free: 5.105 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.575e-06/0.1426, allocations: 4 kB / 482.3 MB, free: 5.102 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.047e-05/0.1427, allocations: 95.27 kB / 482.4 MB, free: 5.008 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.664e-06/0.1427, allocations: 4 kB / 482.4 MB, free: 5.004 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003667/0.1431, allocations: 43.78 kB / 482.5 MB, free: 4.961 MB / 398.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001157/0.1432, allocations: 91.25 kB / 482.6 MB, free: 4.859 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004312/0.1436, allocations: 309.6 kB / 482.9 MB, free: 4.531 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1436, allocations: 4.062 kB / 482.9 MB, free: 4.527 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002314/0.1439, allocations: 257.3 kB / 483.1 MB, free: 4.25 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004828/0.1444, allocations: 31.27 kB / 483.2 MB, free: 4.223 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007495/0.1451, allocations: 481 kB / 483.6 MB, free: 3.719 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.1454, allocations: 0.7084 MB / 484.3 MB, free: 2.984 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.913e-05/0.1455, allocations: 16.86 kB / 484.4 MB, free: 2.965 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.123e-05/0.1455, allocations: 11.44 kB / 484.4 MB, free: 2.953 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1455, allocations: 0 / 484.4 MB, free: 2.953 MB / 398.1 MB Notification: Performance of Templates: time 0.004075/0.1496, allocations: 1.489 MB / 485.9 MB, free: 1.469 MB / 398.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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches