Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001197/0.001197, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001089/0.001089, allocations: 173 kB / 24.25 MB, free: 312 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9814/0.9814, allocations: 158.6 MB / 186 MB, free: 2.934 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1451/0.1451, allocations: 32.37 MB / 270.7 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.013e-06/2.013e-06, allocations: 0 / 347.6 MB, free: 9.797 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.518e-05/1.719e-05, allocations: 8.219 kB / 347.7 MB, free: 9.789 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.002641/0.002658, allocations: 3.266 MB / 350.9 MB, free: 6.508 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.003726, allocations: 0.8344 MB / 351.8 MB, free: 5.664 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001782/0.003904, allocations: 11.88 kB / 351.8 MB, free: 5.652 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001579/0.004062, allocations: 75.17 kB / 351.8 MB, free: 5.578 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002086/0.00427, allocations: 190.4 kB / 352 MB, free: 5.391 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001861/0.004457, allocations: 111.8 kB / 352.1 MB, free: 5.281 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003172/0.004774, allocations: 0.614 MB / 352.8 MB, free: 4.664 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001785/0.004952, allocations: 117.9 kB / 352.9 MB, free: 4.547 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002295/0.005182, allocations: 351.2 kB / 353.2 MB, free: 4.203 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.005328, allocations: 175.5 kB / 353.4 MB, free: 4.031 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.252e-05/0.00537, allocations: 40 kB / 353.4 MB, free: 3.992 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.851e-05/0.005409, allocations: 44 kB / 353.5 MB, free: 3.949 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.338e-05/0.005452, allocations: 107.6 kB / 353.6 MB, free: 3.844 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.798e-05/0.00555, allocations: 191.6 kB / 353.8 MB, free: 3.656 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002535/0.005803, allocations: 382.6 kB / 354.1 MB, free: 3.281 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.005806, allocations: 4 kB / 354.1 MB, free: 3.277 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.005806, allocations: 0 / 354.1 MB, free: 3.277 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.005812, allocations: 0 / 354.1 MB, free: 3.277 MB / 282.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.0005828/0.006395, allocations: 0.7919 MB / 354.9 MB, free: 2.445 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.006431, allocations: 8.031 kB / 354.9 MB, free: 2.438 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.45e-05/0.006515, allocations: 100.6 kB / 355 MB, free: 2.34 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.006748, allocations: 271.2 kB / 355.3 MB, free: 2.047 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.006767, allocations: 33.38 kB / 355.3 MB, free: 2.016 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.914e-05/0.006816, allocations: 60.33 kB / 355.4 MB, free: 1.957 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003224/0.007138, allocations: 352.8 kB / 355.7 MB, free: 1.594 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.007156, allocations: 8.141 kB / 355.7 MB, free: 1.586 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.00718, allocations: 20.38 kB / 355.8 MB, free: 1.566 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.007191, allocations: 15.94 kB / 355.8 MB, free: 1.551 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000224/0.007415, allocations: 207.2 kB / 356 MB, free: 1.352 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008235/0.008238, allocations: 1.009 MB / 357 MB, free: 312 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003821/0.00862, allocations: 326 kB / 357.3 MB, free: 15.95 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/0.008785, allocations: 149 kB / 357.4 MB, free: 15.8 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.008802, allocations: 8.5 kB / 357.5 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.008825, allocations: 41.89 kB / 357.5 MB, free: 15.74 MB / 298.7 MB Notification: Performance of pre-optimization done (n=62): time 2.585e-06/0.008827, allocations: 4.031 kB / 357.5 MB, free: 15.74 MB / 298.7 MB Notification: Performance of matching and sorting (n=74): time 0.001665/0.01049, allocations: 1.656 MB / 359.2 MB, free: 13.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.01053, allocations: 85.61 kB / 359.2 MB, free: 13.88 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.01069, allocations: 292.2 kB / 359.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.01071, allocations: 37.7 kB / 359.6 MB, free: 13.53 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.01081, allocations: 264 kB / 359.8 MB, free: 13.27 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.01093, allocations: 277.6 kB / 360.1 MB, free: 13 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.611e-05/0.01103, allocations: 128.3 kB / 360.2 MB, free: 12.86 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.01115, allocations: 0.5235 MB / 360.7 MB, free: 12.33 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.01128, allocations: 93.94 kB / 360.8 MB, free: 12.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/0.01148, allocations: 246.8 kB / 361.1 MB, free: 11.94 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003582/0.01183, allocations: 404.6 kB / 361.5 MB, free: 11.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.01184, allocations: 3.938 kB / 361.5 MB, free: 11.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0004605/0.0123, allocations: 496.7 kB / 362 MB, free: 11 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.01231, allocations: 4 kB / 362 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.01232, allocations: 4.281 kB / 362 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.01233, allocations: 15.94 kB / 362 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003198/0.01265, allocations: 175.8 kB / 362.2 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.01266, allocations: 4 kB / 362.2 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.01278, allocations: 24.06 kB / 362.2 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.287e-05/0.01281, allocations: 32 kB / 362.2 MB, free: 10.75 MB / 298.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 0.0001083/0.01292, allocations: 200.3 kB / 362.4 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.648e-05/0.01298, allocations: 71.7 kB / 362.5 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.694e-05/0.01304, allocations: 51.62 kB / 362.5 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.01304, allocations: 8 kB / 362.5 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.01305, allocations: 4 kB / 362.5 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.01305, allocations: 3.984 kB / 362.5 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.0141, allocations: 1.323 MB / 363.9 MB, free: 8.969 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.0141, allocations: 0 / 363.9 MB, free: 8.969 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003352/0.01444, allocations: 163.7 kB / 364 MB, free: 8.809 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.85e-06/0.01444, allocations: 4 kB / 364 MB, free: 8.805 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.365e-05/0.01446, allocations: 20 kB / 364.1 MB, free: 8.785 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.01447, allocations: 8 kB / 364.1 MB, free: 8.777 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.01447, allocations: 4 kB / 364.1 MB, free: 8.773 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006475/0.01512, allocations: 0.9009 MB / 365 MB, free: 7.809 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.602e-05/0.01516, allocations: 39.77 kB / 365 MB, free: 7.77 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.576e-05/0.01519, allocations: 23.98 kB / 365 MB, free: 7.746 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.01533, allocations: 16 kB / 365 MB, free: 7.73 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.7e-05/0.01537, allocations: 56.3 kB / 365.1 MB, free: 7.676 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.01539, allocations: 23.98 kB / 365.1 MB, free: 7.652 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.649e-05/0.01548, allocations: 193.1 kB / 365.3 MB, free: 7.465 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01548, allocations: 0 / 365.3 MB, free: 7.465 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003172/0.0158, allocations: 144 kB / 365.4 MB, free: 7.324 MB / 298.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 8.969e-05/0.01589, allocations: 123.1 kB / 365.6 MB, free: 7.195 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003871/0.01627, allocations: 361.7 kB / 365.9 MB, free: 6.84 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01627, allocations: 0 / 365.9 MB, free: 6.84 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001929/0.01647, allocations: 200.8 kB / 366.1 MB, free: 6.645 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007313/0.0172, allocations: 142.1 kB / 366.3 MB, free: 6.508 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002221/0.01942, allocations: 1.391 MB / 367.6 MB, free: 5.035 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002092/0.01963, allocations: 131.3 kB / 367.8 MB, free: 4.891 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000262/0.01989, allocations: 56.66 kB / 367.8 MB, free: 4.836 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.933e-05/0.01999, allocations: 44.5 kB / 367.9 MB, free: 4.793 MB / 298.7 MB Notification: Performance of SimCode: time 2.975e-06/0.01999, allocations: 0 / 367.9 MB, free: 4.793 MB / 298.7 MB Notification: Performance of Templates: time 0.008605/0.0286, allocations: 5.35 MB / 373.2 MB, free: 15.51 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.4468487249687314]