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.001342/0.001342, allocations: 111.7 kB / 18.46 MB, free: 4.594 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.001478/0.001478, allocations: 182.1 kB / 19.38 MB, free: 3.68 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.449/1.449, allocations: 222.9 MB / 243.1 MB, free: 15.08 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.2372/0.2372, allocations: 44.18 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 59.91 kB / 471.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.435/0.4365, allocations: 60.82 MB / 0.5196 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.00266/0.4392, allocations: 1.651 MB / 0.5212 GB, free: 2.438 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002528/0.4395, allocations: 113.5 kB / 0.5213 GB, free: 2.352 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.965e-05/0.4396, allocations: 2.344 kB / 0.5213 GB, free: 2.352 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.867e-05/0.4396, allocations: 16.58 kB / 0.5213 GB, free: 2.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.4397, allocations: 34.2 kB / 0.5213 GB, free: 2.316 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001219/0.4399, allocations: 29.7 kB / 0.5214 GB, free: 2.297 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.44, allocations: 129.9 kB / 0.5215 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001545/0.4402, allocations: 32.59 kB / 0.5215 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.95e-05/0.4403, allocations: 50.36 kB / 0.5216 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.198e-05/0.4404, allocations: 55.44 kB / 0.5216 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.4404, allocations: 10 kB / 0.5216 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.837e-05/0.4404, allocations: 12.97 kB / 0.5216 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.707e-05/0.4405, allocations: 18.61 kB / 0.5216 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.517e-05/0.4405, allocations: 56.25 kB / 0.5217 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.4407, allocations: 125.1 kB / 0.5218 GB, free: 2.066 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4407, allocations: 1.562 kB / 0.5218 GB, free: 2.066 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.4407, allocations: 0 / 0.5218 GB, free: 2.066 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.4407, allocations: 4 kB / 0.5218 GB, free: 2.062 MB / 382.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.0004918/0.4412, allocations: 402.5 kB / 0.5222 GB, free: 1.664 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.4413, allocations: 13.25 kB / 0.5222 GB, free: 1.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.408e-05/0.4413, allocations: 15.02 kB / 0.5222 GB, free: 1.652 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.4415, allocations: 192.7 kB / 0.5224 GB, free: 1.441 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.4415, allocations: 9.906 kB / 0.5224 GB, free: 1.438 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.922e-05/0.4416, allocations: 20.12 kB / 0.5224 GB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002239/0.4418, allocations: 131.7 kB / 0.5226 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.4418, allocations: 1.312 kB / 0.5226 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.4418, allocations: 10.31 kB / 0.5226 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.4419, allocations: 2.844 kB / 0.5226 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.442, allocations: 57.22 kB / 0.5226 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006583/0.4426, allocations: 0.5472 MB / 0.5232 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.4428, allocations: 85.84 kB / 0.5233 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.842e-05/0.4428, allocations: 25.66 kB / 0.5233 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.4428, allocations: 5.641 kB / 0.5233 GB, free: 0.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.661e-05/0.4429, allocations: 41.28 kB / 0.5233 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.4429, allocations: 0 / 0.5233 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005305/0.4434, allocations: 301.3 kB / 0.5236 GB, free: 448 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.318e-05/0.4434, allocations: 82.17 kB / 0.5237 GB, free: 348 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.05e-05/0.4435, allocations: 123 kB / 0.5238 GB, free: 236 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.307e-06/0.4435, allocations: 29.7 kB / 0.5238 GB, free: 200 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.316e-05/0.4436, allocations: 118.2 kB / 0.524 GB, free: 88 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.4436, allocations: 35.81 kB / 0.524 GB, free: 60 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.091e-05/0.4437, allocations: 31.84 kB / 0.524 GB, free: 32 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.4438, allocations: 319.9 kB / 0.5243 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.772e-05/0.4439, allocations: 23.08 kB / 0.5243 GB, free: 15.71 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.662e-05/0.444, allocations: 94.98 kB / 0.5244 GB, free: 15.61 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.4442, allocations: 119.6 kB / 0.5245 GB, free: 15.5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.4442, allocations: 1.188 kB / 0.5245 GB, free: 15.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003323/0.4445, allocations: 167.9 kB / 0.5247 GB, free: 15.4 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.4445, allocations: 10.33 kB / 0.5247 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.4446, allocations: 2.156 kB / 0.5247 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002453/0.4448, allocations: 39.36 kB / 0.5248 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.4449, allocations: 24.28 kB / 0.5248 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002356/0.4473, allocations: 2.74 MB / 0.5275 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.347e-05/0.4474, allocations: 10.78 kB / 0.5275 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.4474, allocations: 11.2 kB / 0.5275 GB, free: 12.54 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.0001475/0.4476, allocations: 128.5 kB / 0.5276 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.047e-05/0.4476, allocations: 8.234 kB / 0.5276 GB, free: 12.4 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.395e-05/0.4476, allocations: 15.47 kB / 0.5276 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.4477, allocations: 0.75 kB / 0.5276 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.4477, allocations: 1.531 kB / 0.5276 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.254e-05/0.4477, allocations: 87.88 kB / 0.5277 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.65e-05/0.4478, allocations: 5.312 kB / 0.5277 GB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.698e-05/0.4479, allocations: 1.469 kB / 0.5277 GB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.174e-05/0.4479, allocations: 11.75 kB / 0.5277 GB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004452/0.4484, allocations: 286.4 kB / 0.528 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000373/0.4487, allocations: 366.3 kB / 0.5284 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.302e-05/0.4488, allocations: 22.52 kB / 0.5284 GB, free: 11.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.77e-05/0.4489, allocations: 92.31 kB / 0.5285 GB, free: 11.65 MB / 398.1 MB Notification: Performance of Backend: time 2.51e-07/0.4489, allocations: 0 / 0.5285 GB, free: 11.65 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009556/0.4499, allocations: 369.8 kB / 0.5288 GB, free: 11.33 MB / 398.1 MB Notification: Performance of SimCode: time 0.001327/0.4512, allocations: 0.9547 MB / 0.5297 GB, free: 10.47 MB / 398.1 MB Notification: Performance of Templates: time 0.005359/0.4566, allocations: 1.427 MB / 0.5311 GB, free: 10.12 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 -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