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.001316/0.001316, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.001427/0.001427, allocations: 212.2 kB / 24.48 MB, free: 3.977 MB / 14.72 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 1.43/1.43, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.2254/0.2254, allocations: 46.96 MB / 361.6 MB, free: 4.031 MB / 286.1 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 0.001935/0.001935, allocations: 64.08 kB / 0.4973 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.329, allocations: 66.03 MB / 0.5618 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004557/0.3336, allocations: 3 MB / 0.5647 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001582/0.3352, allocations: 0.8139 MB / 0.5655 GB, free: 340 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001697/0.3354, allocations: 15.88 kB / 0.5655 GB, free: 324 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001957/0.3355, allocations: 67.25 kB / 0.5656 GB, free: 256 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00032/0.3359, allocations: 178.5 kB / 0.5658 GB, free: 76 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002486/0.3361, allocations: 103.9 kB / 0.5659 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006072/0.3367, allocations: 0.6062 MB / 0.5665 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002427/0.337, allocations: 117.8 kB / 0.5666 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002542/0.3372, allocations: 231.3 kB / 0.5668 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003075/0.3375, allocations: 246.9 kB / 0.567 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.982e-05/0.3376, allocations: 44 kB / 0.5671 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.321e-05/0.3377, allocations: 44 kB / 0.5671 GB, free: 14.69 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.994e-05/0.3378, allocations: 99.61 kB / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002211/0.338, allocations: 223.1 kB / 0.5674 GB, free: 14.37 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006145/0.3386, allocations: 0.5743 MB / 0.568 GB, free: 13.8 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3386, allocations: 0 / 0.568 GB, free: 13.8 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3386, allocations: 0 / 0.568 GB, free: 13.8 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.904e-06/0.3386, allocations: 0 / 0.568 GB, free: 13.8 MB / 414.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.001203/0.3398, allocations: 0.6882 MB / 0.5687 GB, free: 13.08 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.3399, allocations: 16.03 kB / 0.5687 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/0.34, allocations: 64.59 kB / 0.5687 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004836/0.3404, allocations: 260.7 kB / 0.569 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.45e-05/0.3405, allocations: 37.38 kB / 0.569 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.364e-05/0.3406, allocations: 52.33 kB / 0.5691 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000732/0.3413, allocations: 434.9 kB / 0.5695 GB, free: 12.19 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.175e-05/0.3413, allocations: 11.95 kB / 0.5695 GB, free: 12.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.694e-05/0.3414, allocations: 16 kB / 0.5695 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.3414, allocations: 12 kB / 0.5695 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000517/0.3419, allocations: 320.4 kB / 0.5698 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00156/0.3435, allocations: 0.9443 MB / 0.5708 GB, free: 10.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006845/0.3442, allocations: 373.1 kB / 0.5711 GB, free: 10.47 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003026/0.3445, allocations: 191.2 kB / 0.5713 GB, free: 10.28 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.3445, allocations: 12.38 kB / 0.5713 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/0.3445, allocations: 46.92 kB / 0.5713 GB, free: 10.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=62): time 1.893e-06/0.3445, allocations: 4.031 kB / 0.5713 GB, free: 10.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.002934/0.3475, allocations: 1.833 MB / 0.5731 GB, free: 8.289 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.392e-05/0.3475, allocations: 85.61 kB / 0.5732 GB, free: 8.184 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000239/0.3478, allocations: 241.8 kB / 0.5735 GB, free: 7.941 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.456e-05/0.3478, allocations: 37.7 kB / 0.5735 GB, free: 7.898 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.3479, allocations: 217.3 kB / 0.5737 GB, free: 7.684 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002172/0.3482, allocations: 285.5 kB / 0.574 GB, free: 7.402 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000157/0.3483, allocations: 114.7 kB / 0.5741 GB, free: 7.281 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.3485, allocations: 362.7 kB / 0.5744 GB, free: 6.918 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002648/0.3488, allocations: 153.9 kB / 0.5746 GB, free: 6.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003638/0.3491, allocations: 276.9 kB / 0.5748 GB, free: 6.465 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006806/0.3498, allocations: 474.7 kB / 0.5753 GB, free: 5.965 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3498, allocations: 0 / 0.5753 GB, free: 5.965 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0009069/0.3507, allocations: 0.5632 MB / 0.5758 GB, free: 5.395 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.3507, allocations: 8 kB / 0.5758 GB, free: 5.387 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.3507, allocations: 4.281 kB / 0.5758 GB, free: 5.383 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/0.3508, allocations: 8 kB / 0.5759 GB, free: 5.375 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006327/0.3514, allocations: 179.7 kB / 0.576 GB, free: 5.199 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.7e-05/0.3514, allocations: 11.98 kB / 0.576 GB, free: 5.188 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002369/0.3517, allocations: 23.94 kB / 0.5761 GB, free: 5.164 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.105e-05/0.3517, allocations: 27.98 kB / 0.5761 GB, free: 5.137 MB / 414.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.0002081/0.3519, allocations: 185.5 kB / 0.5763 GB, free: 4.945 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.923e-05/0.352, allocations: 47.78 kB / 0.5763 GB, free: 4.898 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001111/0.3521, allocations: 63.61 kB / 0.5764 GB, free: 4.836 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.238e-06/0.3521, allocations: 8 kB / 0.5764 GB, free: 4.828 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.3521, allocations: 48 / 0.5764 GB, free: 4.828 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.3521, allocations: 7.969 kB / 0.5764 GB, free: 4.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001942/0.3541, allocations: 1.284 MB / 0.5776 GB, free: 3.445 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.3541, allocations: 4 kB / 0.5776 GB, free: 3.441 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006601/0.3547, allocations: 155.8 kB / 0.5778 GB, free: 3.289 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.527e-06/0.3548, allocations: 8 kB / 0.5778 GB, free: 3.281 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.85e-05/0.3548, allocations: 20 kB / 0.5778 GB, free: 3.262 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.985e-06/0.3548, allocations: 7.938 kB / 0.5778 GB, free: 3.254 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/0.3548, allocations: 7.938 kB / 0.5778 GB, free: 3.246 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/0.356, allocations: 0.9168 MB / 0.5787 GB, free: 2.277 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.391e-05/0.356, allocations: 43.72 kB / 0.5788 GB, free: 2.234 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.388e-05/0.3561, allocations: 16 kB / 0.5788 GB, free: 2.219 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002743/0.3564, allocations: 27.92 kB / 0.5788 GB, free: 2.191 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.467e-05/0.3564, allocations: 48.3 kB / 0.5789 GB, free: 2.141 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.249e-05/0.3565, allocations: 23.98 kB / 0.5789 GB, free: 2.117 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001471/0.3566, allocations: 165.2 kB / 0.579 GB, free: 1.961 MB / 414.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3566, allocations: 0 / 0.579 GB, free: 1.961 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005043/0.3571, allocations: 144 kB / 0.5792 GB, free: 1.82 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.0001434/0.3573, allocations: 127.6 kB / 0.5793 GB, free: 1.688 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006736/0.3579, allocations: 435.5 kB / 0.5797 GB, free: 1.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3579, allocations: 0 / 0.5797 GB, free: 1.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003222/0.3583, allocations: 223.2 kB / 0.5799 GB, free: 1.047 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008653/0.3591, allocations: 125.3 kB / 0.58 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002533/0.3617, allocations: 1.665 MB / 0.5817 GB, free: 15.2 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.3619, allocations: 246 kB / 0.5819 GB, free: 14.93 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001766/0.3621, allocations: 56.66 kB / 0.582 GB, free: 14.88 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.3622, allocations: 39.44 kB / 0.582 GB, free: 14.84 MB / 430.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3622, allocations: 4 kB / 0.582 GB, free: 14.83 MB / 430.1 MB Notification: Performance of Templates: time 0.01234/0.3745, allocations: 6.184 MB / 0.588 GB, free: 8.758 MB / 430.1 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=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.131756025002687]