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.001969/0.001969, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002385/0.002385, allocations: 208.3 kB / 23.73 MB, free: 4.523 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.594/1.594, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2441/0.2441, allocations: 46.95 MB / 360.9 MB, free: 4.016 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.002062/0.002062, allocations: 67.89 kB / 0.4966 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.3771, allocations: 66.04 MB / 0.5611 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.0046/0.3817, allocations: 3.008 MB / 0.564 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001479/0.3832, allocations: 0.8061 MB / 0.5648 GB, free: 332 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001722/0.3834, allocations: 15.88 kB / 0.5648 GB, free: 316 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001943/0.3836, allocations: 71.25 kB / 0.5649 GB, free: 244 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003467/0.3839, allocations: 178.5 kB / 0.565 GB, free: 64 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002497/0.3842, allocations: 103.9 kB / 0.5651 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006109/0.3848, allocations: 0.6024 MB / 0.5657 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002992/0.3851, allocations: 125.8 kB / 0.5658 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003097/0.3854, allocations: 227.3 kB / 0.5661 GB, free: 15 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003223/0.3857, allocations: 246.9 kB / 0.5663 GB, free: 14.76 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.167e-05/0.3858, allocations: 40 kB / 0.5663 GB, free: 14.72 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.852e-05/0.3858, allocations: 44 kB / 0.5664 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.824e-05/0.3859, allocations: 103.6 kB / 0.5665 GB, free: 14.58 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002406/0.3862, allocations: 223 kB / 0.5667 GB, free: 14.36 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006633/0.3868, allocations: 0.5627 MB / 0.5672 GB, free: 13.8 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.3869, allocations: 0 / 0.5672 GB, free: 13.8 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3869, allocations: 0 / 0.5672 GB, free: 13.8 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.3869, allocations: 7.922 kB / 0.5672 GB, free: 13.79 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.001232/0.3881, allocations: 0.696 MB / 0.5679 GB, free: 13.06 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.3881, allocations: 15.97 kB / 0.5679 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.483e-05/0.3882, allocations: 52.61 kB / 0.568 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004754/0.3887, allocations: 276.7 kB / 0.5683 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.672e-05/0.3887, allocations: 33.38 kB / 0.5683 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.208e-05/0.3888, allocations: 56.33 kB / 0.5683 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007375/0.3896, allocations: 434.9 kB / 0.5688 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.009e-05/0.3896, allocations: 7.953 kB / 0.5688 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.424e-05/0.3896, allocations: 20 kB / 0.5688 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.3897, allocations: 12 kB / 0.5688 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005232/0.3902, allocations: 312.4 kB / 0.5691 GB, free: 11.83 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001616/0.3918, allocations: 0.9404 MB / 0.57 GB, free: 10.85 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007488/0.3926, allocations: 377.1 kB / 0.5704 GB, free: 10.46 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002935/0.3928, allocations: 187 kB / 0.5706 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.3929, allocations: 8.438 kB / 0.5706 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.433e-05/0.3929, allocations: 46.94 kB / 0.5706 GB, free: 10.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=62): time 2.184e-06/0.3929, allocations: 0 / 0.5706 GB, free: 10.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.002999/0.3959, allocations: 1.845 MB / 0.5724 GB, free: 8.273 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.417e-05/0.396, allocations: 85.61 kB / 0.5725 GB, free: 8.168 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002547/0.3962, allocations: 241.8 kB / 0.5727 GB, free: 7.926 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.3963, allocations: 33.7 kB / 0.5727 GB, free: 7.887 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.3964, allocations: 213.3 kB / 0.573 GB, free: 7.676 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002201/0.3966, allocations: 285.5 kB / 0.5732 GB, free: 7.395 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001566/0.3968, allocations: 114.7 kB / 0.5733 GB, free: 7.273 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.397, allocations: 366.7 kB / 0.5737 GB, free: 6.906 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002657/0.3973, allocations: 157.9 kB / 0.5738 GB, free: 6.754 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003647/0.3976, allocations: 276.9 kB / 0.5741 GB, free: 6.449 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006885/0.3983, allocations: 467.8 kB / 0.5745 GB, free: 5.957 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3983, allocations: 4 kB / 0.5745 GB, free: 5.953 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008638/0.3992, allocations: 0.5671 MB / 0.5751 GB, free: 5.379 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.3992, allocations: 8 kB / 0.5751 GB, free: 5.371 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.3992, allocations: 0 / 0.5751 GB, free: 5.371 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.426e-05/0.3992, allocations: 8 kB / 0.5751 GB, free: 5.363 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006122/0.3998, allocations: 179.7 kB / 0.5753 GB, free: 5.188 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.644e-05/0.3999, allocations: 16.27 kB / 0.5753 GB, free: 5.172 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002557/0.4001, allocations: 20 kB / 0.5753 GB, free: 5.152 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.929e-05/0.4002, allocations: 28.06 kB / 0.5754 GB, free: 5.125 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.0002179/0.4004, allocations: 185.5 kB / 0.5755 GB, free: 4.934 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.307e-05/0.4005, allocations: 47.72 kB / 0.5756 GB, free: 4.887 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.4006, allocations: 55.61 kB / 0.5756 GB, free: 4.832 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.4006, allocations: 4 kB / 0.5756 GB, free: 4.828 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.4006, allocations: 4 kB / 0.5756 GB, free: 4.824 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.4006, allocations: 7.984 kB / 0.5756 GB, free: 4.816 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001902/0.4025, allocations: 1.283 MB / 0.5769 GB, free: 3.441 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.932e-06/0.4025, allocations: 4.344 kB / 0.5769 GB, free: 3.438 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006501/0.4032, allocations: 159.8 kB / 0.5771 GB, free: 3.281 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.015e-05/0.4032, allocations: 8 kB / 0.5771 GB, free: 3.273 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.948e-05/0.4032, allocations: 20 kB / 0.5771 GB, free: 3.254 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.775e-06/0.4032, allocations: 7.938 kB / 0.5771 GB, free: 3.246 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.4032, allocations: 7.938 kB / 0.5771 GB, free: 3.238 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.4044, allocations: 0.9166 MB / 0.578 GB, free: 2.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.531e-05/0.4045, allocations: 39.72 kB / 0.578 GB, free: 2.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.548e-05/0.4045, allocations: 16 kB / 0.578 GB, free: 2.215 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002965/0.4048, allocations: 31.92 kB / 0.5781 GB, free: 2.184 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.138e-05/0.4049, allocations: 48.3 kB / 0.5781 GB, free: 2.133 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-05/0.4049, allocations: 23.98 kB / 0.5781 GB, free: 2.109 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001492/0.4051, allocations: 165.2 kB / 0.5783 GB, free: 1.953 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4051, allocations: 0 / 0.5783 GB, free: 1.953 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005355/0.4056, allocations: 144 kB / 0.5784 GB, free: 1.812 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.0001555/0.4058, allocations: 123.6 kB / 0.5786 GB, free: 1.684 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007336/0.4065, allocations: 435.6 kB / 0.579 GB, free: 1.266 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4065, allocations: 0 / 0.579 GB, free: 1.266 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003006/0.4068, allocations: 222.2 kB / 0.5792 GB, free: 1.043 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008485/0.4077, allocations: 137 kB / 0.5793 GB, free: 0.918 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002596/0.4103, allocations: 1.661 MB / 0.5809 GB, free: 15.19 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/0.4105, allocations: 242 kB / 0.5812 GB, free: 14.93 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001996/0.4107, allocations: 60.66 kB / 0.5812 GB, free: 14.87 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.4108, allocations: 39.44 kB / 0.5813 GB, free: 14.83 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4108, allocations: 0 / 0.5813 GB, free: 14.83 MB / 430.1 MB Notification: Performance of Templates: time 0.0119/0.4227, allocations: 6.191 MB / 0.5873 GB, free: 8.746 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.552486391272396]