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.001097/0.001097, allocations: 118.2 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.001087/0.001087, 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.493/1.493, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2323/0.2323, allocations: 46.09 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 71.89 kB / 481.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4013/0.403, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004585/0.4076, allocations: 3.294 MB / 0.5342 GB, free: 11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001597/0.4093, allocations: 0.8274 MB / 0.535 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002452/0.4095, allocations: 10.81 kB / 0.535 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000236/0.4098, allocations: 75.48 kB / 0.5351 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003137/0.4101, allocations: 172.4 kB / 0.5353 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002673/0.4104, allocations: 109.4 kB / 0.5354 GB, free: 9.984 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006047/0.411, allocations: 0.5972 MB / 0.5359 GB, free: 9.621 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003336/0.4113, allocations: 176 kB / 0.5361 GB, free: 9.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002632/0.4116, allocations: 227.5 kB / 0.5363 GB, free: 9.395 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003027/0.4119, allocations: 240.8 kB / 0.5366 GB, free: 9.234 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.67e-05/0.412, allocations: 43.31 kB / 0.5366 GB, free: 9.234 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.136e-05/0.4121, allocations: 43.69 kB / 0.5366 GB, free: 9.234 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.811e-05/0.4122, allocations: 98.28 kB / 0.5367 GB, free: 9.152 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002453/0.4124, allocations: 274 kB / 0.537 GB, free: 8.977 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000591/0.413, allocations: 0.5619 MB / 0.5375 GB, free: 8.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.413, allocations: 4 kB / 0.5375 GB, free: 8.566 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4131, allocations: 0 / 0.5375 GB, free: 8.566 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.4131, allocations: 1.156 kB / 0.5375 GB, free: 8.566 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.001158/0.4142, allocations: 0.7476 MB / 0.5383 GB, free: 7.938 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.4143, allocations: 12.5 kB / 0.5383 GB, free: 7.934 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/0.4144, allocations: 52.16 kB / 0.5383 GB, free: 7.91 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004623/0.4149, allocations: 331.5 kB / 0.5387 GB, free: 7.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.947e-05/0.4149, allocations: 31.81 kB / 0.5387 GB, free: 7.578 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.23e-05/0.415, allocations: 57.72 kB / 0.5387 GB, free: 7.555 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007335/0.4158, allocations: 439.9 kB / 0.5392 GB, free: 7.281 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.922e-05/0.4158, allocations: 20.03 kB / 0.5392 GB, free: 7.266 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.878e-05/0.4158, allocations: 19.88 kB / 0.5392 GB, free: 7.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.4159, allocations: 11.06 kB / 0.5392 GB, free: 7.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004962/0.4164, allocations: 312.1 kB / 0.5395 GB, free: 7.109 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00167/0.418, allocations: 1.139 MB / 0.5406 GB, free: 6.203 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007208/0.4188, allocations: 480.3 kB / 0.5411 GB, free: 5.902 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003137/0.4191, allocations: 218.5 kB / 0.5413 GB, free: 5.789 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.4191, allocations: 7.125 kB / 0.5413 GB, free: 5.789 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.4192, allocations: 41.86 kB / 0.5413 GB, free: 5.742 MB / 398.1 MB Notification: Performance of pre-optimization done (n=62): time 3.346e-06/0.4192, allocations: 3.984 kB / 0.5413 GB, free: 5.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=74): time 0.00301/0.4222, allocations: 2.132 MB / 0.5434 GB, free: 4.184 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.282e-05/0.4223, allocations: 89.08 kB / 0.5435 GB, free: 4.086 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002592/0.4225, allocations: 255.6 kB / 0.5437 GB, free: 3.906 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/0.4226, allocations: 41.36 kB / 0.5438 GB, free: 3.863 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.4227, allocations: 207 kB / 0.544 GB, free: 3.676 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001848/0.4229, allocations: 271.2 kB / 0.5442 GB, free: 3.438 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001457/0.4231, allocations: 123.5 kB / 0.5444 GB, free: 3.359 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.4232, allocations: 355.8 kB / 0.5447 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002656/0.4235, allocations: 166.8 kB / 0.5449 GB, free: 2.934 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003433/0.4239, allocations: 270.1 kB / 0.5451 GB, free: 2.742 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006118/0.4245, allocations: 477.5 kB / 0.5456 GB, free: 2.285 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4245, allocations: 0 / 0.5456 GB, free: 2.285 MB / 398.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0007932/0.4253, allocations: 0.5669 MB / 0.5461 GB, free: 1.711 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.4253, allocations: 15.92 kB / 0.5461 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.4253, allocations: 4 kB / 0.5461 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.391e-05/0.4254, allocations: 12.28 kB / 0.5462 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005585/0.4259, allocations: 171.8 kB / 0.5463 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.29e-05/0.426, allocations: 11.94 kB / 0.5463 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000254/0.4262, allocations: 23.98 kB / 0.5464 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/0.4263, allocations: 31.94 kB / 0.5464 GB, free: 1.445 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.0001848/0.4264, allocations: 173.7 kB / 0.5466 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.369e-05/0.4265, allocations: 43.53 kB / 0.5466 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001207/0.4267, allocations: 63.64 kB / 0.5467 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.4267, allocations: 8 kB / 0.5467 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/0.4267, allocations: 0 / 0.5467 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.4267, allocations: 3.984 kB / 0.5467 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001845/0.4286, allocations: 1.44 MB / 0.5481 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.4286, allocations: 4 kB / 0.5481 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006005/0.4292, allocations: 160.1 kB / 0.5482 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-06/0.4292, allocations: 12 kB / 0.5482 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.395e-05/0.4292, allocations: 19.94 kB / 0.5483 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.583e-06/0.4293, allocations: 11.98 kB / 0.5483 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.4293, allocations: 4 kB / 0.5483 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.4303, allocations: 0.9 MB / 0.5492 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.68e-05/0.4304, allocations: 128.5 kB / 0.5493 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.781e-05/0.4305, allocations: 23.88 kB / 0.5493 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002696/0.4308, allocations: 20 kB / 0.5493 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.179e-05/0.4308, allocations: 40.38 kB / 0.5494 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-05/0.4309, allocations: 20 kB / 0.5494 GB, free: 14.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001569/0.431, allocations: 189.9 kB / 0.5496 GB, free: 14 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.431, allocations: 0 / 0.5496 GB, free: 14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004944/0.4315, allocations: 144 kB / 0.5497 GB, free: 13.86 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.0001522/0.4317, allocations: 119.1 kB / 0.5498 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006677/0.4324, allocations: 460.2 kB / 0.5502 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.4324, allocations: 7.938 kB / 0.5503 GB, free: 13.28 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002857/0.4327, allocations: 242.2 kB / 0.5505 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008379/0.4335, allocations: 124.5 kB / 0.5506 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002318/0.4358, allocations: 1.652 MB / 0.5522 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000426/0.4363, allocations: 0.8447 MB / 0.553 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001732/0.4365, allocations: 64.64 kB / 0.5531 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.4366, allocations: 39.44 kB / 0.5531 GB, free: 10.23 MB / 414.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4366, allocations: 0 / 0.5531 GB, free: 10.23 MB / 414.1 MB Notification: Performance of Templates: time 0.01097/0.4475, allocations: 5.415 MB / 0.5584 GB, free: 4.871 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