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.001315/0.001315, allocations: 113.4 kB / 17.78 MB, free: 5.266 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.001381/0.001382, allocations: 188.9 kB / 18.71 MB, free: 4.344 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.483/1.483, allocations: 222.9 MB / 242.4 MB, free: 15.17 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.2427/0.2427, allocations: 44.18 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 59.91 kB / 470.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4516/0.4529, allocations: 60.83 MB / 0.5189 GB, free: 3.859 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004826/0.4578, allocations: 3.27 MB / 0.5221 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002466/0.4603, allocations: 0.8001 MB / 0.5229 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004286/0.4607, allocations: 10.75 kB / 0.5229 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003456/0.4611, allocations: 73.34 kB / 0.5229 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004629/0.4617, allocations: 172 kB / 0.5231 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003366/0.462, allocations: 110.6 kB / 0.5232 GB, free: 0.707 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007324/0.4628, allocations: 0.5933 MB / 0.5238 GB, free: 412 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003477/0.4631, allocations: 175.1 kB / 0.524 GB, free: 320 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002645/0.4634, allocations: 229.2 kB / 0.5242 GB, free: 216 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002853/0.4637, allocations: 238.3 kB / 0.5244 GB, free: 96 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.855e-05/0.4638, allocations: 42.97 kB / 0.5245 GB, free: 96 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.571e-05/0.4639, allocations: 44.53 kB / 0.5245 GB, free: 96 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.208e-05/0.464, allocations: 110.2 kB / 0.5246 GB, free: 16 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003293/0.4643, allocations: 264.2 kB / 0.5248 GB, free: 15.86 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008111/0.4651, allocations: 0.556 MB / 0.5254 GB, free: 15.64 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.4651, allocations: 0 / 0.5254 GB, free: 15.64 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4651, allocations: 0 / 0.5254 GB, free: 15.64 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.391e-05/0.4652, allocations: 0 / 0.5254 GB, free: 15.64 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.001183/0.4663, allocations: 0.7596 MB / 0.5261 GB, free: 15.06 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.4664, allocations: 10.03 kB / 0.5261 GB, free: 15.06 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.4665, allocations: 56.22 kB / 0.5262 GB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005088/0.467, allocations: 322.6 kB / 0.5265 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.972e-05/0.4671, allocations: 36.53 kB / 0.5265 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.884e-05/0.4672, allocations: 53.27 kB / 0.5266 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007484/0.4679, allocations: 441.4 kB / 0.527 GB, free: 14.45 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.502e-05/0.468, allocations: 12.03 kB / 0.527 GB, free: 14.45 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.769e-05/0.468, allocations: 16.12 kB / 0.527 GB, free: 14.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/0.468, allocations: 11 kB / 0.527 GB, free: 14.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005678/0.4686, allocations: 316.2 kB / 0.5274 GB, free: 14.29 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001937/0.4706, allocations: 1.138 MB / 0.5285 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008628/0.4714, allocations: 488.6 kB / 0.5289 GB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000314/0.4718, allocations: 215.1 kB / 0.5291 GB, free: 12.96 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.024e-05/0.4718, allocations: 10.44 kB / 0.5291 GB, free: 12.96 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/0.4718, allocations: 50.11 kB / 0.5292 GB, free: 12.91 MB / 398.1 MB Notification: Performance of pre-optimization done (n=62): time 1.963e-06/0.4719, allocations: 0 / 0.5292 GB, free: 12.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=74): time 0.003404/0.4753, allocations: 2.133 MB / 0.5313 GB, free: 11.34 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001533/0.4754, allocations: 86.36 kB / 0.5314 GB, free: 11.25 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003008/0.4757, allocations: 250.8 kB / 0.5316 GB, free: 11.08 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.327e-05/0.4758, allocations: 36.89 kB / 0.5316 GB, free: 11.04 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002019/0.476, allocations: 215.6 kB / 0.5318 GB, free: 10.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002248/0.4762, allocations: 267.1 kB / 0.5321 GB, free: 10.61 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002024/0.4765, allocations: 126.8 kB / 0.5322 GB, free: 10.53 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002148/0.4767, allocations: 361.1 kB / 0.5326 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002974/0.477, allocations: 158.9 kB / 0.5327 GB, free: 10.11 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004049/0.4774, allocations: 277.5 kB / 0.533 GB, free: 9.906 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008201/0.4782, allocations: 478.3 kB / 0.5334 GB, free: 9.602 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4782, allocations: 0 / 0.5334 GB, free: 9.602 MB / 398.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001001/0.4792, allocations: 0.564 MB / 0.534 GB, free: 9.328 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.4793, allocations: 9.656 kB / 0.534 GB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.4793, allocations: 3.438 kB / 0.534 GB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.655e-05/0.4793, allocations: 5.656 kB / 0.534 GB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000618/0.4799, allocations: 176.4 kB / 0.5342 GB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.427e-05/0.48, allocations: 10.48 kB / 0.5342 GB, free: 9.285 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002914/0.4803, allocations: 22.16 kB / 0.5342 GB, free: 9.273 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.567e-05/0.4803, allocations: 30.41 kB / 0.5342 GB, free: 9.262 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.0003109/0.4807, allocations: 183.4 kB / 0.5344 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.4808, allocations: 47.38 kB / 0.5344 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001295/0.4809, allocations: 54.02 kB / 0.5345 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.4809, allocations: 7.625 kB / 0.5345 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2e-05/0.4809, allocations: 1.438 kB / 0.5345 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.481, allocations: 3.984 kB / 0.5345 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002392/0.4834, allocations: 1.451 MB / 0.5359 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.4834, allocations: 2.688 kB / 0.5359 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006383/0.484, allocations: 154.4 kB / 0.5361 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.219e-05/0.484, allocations: 5.75 kB / 0.5361 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.718e-05/0.4841, allocations: 27.23 kB / 0.5361 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-05/0.4841, allocations: 9.281 kB / 0.5361 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.4841, allocations: 3.406 kB / 0.5361 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001395/0.4855, allocations: 0.9069 MB / 0.537 GB, free: 7.234 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002381/0.4858, allocations: 122.1 kB / 0.5371 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.268e-05/0.4859, allocations: 24.5 kB / 0.5371 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002642/0.4861, allocations: 18.78 kB / 0.5372 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.119e-05/0.4862, allocations: 51.12 kB / 0.5372 GB, free: 7.051 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.693e-05/0.4863, allocations: 19.38 kB / 0.5372 GB, free: 7.047 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00019/0.4864, allocations: 189.5 kB / 0.5374 GB, free: 6.914 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4865, allocations: 3.938 kB / 0.5374 GB, free: 6.91 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006217/0.4871, allocations: 143.4 kB / 0.5376 GB, free: 6.891 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.0001582/0.4872, allocations: 120.3 kB / 0.5377 GB, free: 6.781 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008195/0.4881, allocations: 466 kB / 0.5381 GB, free: 6.602 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.4881, allocations: 0 / 0.5381 GB, free: 6.602 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003599/0.4884, allocations: 239.9 kB / 0.5383 GB, free: 6.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009049/0.4894, allocations: 128.5 kB / 0.5385 GB, free: 6.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002806/0.4922, allocations: 1.64 MB / 0.5401 GB, free: 5.168 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005365/0.4927, allocations: 0.8468 MB / 0.5409 GB, free: 4.41 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002354/0.493, allocations: 63.09 kB / 0.541 GB, free: 4.375 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.4931, allocations: 42.25 kB / 0.541 GB, free: 4.367 MB / 398.1 MB Notification: Performance of SimCode: time 8.22e-07/0.4931, allocations: 0 / 0.541 GB, free: 4.367 MB / 398.1 MB Notification: Performance of Templates: time 0.01094/0.504, allocations: 5.56 MB / 0.5464 GB, free: 15.29 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