Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001576/0.001583, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.379/1.379, allocations: 205.1 MB / 222.5 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001103/0.001103, allocations: 94.31 kB / 269.9 MB, free: 8.441 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3827/0.3827, allocations: 43.49 MB / 360.7 MB, free: 51.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001005/0.001005, allocations: 47.92 kB / 429.2 MB, free: 6.398 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1267, allocations: 57.78 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.00428/0.131, allocations: 2.873 MB / 489.9 MB, free: 9.645 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.1325, allocations: 0.7526 MB / 490.6 MB, free: 8.883 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003246/0.1328, allocations: 8 kB / 490.6 MB, free: 8.875 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002775/0.1331, allocations: 47.62 kB / 490.7 MB, free: 8.828 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003571/0.1335, allocations: 99.16 kB / 490.8 MB, free: 8.73 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003162/0.1338, allocations: 87.86 kB / 490.9 MB, free: 8.645 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005262/0.1344, allocations: 426.4 kB / 491.3 MB, free: 8.223 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002988/0.1347, allocations: 167 kB / 491.5 MB, free: 8.055 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002701/0.135, allocations: 163.3 kB / 491.6 MB, free: 7.895 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002346/0.1352, allocations: 183.2 kB / 491.8 MB, free: 7.715 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.856e-05/0.1353, allocations: 24 kB / 491.8 MB, free: 7.691 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.596e-05/0.1353, allocations: 24 kB / 491.8 MB, free: 7.668 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.456e-05/0.1354, allocations: 75.62 kB / 491.9 MB, free: 7.594 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001662/0.1356, allocations: 198.9 kB / 492.1 MB, free: 7.398 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003622/0.1359, allocations: 422.7 kB / 492.5 MB, free: 6.984 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.1359, allocations: 0 / 492.5 MB, free: 6.984 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.136, allocations: 0 / 492.5 MB, free: 6.984 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.906e-06/0.136, allocations: 0 / 492.5 MB, free: 6.984 MB / 378.7 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.0009019/0.1369, allocations: 0.6707 MB / 493.2 MB, free: 6.266 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.1369, allocations: 8.031 kB / 493.2 MB, free: 6.258 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.669e-05/0.137, allocations: 44.38 kB / 493.2 MB, free: 6.215 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002919/0.1373, allocations: 284.6 kB / 493.5 MB, free: 5.898 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.1373, allocations: 29.38 kB / 493.5 MB, free: 5.871 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.64e-05/0.1374, allocations: 44.28 kB / 493.6 MB, free: 5.828 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00057/0.138, allocations: 389.3 kB / 494 MB, free: 5.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.138, allocations: 0 / 494 MB, free: 5.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.936e-05/0.138, allocations: 16 kB / 494 MB, free: 5.414 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.1381, allocations: 15.94 kB / 494 MB, free: 5.398 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004491/0.1385, allocations: 251.8 kB / 494.2 MB, free: 5.152 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001445/0.14, allocations: 1.109 MB / 495.4 MB, free: 3.984 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00049/0.1405, allocations: 347.5 kB / 495.7 MB, free: 3.617 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002693/0.1408, allocations: 178.4 kB / 495.9 MB, free: 3.434 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.1408, allocations: 4 kB / 495.9 MB, free: 3.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.1408, allocations: 42.55 kB / 495.9 MB, free: 3.379 MB / 378.7 MB Notification: Performance of pre-optimization done (n=39): time 2.053e-06/0.1408, allocations: 0 / 495.9 MB, free: 3.379 MB / 378.7 MB Notification: Performance of matching and sorting (n=57): time 0.003468/0.1443, allocations: 2.446 MB / 498.4 MB, free: 0.668 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.578e-05/0.1444, allocations: 110.8 kB / 498.5 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002148/0.1446, allocations: 238.6 kB / 498.7 MB, free: 300 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.1447, allocations: 33.7 kB / 498.7 MB, free: 260 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.1448, allocations: 184.6 kB / 498.9 MB, free: 72 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001496/0.1449, allocations: 201 kB / 499.1 MB, free: 15.87 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.1451, allocations: 90.16 kB / 499.2 MB, free: 15.78 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1452, allocations: 354.7 kB / 499.5 MB, free: 15.42 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002424/0.1455, allocations: 129.1 kB / 499.7 MB, free: 15.3 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003059/0.1458, allocations: 223.8 kB / 499.9 MB, free: 15.04 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005737/0.1464, allocations: 405.9 kB / 0.4886 GB, free: 14.61 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1464, allocations: 0 / 0.4886 GB, free: 14.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009298/0.1473, allocations: 0.5579 MB / 0.4891 GB, free: 14.04 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.1473, allocations: 7.938 kB / 0.4891 GB, free: 14.03 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.1474, allocations: 4 kB / 0.4891 GB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003492/0.1477, allocations: 126.6 kB / 0.4892 GB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003594/0.1481, allocations: 99.81 kB / 0.4893 GB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003691/0.1518, allocations: 4.687 MB / 0.4939 GB, free: 8.707 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002305/0.152, allocations: 20.03 kB / 0.4939 GB, free: 8.688 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.339e-05/0.1521, allocations: 23.98 kB / 0.494 GB, free: 8.664 MB / 394.7 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.000243/0.1523, allocations: 165.7 kB / 0.4941 GB, free: 8.492 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.1524, allocations: 43.53 kB / 0.4942 GB, free: 8.449 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.89e-05/0.1526, allocations: 46.17 kB / 0.4942 GB, free: 8.402 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.1526, allocations: 8 kB / 0.4942 GB, free: 8.395 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.041e-05/0.1526, allocations: 0 / 0.4942 GB, free: 8.395 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.1526, allocations: 7.984 kB / 0.4942 GB, free: 8.387 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00195/0.1546, allocations: 1.327 MB / 0.4955 GB, free: 6.984 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.1546, allocations: 0 / 0.4955 GB, free: 6.984 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000396/0.155, allocations: 103.8 kB / 0.4956 GB, free: 6.883 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002899/0.1553, allocations: 94.61 kB / 0.4957 GB, free: 6.781 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.723e-05/0.1554, allocations: 12 kB / 0.4957 GB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002958/0.1583, allocations: 4.119 MB / 0.4997 GB, free: 2.242 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.1583, allocations: 3.938 kB / 0.4997 GB, free: 2.238 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2131/0.3715, allocations: 7.208 MB / 0.5068 GB, free: 54.28 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.47e-05/0.3716, allocations: 115.5 kB / 0.5069 GB, free: 54.18 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.846e-05/0.3717, allocations: 8.781 kB / 0.5069 GB, free: 54.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003034/0.372, allocations: 17.38 kB / 0.5069 GB, free: 54.18 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.3721, allocations: 51.23 kB / 0.507 GB, free: 54.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.788e-05/0.3722, allocations: 15.78 kB / 0.507 GB, free: 54.18 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001557/0.3723, allocations: 174.9 kB / 0.5071 GB, free: 54.11 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3723, allocations: 0 / 0.5071 GB, free: 54.11 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008993/0.3732, allocations: 155.8 kB / 0.5073 GB, free: 54.11 MB / 394.7 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.0001271/0.3734, allocations: 112.4 kB / 0.5074 GB, free: 54.02 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001151/0.3745, allocations: 0.7749 MB / 0.5082 GB, free: 53.68 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3745, allocations: 1.062 kB / 0.5082 GB, free: 53.68 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000677/0.3752, allocations: 0.573 MB / 0.5087 GB, free: 53.35 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006739/0.3759, allocations: 56.97 kB / 0.5088 GB, free: 53.35 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002228/0.3781, allocations: 1.978 MB / 0.5107 GB, free: 52.19 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.3785, allocations: 0.8362 MB / 0.5115 GB, free: 51.49 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001487/0.3786, allocations: 31.17 kB / 0.5115 GB, free: 51.49 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.199e-05/0.3787, allocations: 30.7 kB / 0.5116 GB, free: 51.48 MB / 394.7 MB Notification: Performance of SimCode: time 4.01e-07/0.3787, allocations: 4 kB / 0.5116 GB, free: 51.48 MB / 394.7 MB Notification: Performance of Templates: time 0.009429/0.3882, allocations: 5.264 MB / 0.5167 GB, free: 51.21 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches