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.001416/0.001416, allocations: 99.64 kB / 21.18 MB, free: 0.6445 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.001573/0.001573, allocations: 214 kB / 24.48 MB, free: 3.93 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.46/1.46, allocations: 230.6 MB / 258.3 MB, free: 7.773 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.2319/0.2319, allocations: 46.96 MB / 361.6 MB, free: 3.996 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.002146/0.002146, allocations: 59.91 kB / 0.4973 GB, free: 7.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3466, allocations: 66.04 MB / 0.5618 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004945/0.3516, allocations: 3.001 MB / 0.5647 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001797/0.3534, allocations: 0.81 MB / 0.5655 GB, free: 476 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003982/0.3538, allocations: 11.88 kB / 0.5655 GB, free: 464 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002855/0.354, allocations: 71.25 kB / 0.5656 GB, free: 392 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006213/0.3547, allocations: 182.5 kB / 0.5658 GB, free: 208 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003535/0.355, allocations: 111.8 kB / 0.5659 GB, free: 96 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008549/0.3559, allocations: 0.5908 MB / 0.5665 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003003/0.3562, allocations: 109.7 kB / 0.5666 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003996/0.3566, allocations: 239.2 kB / 0.5668 GB, free: 15.15 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000366/0.3569, allocations: 210.9 kB / 0.567 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.332e-05/0.357, allocations: 44 kB / 0.567 GB, free: 14.9 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.3571, allocations: 44 kB / 0.5671 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.595e-05/0.3572, allocations: 103.6 kB / 0.5672 GB, free: 14.76 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002692/0.3575, allocations: 223 kB / 0.5674 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006538/0.3581, allocations: 0.5707 MB / 0.568 GB, free: 13.97 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3581, allocations: 0 / 0.568 GB, free: 13.97 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3582, allocations: 4 kB / 0.568 GB, free: 13.96 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.011e-05/0.3582, allocations: 0 / 0.568 GB, free: 13.96 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.00134/0.3595, allocations: 0.6882 MB / 0.5686 GB, free: 13.24 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.3596, allocations: 8.031 kB / 0.5686 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/0.3597, allocations: 60.55 kB / 0.5687 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000561/0.3602, allocations: 272.7 kB / 0.569 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.4e-05/0.3603, allocations: 33.38 kB / 0.569 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.3604, allocations: 56.33 kB / 0.569 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007697/0.3611, allocations: 442.9 kB / 0.5695 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.468e-05/0.3612, allocations: 7.953 kB / 0.5695 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.946e-05/0.3612, allocations: 23.94 kB / 0.5695 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/0.3612, allocations: 12 kB / 0.5695 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005539/0.3618, allocations: 304.5 kB / 0.5698 GB, free: 12.01 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00175/0.3635, allocations: 0.9443 MB / 0.5707 GB, free: 11.03 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007275/0.3643, allocations: 385 kB / 0.5711 GB, free: 10.63 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003118/0.3646, allocations: 183 kB / 0.5713 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.3646, allocations: 12.42 kB / 0.5713 GB, free: 10.44 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.3646, allocations: 39 kB / 0.5713 GB, free: 10.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=62): time 2.474e-06/0.3646, allocations: 0 / 0.5713 GB, free: 10.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.003083/0.3677, allocations: 1.841 MB / 0.5731 GB, free: 8.457 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.386e-05/0.3678, allocations: 85.61 kB / 0.5732 GB, free: 8.352 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002573/0.368, allocations: 237.8 kB / 0.5734 GB, free: 8.113 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.667e-05/0.3681, allocations: 37.7 kB / 0.5734 GB, free: 8.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.3682, allocations: 217.3 kB / 0.5737 GB, free: 7.855 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000233/0.3685, allocations: 285.5 kB / 0.5739 GB, free: 7.574 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001681/0.3686, allocations: 118.7 kB / 0.574 GB, free: 7.449 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002011/0.3688, allocations: 358.7 kB / 0.5744 GB, free: 7.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002806/0.3691, allocations: 157.9 kB / 0.5745 GB, free: 6.938 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003817/0.3695, allocations: 276.9 kB / 0.5748 GB, free: 6.629 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007257/0.3702, allocations: 475.8 kB / 0.5753 GB, free: 6.129 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3702, allocations: 0 / 0.5753 GB, free: 6.129 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0009004/0.3711, allocations: 0.5671 MB / 0.5758 GB, free: 5.555 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3711, allocations: 4 kB / 0.5758 GB, free: 5.551 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.3712, allocations: 4 kB / 0.5758 GB, free: 5.547 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.49e-05/0.3712, allocations: 8.281 kB / 0.5758 GB, free: 5.539 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006098/0.3718, allocations: 187.7 kB / 0.576 GB, free: 5.355 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.385e-05/0.3718, allocations: 7.938 kB / 0.576 GB, free: 5.348 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002736/0.3721, allocations: 28.06 kB / 0.576 GB, free: 5.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.602e-05/0.3721, allocations: 24 kB / 0.5761 GB, free: 5.297 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.0002242/0.3723, allocations: 181.6 kB / 0.5762 GB, free: 5.109 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.744e-05/0.3724, allocations: 55.73 kB / 0.5763 GB, free: 5.055 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001204/0.3726, allocations: 47.62 kB / 0.5763 GB, free: 5.008 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.908e-06/0.3726, allocations: 8 kB / 0.5763 GB, free: 5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/0.3726, allocations: 4 kB / 0.5763 GB, free: 4.996 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.3726, allocations: 7.984 kB / 0.5763 GB, free: 4.988 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002053/0.3746, allocations: 1.284 MB / 0.5776 GB, free: 3.613 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.3746, allocations: 8.031 kB / 0.5776 GB, free: 3.605 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006247/0.3753, allocations: 155.8 kB / 0.5778 GB, free: 3.453 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.08e-05/0.3753, allocations: 4 kB / 0.5778 GB, free: 3.449 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.631e-05/0.3753, allocations: 20 kB / 0.5778 GB, free: 3.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.977e-06/0.3753, allocations: 8 kB / 0.5778 GB, free: 3.422 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/0.3753, allocations: 7.938 kB / 0.5778 GB, free: 3.414 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/0.3766, allocations: 0.916 MB / 0.5787 GB, free: 2.449 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.466e-05/0.3767, allocations: 47.66 kB / 0.5787 GB, free: 2.402 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.845e-05/0.3767, allocations: 23.98 kB / 0.5788 GB, free: 2.379 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002816/0.377, allocations: 23.94 kB / 0.5788 GB, free: 2.355 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.811e-05/0.3771, allocations: 40.36 kB / 0.5788 GB, free: 2.312 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-05/0.3771, allocations: 23.98 kB / 0.5788 GB, free: 2.289 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001656/0.3773, allocations: 169.2 kB / 0.579 GB, free: 2.129 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3773, allocations: 0 / 0.579 GB, free: 2.129 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005541/0.3778, allocations: 140 kB / 0.5791 GB, free: 1.992 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.0001472/0.378, allocations: 127.6 kB / 0.5793 GB, free: 1.859 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007257/0.3787, allocations: 435.6 kB / 0.5797 GB, free: 1.441 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3787, allocations: 0 / 0.5797 GB, free: 1.441 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003287/0.379, allocations: 226.1 kB / 0.5799 GB, free: 1.215 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008473/0.3799, allocations: 137.1 kB / 0.58 GB, free: 1.086 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002675/0.3826, allocations: 1.69 MB / 0.5817 GB, free: 15.32 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.3828, allocations: 242 kB / 0.5819 GB, free: 15.06 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.383, allocations: 47.44 kB / 0.5819 GB, free: 15.01 MB / 430.1 MB Notification: Performance of SimCode: time 6.52e-07/0.383, allocations: 0 / 0.5819 GB, free: 15.01 MB / 430.1 MB Notification: Performance of Templates: time 0.01002/0.393, allocations: 6.244 MB / 0.588 GB, free: 8.797 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 -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: 8.641006572172046]