Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 80.31 kB / 22.21 MB, free: 2.281 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 167.1 kB / 25.61 MB, free: 8.578 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9713/0.9713, allocations: 177.1 MB / 206.1 MB, free: 4.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1494/0.1494, allocations: 34.26 MB / 296.9 MB, free: 13.92 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper") translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 379.3 MB, free: 23.44 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.638e-05/2.83e-05, allocations: 6.312 kB / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.003313/0.003341, allocations: 3.224 MB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.004679, allocations: 0.8334 MB / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002584/0.004937, allocations: 7.938 kB / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001606/0.005098, allocations: 75.23 kB / 383.4 MB, free: 19.26 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002684/0.005366, allocations: 182.4 kB / 383.6 MB, free: 19.08 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002102/0.005576, allocations: 115.8 kB / 383.7 MB, free: 18.97 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004215/0.005998, allocations: 0.614 MB / 384.3 MB, free: 18.35 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001925/0.00619, allocations: 117.9 kB / 384.4 MB, free: 18.23 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003135/0.006504, allocations: 351.2 kB / 384.8 MB, free: 17.88 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001696/0.006673, allocations: 179.5 kB / 385 MB, free: 17.71 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.658e-05/0.00672, allocations: 40 kB / 385 MB, free: 17.67 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.398e-05/0.006764, allocations: 44 kB / 385 MB, free: 17.62 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.261e-05/0.006817, allocations: 103.6 kB / 385.1 MB, free: 17.52 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.006923, allocations: 187.6 kB / 385.3 MB, free: 17.34 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002967/0.007219, allocations: 382.6 kB / 385.7 MB, free: 16.96 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.007223, allocations: 3.984 kB / 385.7 MB, free: 16.96 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.007224, allocations: 4 kB / 385.7 MB, free: 16.96 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.463e-06/0.00723, allocations: 0 / 385.7 MB, free: 16.96 MB / 314.7 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.0005696/0.0078, allocations: 0.7919 MB / 386.5 MB, free: 16.13 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.007832, allocations: 8.031 kB / 386.5 MB, free: 16.12 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.702e-05/0.007909, allocations: 104.6 kB / 386.6 MB, free: 16.02 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.00813, allocations: 275.2 kB / 386.9 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.008149, allocations: 33.38 kB / 386.9 MB, free: 15.7 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.761e-05/0.008197, allocations: 56.33 kB / 387 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002445/0.008441, allocations: 324.7 kB / 387.3 MB, free: 15.3 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.00846, allocations: 12.09 kB / 387.3 MB, free: 15.29 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.008481, allocations: 20.38 kB / 387.3 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.008488, allocations: 19.94 kB / 387.3 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001385/0.008627, allocations: 167.5 kB / 387.5 MB, free: 15.09 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008273/0.009454, allocations: 0.9663 MB / 388.5 MB, free: 14.09 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003019/0.009756, allocations: 300 kB / 388.8 MB, free: 13.77 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.009856, allocations: 128.8 kB / 388.9 MB, free: 13.63 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.009874, allocations: 12.5 kB / 388.9 MB, free: 13.62 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.009893, allocations: 45.89 kB / 388.9 MB, free: 13.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=62): time 1.763e-06/0.009895, allocations: 0 / 388.9 MB, free: 13.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=74): time 0.001197/0.01109, allocations: 1.45 MB / 390.4 MB, free: 12.02 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.01112, allocations: 85.61 kB / 390.5 MB, free: 11.92 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.672e-05/0.01122, allocations: 280.2 kB / 390.7 MB, free: 11.62 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.01123, allocations: 41.7 kB / 390.8 MB, free: 11.58 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.623e-05/0.0113, allocations: 264 kB / 391 MB, free: 11.32 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.986e-05/0.01139, allocations: 289.5 kB / 391.3 MB, free: 11.03 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.25e-05/0.01147, allocations: 128.3 kB / 391.4 MB, free: 10.9 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.754e-05/0.01156, allocations: 0.5234 MB / 392 MB, free: 10.36 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.712e-05/0.01165, allocations: 77.92 kB / 392 MB, free: 10.29 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.01176, allocations: 234.7 kB / 392.3 MB, free: 10.01 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002122/0.01197, allocations: 352.4 kB / 392.6 MB, free: 9.617 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.01197, allocations: 0 / 392.6 MB, free: 9.617 MB / 314.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0003184/0.01229, allocations: 452.7 kB / 393.1 MB, free: 9.168 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.0123, allocations: 7.938 kB / 393.1 MB, free: 9.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.01231, allocations: 4 kB / 393.1 MB, free: 9.156 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.01232, allocations: 8.281 kB / 393.1 MB, free: 9.148 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002974/0.01262, allocations: 183.8 kB / 393.3 MB, free: 8.969 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.01263, allocations: 4 kB / 393.3 MB, free: 8.965 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.01276, allocations: 27.94 kB / 393.3 MB, free: 8.938 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.01277, allocations: 19.98 kB / 393.3 MB, free: 8.918 MB / 314.7 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 8.901e-05/0.01286, allocations: 192.5 kB / 393.5 MB, free: 8.719 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.993e-05/0.01292, allocations: 71.69 kB / 393.6 MB, free: 8.648 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.484e-05/0.01298, allocations: 55.62 kB / 393.6 MB, free: 8.59 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.01298, allocations: 12 kB / 393.6 MB, free: 8.578 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.01299, allocations: 0 / 393.6 MB, free: 8.578 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.01299, allocations: 7.922 kB / 393.6 MB, free: 8.57 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008185/0.01381, allocations: 1.222 MB / 394.9 MB, free: 7.246 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.01381, allocations: 11.94 kB / 394.9 MB, free: 7.234 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003032/0.01412, allocations: 163.8 kB / 395 MB, free: 7.074 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.01412, allocations: 4 kB / 395 MB, free: 7.07 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.01414, allocations: 16.05 kB / 395.1 MB, free: 7.055 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.01414, allocations: 4 kB / 395.1 MB, free: 7.051 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.01415, allocations: 7.984 kB / 395.1 MB, free: 7.043 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004594/0.01461, allocations: 0.8539 MB / 395.9 MB, free: 6.129 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.887e-05/0.01465, allocations: 43.7 kB / 396 MB, free: 6.086 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.083e-05/0.01468, allocations: 16 kB / 396 MB, free: 6.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.01481, allocations: 19.98 kB / 396 MB, free: 6.051 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/0.01485, allocations: 56.3 kB / 396.1 MB, free: 5.996 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.01487, allocations: 23.92 kB / 396.1 MB, free: 5.973 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.533e-05/0.01492, allocations: 189.1 kB / 396.3 MB, free: 5.785 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01492, allocations: 0 / 396.3 MB, free: 5.785 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003016/0.01522, allocations: 144 kB / 396.4 MB, free: 5.645 MB / 314.7 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.0001004/0.01532, allocations: 119.1 kB / 396.5 MB, free: 5.52 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002704/0.01559, allocations: 321.7 kB / 396.8 MB, free: 5.199 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01559, allocations: 0 / 396.8 MB, free: 5.199 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.0157, allocations: 188.5 kB / 397 MB, free: 5.016 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004431/0.01615, allocations: 131.2 kB / 397.1 MB, free: 4.891 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.01739, allocations: 1.386 MB / 398.5 MB, free: 3.418 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.245e-05/0.01747, allocations: 131.3 kB / 398.7 MB, free: 3.27 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001263/0.01759, allocations: 56.66 kB / 398.7 MB, free: 3.215 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001968/0.01779, allocations: 198.1 kB / 398.9 MB, free: 3.02 MB / 314.7 MB Notification: Performance of SimCode: time 2.014e-06/0.01779, allocations: 0 / 398.9 MB, free: 3.02 MB / 314.7 MB Notification: Performance of Templates: time 0.008312/0.0261, allocations: 5.981 MB / 404.9 MB, free: 13.16 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5559943709522486]