Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00118/0.00118, allocations: 118.1 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00147/0.00147, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2278/0.2278, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 79.88 kB / 481.3 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4146/0.4161, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004206/0.4204, allocations: 3.294 MB / 0.5342 GB, free: 11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001491/0.4219, allocations: 0.826 MB / 0.535 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001854/0.4221, allocations: 12.19 kB / 0.535 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002097/0.4223, allocations: 78.05 kB / 0.5351 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002941/0.4226, allocations: 183.1 kB / 0.5353 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002287/0.4229, allocations: 109.4 kB / 0.5354 GB, free: 9.977 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005224/0.4234, allocations: 0.5967 MB / 0.5359 GB, free: 9.613 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003084/0.4237, allocations: 176 kB / 0.5361 GB, free: 9.512 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002814/0.424, allocations: 224.4 kB / 0.5363 GB, free: 9.391 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003316/0.4243, allocations: 240.9 kB / 0.5366 GB, free: 9.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.47e-05/0.4244, allocations: 42.06 kB / 0.5366 GB, free: 9.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.706e-05/0.4245, allocations: 47.97 kB / 0.5366 GB, free: 9.227 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.4247, allocations: 101.9 kB / 0.5367 GB, free: 9.141 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002794/0.4249, allocations: 271.3 kB / 0.537 GB, free: 8.969 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007175/0.4257, allocations: 0.5606 MB / 0.5375 GB, free: 8.562 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.4257, allocations: 1.125 kB / 0.5375 GB, free: 8.562 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.4257, allocations: 0 / 0.5375 GB, free: 8.562 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.301e-05/0.4257, allocations: 0 / 0.5375 GB, free: 8.562 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.001381/0.4271, allocations: 0.7516 MB / 0.5383 GB, free: 7.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/0.4272, allocations: 9.75 kB / 0.5383 GB, free: 7.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.4273, allocations: 51.94 kB / 0.5383 GB, free: 7.906 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005997/0.4279, allocations: 323.6 kB / 0.5386 GB, free: 7.594 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.022e-05/0.428, allocations: 35.94 kB / 0.5387 GB, free: 7.578 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.4281, allocations: 56.72 kB / 0.5387 GB, free: 7.555 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000861/0.4289, allocations: 445.2 kB / 0.5392 GB, free: 7.277 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.219e-05/0.429, allocations: 10.62 kB / 0.5392 GB, free: 7.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.778e-05/0.429, allocations: 24.09 kB / 0.5392 GB, free: 7.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/0.4291, allocations: 11 kB / 0.5392 GB, free: 7.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005255/0.4296, allocations: 312.2 kB / 0.5395 GB, free: 7.109 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001643/0.4312, allocations: 1.143 MB / 0.5406 GB, free: 6.199 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000818/0.4321, allocations: 481 kB / 0.5411 GB, free: 5.898 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003293/0.4324, allocations: 218.2 kB / 0.5413 GB, free: 5.785 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.4324, allocations: 10.22 kB / 0.5413 GB, free: 5.781 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.4325, allocations: 38.47 kB / 0.5413 GB, free: 5.738 MB / 398.1 MB Notification: Performance of pre-optimization done (n=62): time 2.014e-06/0.4325, allocations: 0 / 0.5413 GB, free: 5.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=74): time 0.003053/0.4355, allocations: 2.135 MB / 0.5434 GB, free: 4.184 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.4356, allocations: 86.11 kB / 0.5435 GB, free: 4.09 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002787/0.4359, allocations: 259.6 kB / 0.5437 GB, free: 3.906 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/0.4359, allocations: 36.14 kB / 0.5438 GB, free: 3.867 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.4361, allocations: 216.2 kB / 0.544 GB, free: 3.672 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001942/0.4363, allocations: 270 kB / 0.5442 GB, free: 3.434 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001642/0.4365, allocations: 119.6 kB / 0.5444 GB, free: 3.359 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.4366, allocations: 361.1 kB / 0.5447 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002697/0.4369, allocations: 155.4 kB / 0.5449 GB, free: 2.941 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003603/0.4373, allocations: 280.3 kB / 0.5451 GB, free: 2.738 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000619/0.4379, allocations: 473.8 kB / 0.5456 GB, free: 2.281 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4379, allocations: 3.938 kB / 0.5456 GB, free: 2.277 MB / 398.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008135/0.4387, allocations: 0.5748 MB / 0.5461 GB, free: 1.695 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.4388, allocations: 8 kB / 0.5461 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.4388, allocations: 0 / 0.5461 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.469e-05/0.4388, allocations: 8 kB / 0.5462 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005878/0.4394, allocations: 175.8 kB / 0.5463 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.467e-05/0.4394, allocations: 11.94 kB / 0.5463 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002773/0.4397, allocations: 24.03 kB / 0.5464 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.207e-05/0.4398, allocations: 35.92 kB / 0.5464 GB, free: 1.438 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.0002179/0.44, allocations: 177.8 kB / 0.5466 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.674e-05/0.4401, allocations: 43.53 kB / 0.5466 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001206/0.4402, allocations: 59.64 kB / 0.5467 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/0.4402, allocations: 8 kB / 0.5467 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.73e-05/0.4402, allocations: 0 / 0.5467 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.4403, allocations: 3.984 kB / 0.5467 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001848/0.4421, allocations: 1.44 MB / 0.5481 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.4421, allocations: 11.88 kB / 0.5481 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006629/0.4428, allocations: 155.8 kB / 0.5482 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.656e-06/0.4428, allocations: 8 kB / 0.5482 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.274e-05/0.4429, allocations: 23.94 kB / 0.5483 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/0.4429, allocations: 7.984 kB / 0.5483 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.4429, allocations: 4 kB / 0.5483 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.4439, allocations: 0.9041 MB / 0.5492 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.603e-05/0.444, allocations: 124.5 kB / 0.5493 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.101e-05/0.4441, allocations: 23.88 kB / 0.5493 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002698/0.4443, allocations: 16 kB / 0.5493 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.966e-05/0.4444, allocations: 52.31 kB / 0.5494 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.218e-05/0.4445, allocations: 24.06 kB / 0.5494 GB, free: 14.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001857/0.4447, allocations: 185.9 kB / 0.5496 GB, free: 13.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4447, allocations: 0 / 0.5496 GB, free: 13.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005244/0.4452, allocations: 144 kB / 0.5497 GB, free: 13.84 MB / 414.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.0002505/0.4455, allocations: 119.1 kB / 0.5498 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007534/0.4462, allocations: 467.7 kB / 0.5503 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4462, allocations: 0 / 0.5503 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002863/0.4465, allocations: 234.2 kB / 0.5505 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009032/0.4474, allocations: 123.9 kB / 0.5506 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002358/0.4498, allocations: 1.652 MB / 0.5522 GB, free: 11.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004017/0.4502, allocations: 0.8485 MB / 0.553 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001698/0.4504, allocations: 56.66 kB / 0.5531 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.4505, allocations: 43.44 kB / 0.5531 GB, free: 10.22 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4505, allocations: 3.938 kB / 0.5531 GB, free: 10.22 MB / 414.1 MB Notification: Performance of Templates: time 0.01028/0.4608, allocations: 5.409 MB / 0.5584 GB, free: 4.867 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches