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.002177/0.002177, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002199/0.002199, allocations: 207.7 kB / 23.73 MB, free: 4.387 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.525/1.525, allocations: 230.6 MB / 257.5 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.2414/0.2414, allocations: 46.96 MB / 360.9 MB, free: 4.023 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.002102/0.002102, allocations: 72.06 kB / 0.4966 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3576/0.3597, allocations: 66.04 MB / 0.5611 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004793/0.3645, allocations: 2.994 MB / 0.564 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001474/0.366, allocations: 0.81 MB / 0.5648 GB, free: 352 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001998/0.3662, allocations: 15.88 kB / 0.5648 GB, free: 336 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002274/0.3664, allocations: 79.23 kB / 0.5649 GB, free: 256 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003399/0.3667, allocations: 170.5 kB / 0.565 GB, free: 84 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002764/0.367, allocations: 107.8 kB / 0.5651 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000674/0.3677, allocations: 0.5986 MB / 0.5657 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002755/0.368, allocations: 113.8 kB / 0.5658 GB, free: 15.26 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002747/0.3682, allocations: 235.2 kB / 0.5661 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002877/0.3685, allocations: 210.9 kB / 0.5663 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.806e-05/0.3686, allocations: 40 kB / 0.5663 GB, free: 14.78 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.305e-05/0.3687, allocations: 48 kB / 0.5663 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.537e-05/0.3688, allocations: 103.6 kB / 0.5664 GB, free: 14.63 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002355/0.369, allocations: 219.1 kB / 0.5666 GB, free: 14.42 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006614/0.3697, allocations: 0.5704 MB / 0.5672 GB, free: 13.85 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3697, allocations: 0 / 0.5672 GB, free: 13.85 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3697, allocations: 0 / 0.5672 GB, free: 13.85 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.3697, allocations: 0 / 0.5672 GB, free: 13.85 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.001207/0.3709, allocations: 0.6999 MB / 0.5679 GB, free: 13.12 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.371, allocations: 12.03 kB / 0.5679 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001112/0.3711, allocations: 56.61 kB / 0.568 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005694/0.3716, allocations: 264.7 kB / 0.5682 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.994e-05/0.3717, allocations: 37.38 kB / 0.5682 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.3718, allocations: 56.33 kB / 0.5683 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007151/0.3725, allocations: 438.9 kB / 0.5687 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.507e-05/0.3725, allocations: 7.953 kB / 0.5687 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.536e-05/0.3726, allocations: 27.98 kB / 0.5687 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/0.3726, allocations: 12 kB / 0.5688 GB, free: 12.19 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005196/0.3731, allocations: 312.5 kB / 0.5691 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001616/0.3747, allocations: 0.9404 MB / 0.57 GB, free: 10.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007745/0.3755, allocations: 377 kB / 0.5703 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003157/0.3758, allocations: 191 kB / 0.5705 GB, free: 10.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.881e-05/0.3759, allocations: 8.438 kB / 0.5705 GB, free: 10.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.3759, allocations: 39 kB / 0.5706 GB, free: 10.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=62): time 1.934e-06/0.3759, allocations: 0 / 0.5706 GB, free: 10.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.002952/0.3788, allocations: 1.848 MB / 0.5724 GB, free: 8.328 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.955e-05/0.3789, allocations: 85.61 kB / 0.5725 GB, free: 8.223 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/0.3792, allocations: 241.8 kB / 0.5727 GB, free: 7.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.597e-05/0.3792, allocations: 33.7 kB / 0.5727 GB, free: 7.941 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000175/0.3794, allocations: 217.3 kB / 0.5729 GB, free: 7.727 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002225/0.3796, allocations: 281.5 kB / 0.5732 GB, free: 7.449 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/0.3798, allocations: 118.7 kB / 0.5733 GB, free: 7.324 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.3799, allocations: 366.7 kB / 0.5737 GB, free: 6.957 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002689/0.3802, allocations: 157.9 kB / 0.5738 GB, free: 6.805 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003624/0.3806, allocations: 272.9 kB / 0.5741 GB, free: 6.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006914/0.3813, allocations: 466.6 kB / 0.5745 GB, free: 6.008 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.3813, allocations: 4 kB / 0.5745 GB, free: 6.004 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008381/0.3821, allocations: 0.5683 MB / 0.5751 GB, free: 5.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.3821, allocations: 8 kB / 0.5751 GB, free: 5.422 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.3821, allocations: 0 / 0.5751 GB, free: 5.422 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/0.3822, allocations: 8 kB / 0.5751 GB, free: 5.414 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000583/0.3827, allocations: 176.1 kB / 0.5753 GB, free: 5.242 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/0.3827, allocations: 15.94 kB / 0.5753 GB, free: 5.227 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002474/0.383, allocations: 23.98 kB / 0.5753 GB, free: 5.203 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-05/0.383, allocations: 28 kB / 0.5753 GB, free: 5.176 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.0002301/0.3833, allocations: 181.6 kB / 0.5755 GB, free: 4.988 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.18e-05/0.3834, allocations: 47.72 kB / 0.5755 GB, free: 4.941 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001186/0.3835, allocations: 55.62 kB / 0.5756 GB, free: 4.887 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.3835, allocations: 7.984 kB / 0.5756 GB, free: 4.879 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.3835, allocations: 4 kB / 0.5756 GB, free: 4.875 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.3835, allocations: 7.984 kB / 0.5756 GB, free: 4.867 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001892/0.3854, allocations: 1.276 MB / 0.5769 GB, free: 3.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/0.3854, allocations: 8.406 kB / 0.5769 GB, free: 3.492 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006185/0.386, allocations: 163.8 kB / 0.577 GB, free: 3.332 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.097e-06/0.386, allocations: 8 kB / 0.577 GB, free: 3.324 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.574e-05/0.3861, allocations: 19.94 kB / 0.577 GB, free: 3.305 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.226e-06/0.3861, allocations: 7.984 kB / 0.577 GB, free: 3.297 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.3861, allocations: 7.938 kB / 0.5771 GB, free: 3.289 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.3872, allocations: 0.9168 MB / 0.578 GB, free: 2.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.313e-05/0.3873, allocations: 35.72 kB / 0.578 GB, free: 2.285 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.79e-05/0.3874, allocations: 23.98 kB / 0.578 GB, free: 2.262 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002777/0.3876, allocations: 27.88 kB / 0.578 GB, free: 2.234 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.985e-05/0.3877, allocations: 52.34 kB / 0.5781 GB, free: 2.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.812e-05/0.3877, allocations: 20 kB / 0.5781 GB, free: 2.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00015/0.3879, allocations: 165.2 kB / 0.5783 GB, free: 2.004 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3879, allocations: 0 / 0.5783 GB, free: 2.004 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005088/0.3884, allocations: 144 kB / 0.5784 GB, free: 1.863 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.0001372/0.3885, allocations: 127.5 kB / 0.5785 GB, free: 1.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007229/0.3893, allocations: 435.6 kB / 0.5789 GB, free: 1.312 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.3893, allocations: 3.938 kB / 0.5789 GB, free: 1.309 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003216/0.3896, allocations: 226.2 kB / 0.5792 GB, free: 1.082 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008437/0.3904, allocations: 132.5 kB / 0.5793 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002623/0.393, allocations: 1.661 MB / 0.5809 GB, free: 15.23 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/0.3933, allocations: 246 kB / 0.5811 GB, free: 14.96 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001904/0.3935, allocations: 64.64 kB / 0.5812 GB, free: 14.9 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.3936, allocations: 39.44 kB / 0.5812 GB, free: 14.86 MB / 430.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3936, allocations: 0 / 0.5812 GB, free: 14.86 MB / 430.1 MB Notification: Performance of Templates: time 0.01194/0.4055, allocations: 5.989 MB / 0.5871 GB, free: 8.98 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins/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.436632143333554]