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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001078/0.001078, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001007/0.001007, allocations: 160.5 kB / 24.55 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.012/1.012, allocations: 177 MB / 204.8 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3013/0.3013, allocations: 34.86 MB / 296.3 MB, free: 488 kB / 266.7 MB " [Timeout remaining time 180] 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=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_trunk_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_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 378.7 MB, free: 2.078 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.618e-05/2.767e-05, allocations: 2.312 kB / 378.7 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.00397/0.003998, allocations: 3.288 MB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001663/0.005661, allocations: 0.8294 MB / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002665/0.005928, allocations: 11.94 kB / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001941/0.006122, allocations: 79.17 kB / 383 MB, free: 13.84 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003517/0.006474, allocations: 182.4 kB / 383.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003318/0.006805, allocations: 115.8 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005796/0.007385, allocations: 0.614 MB / 383.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000239/0.007624, allocations: 109.9 kB / 384 MB, free: 12.82 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003841/0.008008, allocations: 355.2 kB / 384.3 MB, free: 12.47 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002384/0.008246, allocations: 179.5 kB / 384.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.885e-05/0.008305, allocations: 40 kB / 384.5 MB, free: 12.26 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.608e-05/0.008381, allocations: 44 kB / 384.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.866e-05/0.00846, allocations: 107.6 kB / 384.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001758/0.008636, allocations: 187.6 kB / 384.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004621/0.009098, allocations: 390.4 kB / 385.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.009105, allocations: 0 / 385.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.009107, allocations: 0 / 385.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.009118, allocations: 0 / 385.2 MB, free: 11.54 MB / 362.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.0008579/0.009976, allocations: 0.7998 MB / 386 MB, free: 10.71 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.01002, allocations: 8.031 kB / 386 MB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001141/0.01013, allocations: 96.61 kB / 386.1 MB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000326/0.01046, allocations: 255.3 kB / 386.4 MB, free: 10.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.72e-05/0.01048, allocations: 37.38 kB / 386.4 MB, free: 10.29 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.43e-05/0.01056, allocations: 60.22 kB / 386.5 MB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004114/0.01097, allocations: 352.8 kB / 386.8 MB, free: 9.867 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.01099, allocations: 12.14 kB / 386.8 MB, free: 9.855 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.728e-05/0.01102, allocations: 20.38 kB / 386.9 MB, free: 9.836 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.01103, allocations: 15.94 kB / 386.9 MB, free: 9.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002731/0.01131, allocations: 210.5 kB / 387.1 MB, free: 9.617 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001216/0.01252, allocations: 1.009 MB / 388.1 MB, free: 8.566 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004961/0.01302, allocations: 324.4 kB / 388.4 MB, free: 8.223 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000181/0.0132, allocations: 148.8 kB / 388.6 MB, free: 8.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.01322, allocations: 12.53 kB / 388.6 MB, free: 8.059 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.01326, allocations: 42.11 kB / 388.6 MB, free: 8.008 MB / 362.7 MB Notification: Performance of pre-optimization done (n=62): time 2.925e-06/0.01326, allocations: 0 / 388.6 MB, free: 8.008 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.001928/0.01519, allocations: 1.654 MB / 390.3 MB, free: 6.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/0.01524, allocations: 85.61 kB / 390.3 MB, free: 6.148 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000178/0.01542, allocations: 292.2 kB / 390.6 MB, free: 5.848 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.01544, allocations: 45.7 kB / 390.7 MB, free: 5.797 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.01556, allocations: 268 kB / 390.9 MB, free: 5.527 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/0.0157, allocations: 269.6 kB / 391.2 MB, free: 5.262 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.01581, allocations: 124.3 kB / 391.3 MB, free: 5.133 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.01597, allocations: 0.5235 MB / 391.8 MB, free: 4.598 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.01611, allocations: 93.94 kB / 391.9 MB, free: 4.508 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002461/0.01635, allocations: 258.7 kB / 392.2 MB, free: 4.207 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003866/0.01674, allocations: 392.5 kB / 392.6 MB, free: 3.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.01675, allocations: 7.938 kB / 392.6 MB, free: 3.762 MB / 362.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.000514/0.01726, allocations: 0.4892 MB / 393.1 MB, free: 3.266 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.01728, allocations: 8 kB / 393.1 MB, free: 3.258 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.01728, allocations: 4 kB / 393.1 MB, free: 3.254 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/0.01731, allocations: 4 kB / 393.1 MB, free: 3.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003441/0.01765, allocations: 179.8 kB / 393.3 MB, free: 3.074 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/0.01767, allocations: 11.92 kB / 393.3 MB, free: 3.062 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.0178, allocations: 24 kB / 393.3 MB, free: 3.039 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.458e-05/0.01783, allocations: 24 kB / 393.3 MB, free: 3.016 MB / 362.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.0001335/0.01796, allocations: 204.3 kB / 393.5 MB, free: 2.805 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.106e-05/0.01803, allocations: 71.72 kB / 393.6 MB, free: 2.734 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.077e-05/0.01809, allocations: 51.61 kB / 393.6 MB, free: 2.684 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.0181, allocations: 8 kB / 393.6 MB, free: 2.676 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.01811, allocations: 0 / 393.6 MB, free: 2.676 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.01811, allocations: 7.984 kB / 393.7 MB, free: 2.668 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001222/0.01934, allocations: 1.307 MB / 395 MB, free: 1.254 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.01934, allocations: 4 kB / 395 MB, free: 1.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003626/0.0197, allocations: 163.8 kB / 395.1 MB, free: 1.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.01971, allocations: 4 kB / 395.1 MB, free: 1.086 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.662e-05/0.01974, allocations: 16 kB / 395.1 MB, free: 1.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.01974, allocations: 4 kB / 395.1 MB, free: 1.066 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.01974, allocations: 4 kB / 395.2 MB, free: 1.062 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007191/0.02046, allocations: 0.9049 MB / 396.1 MB, free: 100 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.208e-05/0.02052, allocations: 43.72 kB / 396.1 MB, free: 56 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.006e-05/0.02056, allocations: 24.05 kB / 396.1 MB, free: 32 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.0207, allocations: 23.94 kB / 396.1 MB, free: 8 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.866e-05/0.02076, allocations: 44.36 kB / 396.2 MB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.001e-05/0.02078, allocations: 27.98 kB / 396.2 MB, free: 15.94 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.329e-05/0.02088, allocations: 193.1 kB / 396.4 MB, free: 15.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02088, allocations: 4 kB / 396.4 MB, free: 15.74 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003507/0.02123, allocations: 148 kB / 396.6 MB, free: 15.6 MB / 378.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.0001104/0.02134, allocations: 115.2 kB / 396.7 MB, free: 15.47 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004128/0.02175, allocations: 366.4 kB / 397 MB, free: 15.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.02175, allocations: 4 kB / 397 MB, free: 15.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001782/0.02193, allocations: 208.3 kB / 397.2 MB, free: 14.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000514/0.02244, allocations: 127 kB / 397.4 MB, free: 14.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.0241, allocations: 1.392 MB / 398.8 MB, free: 13.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.21e-05/0.02419, allocations: 131.3 kB / 398.9 MB, free: 13.16 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001373/0.02433, allocations: 56.66 kB / 398.9 MB, free: 13.1 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.748e-05/0.02441, allocations: 44.5 kB / 399 MB, free: 13.05 MB / 378.7 MB Notification: Performance of SimCode: time 1.192e-06/0.02441, allocations: 0 / 399 MB, free: 13.05 MB / 378.7 MB Notification: Performance of Templates: time 0.007962/0.03237, allocations: 5.362 MB / 404.3 MB, free: 7.805 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.377615610603243]