Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001478/0.001478, allocations: 112.5 kB / 17.04 MB, free: 6.078 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.001725/0.001726, allocations: 195 kB / 17.97 MB, free: 5.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.621/1.621, allocations: 205.1 MB / 223.8 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2254/0.2254, allocations: 43.52 MB / 314.7 MB, free: 484 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001494, allocations: 66.23 kB / 384.2 MB, free: 56.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1351, allocations: 57.79 MB / 442 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002677/0.1378, allocations: 1.65 MB / 443.6 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002789/0.1381, allocations: 115.6 kB / 443.7 MB, free: 4.398 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.555e-05/0.1382, allocations: 4 kB / 443.7 MB, free: 4.395 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.955e-05/0.1383, allocations: 15.86 kB / 443.7 MB, free: 4.379 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.1384, allocations: 35.64 kB / 443.8 MB, free: 4.344 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001559/0.1385, allocations: 27.97 kB / 443.8 MB, free: 4.316 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001325/0.1387, allocations: 127.4 kB / 443.9 MB, free: 4.191 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001672/0.1389, allocations: 37.05 kB / 444 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.486e-05/0.1389, allocations: 47.86 kB / 444 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.316e-05/0.139, allocations: 47.78 kB / 444.1 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.628e-05/0.1391, allocations: 8 kB / 444.1 MB, free: 4.051 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.039e-05/0.1391, allocations: 8 kB / 444.1 MB, free: 4.043 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.791e-05/0.1391, allocations: 23.92 kB / 444.1 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.225e-05/0.1392, allocations: 55.73 kB / 444.2 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.1394, allocations: 127.5 kB / 444.3 MB, free: 3.84 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.1394, allocations: 0 / 444.3 MB, free: 3.84 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.1394, allocations: 7.938 kB / 444.3 MB, free: 3.832 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.424e-05/0.1394, allocations: 0 / 444.3 MB, free: 3.832 MB / 318.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.0005041/0.1399, allocations: 411.3 kB / 444.7 MB, free: 3.375 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.1399, allocations: 15.89 kB / 444.7 MB, free: 3.359 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.048e-05/0.14, allocations: 8.844 kB / 444.7 MB, free: 3.352 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.1402, allocations: 200.1 kB / 444.9 MB, free: 3.117 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.1402, allocations: 8.609 kB / 444.9 MB, free: 3.109 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.723e-05/0.1402, allocations: 12.38 kB / 444.9 MB, free: 3.098 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.1404, allocations: 131 kB / 445.1 MB, free: 2.961 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.1405, allocations: 8.078 kB / 445.1 MB, free: 2.953 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.1405, allocations: 11.94 kB / 445.1 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.1405, allocations: 0 / 445.1 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.607e-05/0.1406, allocations: 59.91 kB / 445.1 MB, free: 2.883 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005963/0.1412, allocations: 0.5333 MB / 445.7 MB, free: 2.289 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.1413, allocations: 85.17 kB / 445.8 MB, free: 2.188 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.575e-05/0.1414, allocations: 33.8 kB / 445.8 MB, free: 2.148 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.1414, allocations: 3.938 kB / 445.8 MB, free: 2.145 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.1414, allocations: 38.56 kB / 445.8 MB, free: 2.098 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.1414, allocations: 0 / 445.8 MB, free: 2.098 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005035/0.1419, allocations: 305.7 kB / 446.1 MB, free: 1.75 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/0.142, allocations: 77.11 kB / 446.2 MB, free: 1.656 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.216e-05/0.1421, allocations: 121.8 kB / 446.3 MB, free: 1.527 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.146e-06/0.1421, allocations: 29.7 kB / 446.4 MB, free: 1.492 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.336e-05/0.1421, allocations: 123.6 kB / 446.5 MB, free: 1.367 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.736e-05/0.1421, allocations: 31.55 kB / 446.5 MB, free: 1.336 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.433e-05/0.1422, allocations: 25.72 kB / 446.5 MB, free: 1.305 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.396e-05/0.1422, allocations: 322.8 kB / 446.8 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.478e-05/0.1423, allocations: 27.98 kB / 446.9 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.098e-05/0.1423, allocations: 88.23 kB / 447 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.608e-05/0.1424, allocations: 128.4 kB / 447.1 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.1424, allocations: 4 kB / 447.1 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002224/0.1427, allocations: 159.3 kB / 447.2 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.1427, allocations: 11.94 kB / 447.3 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.1427, allocations: 3.938 kB / 447.3 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001661/0.1429, allocations: 41.58 kB / 447.3 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-05/0.143, allocations: 27.98 kB / 447.3 MB, free: 432 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001733/0.1447, allocations: 2.738 MB / 450.1 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.958e-05/0.1448, allocations: 11.91 kB / 450.1 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.1448, allocations: 4 kB / 450.1 MB, free: 13.39 MB / 334.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 9.769e-05/0.1449, allocations: 137.8 kB / 450.2 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.981e-05/0.145, allocations: 7.906 kB / 450.2 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.738e-05/0.145, allocations: 11.84 kB / 450.2 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.145, allocations: 4 kB / 450.2 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.145, allocations: 0 / 450.2 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.145, allocations: 3.984 kB / 450.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002548/0.1453, allocations: 201.6 kB / 450.4 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1453, allocations: 0 / 450.4 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.7e-05/0.1454, allocations: 19.98 kB / 450.5 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.255e-05/0.1455, allocations: 33.7 kB / 450.5 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.1455, allocations: 7.938 kB / 450.5 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001855/0.1474, allocations: 2.722 MB / 453.2 MB, free: 9.898 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1474, allocations: 0 / 453.2 MB, free: 9.898 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000287/0.1477, allocations: 304.4 kB / 453.5 MB, free: 9.578 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.302e-05/0.1477, allocations: 92.98 kB / 453.6 MB, free: 9.469 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.1477, allocations: 8 kB / 453.6 MB, free: 9.461 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.838e-05/0.1478, allocations: 0 / 453.6 MB, free: 9.461 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.572e-05/0.1479, allocations: 7.984 kB / 453.6 MB, free: 9.453 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.1479, allocations: 0 / 453.6 MB, free: 9.453 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.798e-05/0.148, allocations: 99.66 kB / 453.7 MB, free: 9.355 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.148, allocations: 0 / 453.7 MB, free: 9.355 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003506/0.1483, allocations: 39.91 kB / 453.8 MB, free: 9.316 MB / 334.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.0001096/0.1484, allocations: 99.17 kB / 453.9 MB, free: 9.207 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004642/0.1489, allocations: 301.5 kB / 454.1 MB, free: 8.887 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.1489, allocations: 4.438 kB / 454.2 MB, free: 8.883 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002403/0.1492, allocations: 261.3 kB / 454.4 MB, free: 8.602 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005024/0.1497, allocations: 31.92 kB / 454.4 MB, free: 8.57 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008007/0.1505, allocations: 468.9 kB / 454.9 MB, free: 8.082 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004079/0.1509, allocations: 0.7122 MB / 455.6 MB, free: 7.344 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.435e-05/0.151, allocations: 4.891 kB / 455.6 MB, free: 7.336 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.198e-05/0.151, allocations: 11.44 kB / 455.6 MB, free: 7.324 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.151, allocations: 4 kB / 455.6 MB, free: 7.32 MB / 334.1 MB Notification: Performance of Templates: time 0.004557/0.1556, allocations: 1.51 MB / 457.1 MB, free: 5.82 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches