Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper") translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 113.9 kB / 18.46 MB, free: 4.617 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.00118/0.00118, allocations: 186.1 kB / 19.39 MB, free: 3.695 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.396/1.396, allocations: 222.9 MB / 243.1 MB, free: 15.1 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.2193/0.2193, allocations: 44.19 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 67.91 kB / 471.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3723/0.3736, allocations: 60.82 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004131/0.3778, allocations: 3.281 MB / 0.5228 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001279/0.3791, allocations: 0.8003 MB / 0.5235 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002018/0.3793, allocations: 12.16 kB / 0.5236 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002475/0.3796, allocations: 75.81 kB / 0.5236 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003782/0.38, allocations: 177.8 kB / 0.5238 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002771/0.3803, allocations: 107.8 kB / 0.5239 GB, free: 452 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005701/0.3808, allocations: 0.5887 MB / 0.5245 GB, free: 144 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003072/0.3812, allocations: 167.7 kB / 0.5246 GB, free: 60 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003008/0.3815, allocations: 232.6 kB / 0.5249 GB, free: 15.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004459/0.3819, allocations: 242.4 kB / 0.5251 GB, free: 15.83 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.212e-05/0.382, allocations: 42.62 kB / 0.5251 GB, free: 15.83 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.167e-05/0.3821, allocations: 45.53 kB / 0.5252 GB, free: 15.83 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.3822, allocations: 106.4 kB / 0.5253 GB, free: 15.76 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002777/0.3825, allocations: 266.4 kB / 0.5255 GB, free: 15.61 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006751/0.3832, allocations: 0.5563 MB / 0.5261 GB, free: 15.38 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3832, allocations: 0 / 0.5261 GB, free: 15.38 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.887e-06/0.3832, allocations: 1.156 kB / 0.5261 GB, free: 15.38 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.3832, allocations: 0 / 0.5261 GB, free: 15.38 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001325/0.3845, allocations: 0.7512 MB / 0.5268 GB, free: 14.8 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.3846, allocations: 9.094 kB / 0.5268 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/0.3847, allocations: 56.55 kB / 0.5269 GB, free: 14.78 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005367/0.3853, allocations: 326.7 kB / 0.5272 GB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.655e-05/0.3853, allocations: 36.23 kB / 0.5272 GB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.02e-05/0.3854, allocations: 54.12 kB / 0.5273 GB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007614/0.3862, allocations: 439.7 kB / 0.5277 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.192e-05/0.3862, allocations: 11.36 kB / 0.5277 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.98e-05/0.3863, allocations: 20.84 kB / 0.5277 GB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.3863, allocations: 12.25 kB / 0.5277 GB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005014/0.3868, allocations: 313.9 kB / 0.528 GB, free: 14.1 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001817/0.3886, allocations: 1.138 MB / 0.5291 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009161/0.3895, allocations: 0.492 MB / 0.5296 GB, free: 12.87 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003043/0.3898, allocations: 214.2 kB / 0.5298 GB, free: 12.76 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.3899, allocations: 6.719 kB / 0.5298 GB, free: 12.76 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.3899, allocations: 38.66 kB / 0.5299 GB, free: 12.72 MB / 398.1 MB Notification: Performance of pre-optimization done (n=62): time 2.184e-06/0.3899, allocations: 0 / 0.5299 GB, free: 12.72 MB / 398.1 MB Notification: Performance of matching and sorting (n=74): time 0.003194/0.3931, allocations: 2.136 MB / 0.5319 GB, free: 11.15 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.3932, allocations: 86.14 kB / 0.532 GB, free: 11.06 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002533/0.3934, allocations: 251.3 kB / 0.5323 GB, free: 10.89 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.569e-05/0.3935, allocations: 44.64 kB / 0.5323 GB, free: 10.84 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.3936, allocations: 211.8 kB / 0.5325 GB, free: 10.65 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/0.3938, allocations: 266.4 kB / 0.5328 GB, free: 10.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002732/0.3941, allocations: 127.6 kB / 0.5329 GB, free: 10.33 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002927/0.3944, allocations: 356.4 kB / 0.5332 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002864/0.3947, allocations: 158.6 kB / 0.5334 GB, free: 9.914 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003863/0.3951, allocations: 277.6 kB / 0.5336 GB, free: 9.715 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007603/0.3958, allocations: 474.2 kB / 0.5341 GB, free: 9.414 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.3959, allocations: 1.344 kB / 0.5341 GB, free: 9.414 MB / 398.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0009336/0.3968, allocations: 0.5676 MB / 0.5347 GB, free: 9.137 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.767e-05/0.3968, allocations: 5.938 kB / 0.5347 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.3969, allocations: 3.312 kB / 0.5347 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.101e-05/0.3969, allocations: 9.703 kB / 0.5347 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000646/0.3975, allocations: 176.1 kB / 0.5348 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.98e-05/0.3976, allocations: 11.12 kB / 0.5349 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003553/0.3979, allocations: 29.3 kB / 0.5349 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.19e-05/0.398, allocations: 23.56 kB / 0.5349 GB, free: 9.07 MB / 398.1 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 (97): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002574/0.3983, allocations: 182.9 kB / 0.5351 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.888e-05/0.3984, allocations: 43.38 kB / 0.5351 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001343/0.3985, allocations: 54.48 kB / 0.5352 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.3985, allocations: 7.922 kB / 0.5352 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3985, allocations: 1.406 kB / 0.5352 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001944/0.3987, allocations: 120.2 kB / 0.5353 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.44e-05/0.3988, allocations: 24.53 kB / 0.5353 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002624/0.3991, allocations: 20.42 kB / 0.5353 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.437e-05/0.3992, allocations: 36.77 kB / 0.5354 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001239/0.4004, allocations: 0.7139 MB / 0.5361 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001138/0.4016, allocations: 0.932 MB / 0.537 GB, free: 7.59 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003172/0.4019, allocations: 207 kB / 0.5372 GB, free: 7.484 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000181/0.4021, allocations: 177 kB / 0.5373 GB, free: 7.359 MB / 398.1 MB Notification: Performance of Backend: time 6.71e-07/0.4021, allocations: 0 / 0.5373 GB, free: 7.359 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001031/0.4031, allocations: 392 kB / 0.5377 GB, free: 7.16 MB / 398.1 MB Notification: Performance of SimCode: time 0.002724/0.4059, allocations: 1.991 MB / 0.5397 GB, free: 5.531 MB / 398.1 MB Notification: Performance of Templates: time 0.01252/0.4184, allocations: 6.108 MB / 0.5456 GB, free: 0.8672 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches