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.001144/0.001144, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.001096/0.001096, allocations: 179.1 kB / 18.71 MB, free: 4.363 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.436/1.436, allocations: 222.9 MB / 242.4 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.2161/0.2161, allocations: 44.18 MB / 336.7 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 63.89 kB / 470.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3672, allocations: 60.82 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.00374/0.371, allocations: 3.272 MB / 0.5221 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.3723, allocations: 0.8042 MB / 0.5229 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002011/0.3725, allocations: 11.69 kB / 0.5229 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002235/0.3727, allocations: 72.83 kB / 0.523 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002945/0.373, allocations: 168.4 kB / 0.5231 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002733/0.3733, allocations: 106.2 kB / 0.5232 GB, free: 476 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006535/0.374, allocations: 0.5964 MB / 0.5238 GB, free: 160 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003352/0.3743, allocations: 168.3 kB / 0.524 GB, free: 72 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002626/0.3746, allocations: 218.6 kB / 0.5242 GB, free: 15.97 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002973/0.3749, allocations: 243.4 kB / 0.5244 GB, free: 15.85 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.31e-05/0.375, allocations: 46.41 kB / 0.5244 GB, free: 15.85 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.171e-05/0.3751, allocations: 44.09 kB / 0.5245 GB, free: 15.85 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.14e-05/0.3751, allocations: 102.5 kB / 0.5246 GB, free: 15.78 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002339/0.3754, allocations: 262.8 kB / 0.5248 GB, free: 15.63 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006492/0.376, allocations: 0.5674 MB / 0.5254 GB, free: 15.4 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3761, allocations: 0.6094 kB / 0.5254 GB, free: 15.4 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3761, allocations: 0 / 0.5254 GB, free: 15.4 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.326e-06/0.3761, allocations: 0 / 0.5254 GB, free: 15.4 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.001037/0.3771, allocations: 0.7731 MB / 0.5261 GB, free: 14.8 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.3772, allocations: 10.23 kB / 0.5262 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.616e-05/0.3773, allocations: 56.11 kB / 0.5262 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000423/0.3777, allocations: 323.6 kB / 0.5265 GB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/0.3777, allocations: 36.62 kB / 0.5265 GB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.82e-05/0.3778, allocations: 53.55 kB / 0.5266 GB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007193/0.3785, allocations: 436.9 kB / 0.527 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.318e-05/0.3786, allocations: 22.83 kB / 0.527 GB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.669e-05/0.3786, allocations: 20.94 kB / 0.5271 GB, free: 14.22 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.3786, allocations: 11.16 kB / 0.5271 GB, free: 14.22 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004884/0.3791, allocations: 315.5 kB / 0.5274 GB, free: 14.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001599/0.3807, allocations: 1.135 MB / 0.5285 GB, free: 13.17 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007224/0.3815, allocations: 492.3 kB / 0.5289 GB, free: 12.86 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002987/0.3818, allocations: 217.7 kB / 0.5292 GB, free: 12.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.3818, allocations: 7.188 kB / 0.5292 GB, free: 12.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.3818, allocations: 50.31 kB / 0.5292 GB, free: 12.69 MB / 398.1 MB Notification: Performance of pre-optimization done (n=62): time 2.325e-06/0.3819, allocations: 0 / 0.5292 GB, free: 12.69 MB / 398.1 MB Notification: Performance of matching and sorting (n=74): time 0.003056/0.3849, allocations: 2.154 MB / 0.5313 GB, free: 11.11 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/0.385, allocations: 84.58 kB / 0.5314 GB, free: 11.02 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002759/0.3853, allocations: 251.6 kB / 0.5316 GB, free: 10.84 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.222e-05/0.3853, allocations: 40.8 kB / 0.5317 GB, free: 10.8 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.3855, allocations: 211.7 kB / 0.5319 GB, free: 10.61 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001751/0.3856, allocations: 277.2 kB / 0.5321 GB, free: 10.37 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.3858, allocations: 118.4 kB / 0.5323 GB, free: 10.29 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.386, allocations: 365.6 kB / 0.5326 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002576/0.3862, allocations: 154.3 kB / 0.5327 GB, free: 9.871 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003359/0.3866, allocations: 274.2 kB / 0.533 GB, free: 9.676 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006031/0.3872, allocations: 483 kB / 0.5335 GB, free: 9.367 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3872, allocations: 0 / 0.5335 GB, free: 9.367 MB / 398.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0009033/0.3881, allocations: 0.5636 MB / 0.534 GB, free: 9.094 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.3881, allocations: 6.625 kB / 0.534 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.3881, allocations: 2.75 kB / 0.534 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.3882, allocations: 10.44 kB / 0.534 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005746/0.3888, allocations: 185.2 kB / 0.5342 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.604e-05/0.3888, allocations: 5.375 kB / 0.5342 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002585/0.389, allocations: 21.81 kB / 0.5342 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.983e-05/0.3891, allocations: 27.59 kB / 0.5343 GB, free: 9.027 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.0002426/0.3893, allocations: 187.2 kB / 0.5344 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.737e-05/0.3894, allocations: 46.44 kB / 0.5345 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001201/0.3896, allocations: 58.98 kB / 0.5345 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.918e-06/0.3896, allocations: 8.219 kB / 0.5346 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.534e-05/0.3896, allocations: 0 / 0.5346 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.3896, allocations: 5.328 kB / 0.5346 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002138/0.3918, allocations: 1.446 MB / 0.536 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.3918, allocations: 4.438 kB / 0.536 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005908/0.3924, allocations: 164.7 kB / 0.5361 GB, free: 7.617 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.053e-05/0.3924, allocations: 5.656 kB / 0.5361 GB, free: 7.617 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.025e-05/0.3924, allocations: 20 kB / 0.5362 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.145e-05/0.3925, allocations: 13.56 kB / 0.5362 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.3925, allocations: 3.281 kB / 0.5362 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.3936, allocations: 0.9142 MB / 0.5371 GB, free: 6.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.3937, allocations: 114.6 kB / 0.5372 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.27e-05/0.3938, allocations: 23.91 kB / 0.5372 GB, free: 6.848 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002598/0.3941, allocations: 20.06 kB / 0.5372 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.436e-05/0.3941, allocations: 54.92 kB / 0.5373 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.123e-05/0.3942, allocations: 19.5 kB / 0.5373 GB, free: 6.797 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000175/0.3944, allocations: 184.8 kB / 0.5375 GB, free: 6.668 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3944, allocations: 0 / 0.5375 GB, free: 6.668 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005453/0.3949, allocations: 147.2 kB / 0.5376 GB, free: 6.645 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * 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 (74): * Single equations (assignments): 74 * 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 Backend phase and start with SimCode phase: time 0.0001379/0.3951, allocations: 130 kB / 0.5377 GB, free: 6.527 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006924/0.3958, allocations: 453.7 kB / 0.5382 GB, free: 6.359 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.3958, allocations: 4.125 kB / 0.5382 GB, free: 6.355 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003523/0.3962, allocations: 239.1 kB / 0.5384 GB, free: 6.254 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008155/0.397, allocations: 128.7 kB / 0.5385 GB, free: 6.184 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002502/0.3995, allocations: 1.664 MB / 0.5401 GB, free: 4.895 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004743/0.4, allocations: 0.8461 MB / 0.541 GB, free: 4.137 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002507/0.4002, allocations: 60.5 kB / 0.541 GB, free: 4.105 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.4004, allocations: 41.44 kB / 0.5411 GB, free: 4.098 MB / 398.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4004, allocations: 0 / 0.5411 GB, free: 4.098 MB / 398.1 MB Notification: Performance of Templates: time 0.01101/0.4114, allocations: 5.419 MB / 0.5464 GB, free: 15.23 MB / 414.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins/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