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.001749/0.001758, allocations: 117.6 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002521/0.002521, allocations: 203.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.573/1.573, allocations: 227.4 MB / 246.9 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2352/0.2352, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 76.08 kB / 481.3 MB, free: 4.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4024/0.4039, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.005202/0.4092, allocations: 3.283 MB / 0.5342 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001793/0.411, allocations: 0.8312 MB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002219/0.4113, allocations: 11.94 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002242/0.4115, allocations: 73.77 kB / 0.5351 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003196/0.4118, allocations: 169.1 kB / 0.5352 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002536/0.4121, allocations: 109.8 kB / 0.5354 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006912/0.4128, allocations: 0.6012 MB / 0.5359 GB, free: 9.652 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003282/0.4131, allocations: 171.4 kB / 0.5361 GB, free: 9.551 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002522/0.4134, allocations: 216.6 kB / 0.5363 GB, free: 9.434 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002958/0.4137, allocations: 240.8 kB / 0.5365 GB, free: 9.273 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.407e-05/0.4138, allocations: 41.94 kB / 0.5366 GB, free: 9.273 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.968e-05/0.4139, allocations: 44.34 kB / 0.5366 GB, free: 9.273 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.573e-05/0.414, allocations: 110.5 kB / 0.5367 GB, free: 9.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003337/0.4143, allocations: 262.6 kB / 0.537 GB, free: 9.016 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000662/0.415, allocations: 0.5671 MB / 0.5375 GB, free: 8.609 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.415, allocations: 1.062 kB / 0.5375 GB, free: 8.609 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.415, allocations: 0 / 0.5375 GB, free: 8.609 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.4151, allocations: 0 / 0.5375 GB, free: 8.609 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.001149/0.4162, allocations: 0.7709 MB / 0.5383 GB, free: 7.957 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.4163, allocations: 9.125 kB / 0.5383 GB, free: 7.957 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001076/0.4164, allocations: 56.36 kB / 0.5383 GB, free: 7.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004839/0.4169, allocations: 331.2 kB / 0.5387 GB, free: 7.609 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.536e-05/0.4169, allocations: 36.66 kB / 0.5387 GB, free: 7.594 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.377e-05/0.417, allocations: 52.52 kB / 0.5387 GB, free: 7.574 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000696/0.4177, allocations: 441.4 kB / 0.5392 GB, free: 7.301 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.832e-05/0.4178, allocations: 15.17 kB / 0.5392 GB, free: 7.289 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.661e-05/0.4178, allocations: 16.25 kB / 0.5392 GB, free: 7.277 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.4178, allocations: 11.12 kB / 0.5392 GB, free: 7.277 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005221/0.4183, allocations: 315.9 kB / 0.5395 GB, free: 7.133 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001579/0.4199, allocations: 1.142 MB / 0.5406 GB, free: 6.223 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007069/0.4206, allocations: 488.8 kB / 0.5411 GB, free: 5.914 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002952/0.421, allocations: 218.3 kB / 0.5413 GB, free: 5.801 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.19e-05/0.421, allocations: 18.62 kB / 0.5413 GB, free: 5.789 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.421, allocations: 46.14 kB / 0.5414 GB, free: 5.738 MB / 398.1 MB Notification: Performance of pre-optimization done (n=62): time 2.726e-06/0.421, allocations: 0 / 0.5414 GB, free: 5.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=74): time 0.002895/0.4239, allocations: 2.134 MB / 0.5434 GB, free: 4.184 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/0.424, allocations: 86.27 kB / 0.5435 GB, free: 4.09 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002686/0.4243, allocations: 259.1 kB / 0.5438 GB, free: 3.906 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.035e-05/0.4243, allocations: 36.36 kB / 0.5438 GB, free: 3.867 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.4245, allocations: 208.7 kB / 0.544 GB, free: 3.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001744/0.4247, allocations: 288.1 kB / 0.5443 GB, free: 3.426 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001543/0.4248, allocations: 127.9 kB / 0.5444 GB, free: 3.344 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002427/0.4251, allocations: 359.5 kB / 0.5447 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002475/0.4253, allocations: 155.1 kB / 0.5449 GB, free: 2.926 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004262/0.4258, allocations: 277.7 kB / 0.5452 GB, free: 2.727 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006278/0.4264, allocations: 472.3 kB / 0.5456 GB, free: 2.27 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.4264, allocations: 3.938 kB / 0.5456 GB, free: 2.266 MB / 398.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0007799/0.4272, allocations: 0.5675 MB / 0.5462 GB, free: 1.691 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.4272, allocations: 11.94 kB / 0.5462 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.4272, allocations: 8 kB / 0.5462 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.4273, allocations: 4 kB / 0.5462 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005568/0.4278, allocations: 175.7 kB / 0.5464 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-05/0.4278, allocations: 8 kB / 0.5464 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002592/0.4281, allocations: 23.98 kB / 0.5464 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.634e-05/0.4282, allocations: 31.94 kB / 0.5464 GB, free: 1.434 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.0001981/0.4284, allocations: 189.6 kB / 0.5466 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.135e-05/0.4285, allocations: 43.72 kB / 0.5466 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001257/0.4286, allocations: 55.64 kB / 0.5467 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.4286, allocations: 8 kB / 0.5467 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/0.4286, allocations: 0 / 0.5467 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.4286, allocations: 3.984 kB / 0.5467 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002092/0.4307, allocations: 1.444 MB / 0.5481 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/0.4307, allocations: 4 kB / 0.5481 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005791/0.4313, allocations: 155.8 kB / 0.5483 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/0.4314, allocations: 8 kB / 0.5483 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.917e-05/0.4314, allocations: 27.92 kB / 0.5483 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.4314, allocations: 7.938 kB / 0.5483 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.4314, allocations: 4 kB / 0.5483 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.4325, allocations: 0.9082 MB / 0.5492 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.893e-05/0.4326, allocations: 124.8 kB / 0.5493 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.461e-05/0.4326, allocations: 19.94 kB / 0.5493 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002707/0.4329, allocations: 20 kB / 0.5494 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.024e-05/0.433, allocations: 48.31 kB / 0.5494 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.753e-05/0.433, allocations: 28 kB / 0.5494 GB, free: 14.15 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001418/0.4332, allocations: 177.9 kB / 0.5496 GB, free: 13.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4332, allocations: 0 / 0.5496 GB, free: 13.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005587/0.4337, allocations: 148 kB / 0.5497 GB, free: 13.83 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.0001249/0.4339, allocations: 115.1 kB / 0.5499 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006571/0.4345, allocations: 467.7 kB / 0.5503 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4345, allocations: 0 / 0.5503 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003032/0.4349, allocations: 238.2 kB / 0.5505 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008583/0.4357, allocations: 140.8 kB / 0.5507 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002697/0.4384, allocations: 1.667 MB / 0.5523 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004304/0.4389, allocations: 0.8524 MB / 0.5531 GB, free: 10.28 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002002/0.4391, allocations: 60.59 kB / 0.5532 GB, free: 10.22 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.4392, allocations: 43.44 kB / 0.5532 GB, free: 10.18 MB / 414.1 MB Notification: Performance of SimCode: time 8.11e-07/0.4392, allocations: 0 / 0.5532 GB, free: 10.18 MB / 414.1 MB Notification: Performance of Templates: time 0.01224/0.4514, allocations: 5.411 MB / 0.5585 GB, free: 4.82 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