Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.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.001341/0.001341, allocations: 112.2 kB / 21.19 MB, free: 0.7812 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.001521/0.001521, allocations: 214.5 kB / 24.49 MB, free: 4.18 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.499/1.499, allocations: 230.6 MB / 258.3 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2195/0.2195, allocations: 44.92 MB / 359.6 MB, free: 6.395 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia") translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 77.61 kB / 0.4943 GB, free: 10.24 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.314, allocations: 65.46 MB / 0.5582 GB, free: 7.711 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004447/0.3184, allocations: 3.1 MB / 0.5613 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009354/0.3193, allocations: 414.5 kB / 0.5617 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001542/0.3195, allocations: 15.94 kB / 0.5617 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001343/0.3196, allocations: 59.31 kB / 0.5617 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003278/0.32, allocations: 162.6 kB / 0.5619 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002382/0.3202, allocations: 107.8 kB / 0.562 GB, free: 3.863 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005702/0.3208, allocations: 0.5443 MB / 0.5625 GB, free: 3.316 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002757/0.321, allocations: 117.2 kB / 0.5626 GB, free: 3.199 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002672/0.3213, allocations: 211.3 kB / 0.5628 GB, free: 2.992 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002837/0.3216, allocations: 215 kB / 0.563 GB, free: 2.781 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.392e-05/0.3217, allocations: 44 kB / 0.5631 GB, free: 2.738 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.271e-05/0.3217, allocations: 40 kB / 0.5631 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.495e-05/0.3218, allocations: 91.69 kB / 0.5632 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002375/0.3221, allocations: 250.9 kB / 0.5634 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005715/0.3226, allocations: 0.5236 MB / 0.564 GB, free: 1.844 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3226, allocations: 0 / 0.564 GB, free: 1.844 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3226, allocations: 0 / 0.564 GB, free: 1.844 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.3226, allocations: 4 kB / 0.564 GB, free: 1.84 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001037/0.3237, allocations: 0.6571 MB / 0.5646 GB, free: 1.145 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.3237, allocations: 8.031 kB / 0.5646 GB, free: 1.137 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.359e-05/0.3238, allocations: 60.61 kB / 0.5647 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003274/0.3241, allocations: 225.9 kB / 0.5649 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.987e-05/0.3242, allocations: 45.31 kB / 0.5649 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.039e-05/0.3243, allocations: 52.33 kB / 0.565 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006919/0.325, allocations: 450.7 kB / 0.5654 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.327e-05/0.325, allocations: 12.12 kB / 0.5654 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.156e-05/0.325, allocations: 31.94 kB / 0.5654 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.3251, allocations: 12 kB / 0.5655 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004492/0.3255, allocations: 250 kB / 0.5657 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002301/0.3278, allocations: 1.652 MB / 0.5673 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005608/0.3284, allocations: 411.7 kB / 0.5677 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002045/0.3286, allocations: 147.6 kB / 0.5678 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.3286, allocations: 12 kB / 0.5679 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.119e-05/0.3286, allocations: 46.5 kB / 0.5679 GB, free: 13.51 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 2.164e-06/0.3286, allocations: 0 / 0.5679 GB, free: 13.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007628/0.3294, allocations: 353.9 kB / 0.5682 GB, free: 13.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001629/0.3296, allocations: 268.9 kB / 0.5685 GB, free: 12.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002645/0.3298, allocations: 254.1 kB / 0.5687 GB, free: 12.58 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.3299, allocations: 33.7 kB / 0.5688 GB, free: 12.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/0.33, allocations: 252.2 kB / 0.569 GB, free: 12.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/0.3302, allocations: 194.4 kB / 0.5692 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/0.3303, allocations: 110.6 kB / 0.5693 GB, free: 11.99 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.3305, allocations: 350.9 kB / 0.5696 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002051/0.3307, allocations: 118 kB / 0.5697 GB, free: 11.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004489/0.3312, allocations: 417.6 kB / 0.5701 GB, free: 10.97 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006994/0.3319, allocations: 0.5737 MB / 0.5707 GB, free: 10.26 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.3319, allocations: 7.938 kB / 0.5707 GB, free: 10.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008598/0.3327, allocations: 0.5672 MB / 0.5713 GB, free: 9.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.3327, allocations: 8 kB / 0.5713 GB, free: 9.672 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.3328, allocations: 12 kB / 0.5713 GB, free: 9.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.878e-05/0.3328, allocations: 16.75 kB / 0.5713 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000565/0.3333, allocations: 183.7 kB / 0.5715 GB, free: 9.465 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-05/0.3334, allocations: 19.92 kB / 0.5715 GB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002775/0.3336, allocations: 67.52 kB / 0.5716 GB, free: 9.379 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.789e-05/0.3337, allocations: 32 kB / 0.5716 GB, free: 9.348 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (86): * Single equations (assignments): 86 * 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.0001974/0.3339, allocations: 181.6 kB / 0.5718 GB, free: 9.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001986/0.3341, allocations: 39.77 kB / 0.5718 GB, free: 9.121 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.882e-05/0.3342, allocations: 41.7 kB / 0.5718 GB, free: 9.078 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.958e-06/0.3342, allocations: 11.94 kB / 0.5719 GB, free: 9.066 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.3342, allocations: 4 kB / 0.5719 GB, free: 9.062 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.3342, allocations: 7.984 kB / 0.5719 GB, free: 9.055 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.3352, allocations: 388.3 kB / 0.5722 GB, free: 8.633 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.3352, allocations: 4 kB / 0.5722 GB, free: 8.629 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005674/0.3358, allocations: 123.8 kB / 0.5724 GB, free: 8.508 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/0.3358, allocations: 4 kB / 0.5724 GB, free: 8.504 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.413e-05/0.3359, allocations: 16 kB / 0.5724 GB, free: 8.488 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/0.3359, allocations: 7.938 kB / 0.5724 GB, free: 8.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3359, allocations: 0 / 0.5724 GB, free: 8.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009373/0.3368, allocations: 1.092 MB / 0.5734 GB, free: 7.363 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.37e-05/0.3369, allocations: 39.73 kB / 0.5735 GB, free: 7.324 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.23e-05/0.3369, allocations: 20 kB / 0.5735 GB, free: 7.305 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004097/0.3373, allocations: 11.94 kB / 0.5735 GB, free: 7.293 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.796e-05/0.3374, allocations: 35.83 kB / 0.5736 GB, free: 7.258 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.077e-05/0.3374, allocations: 15.98 kB / 0.5736 GB, free: 7.242 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001599/0.3376, allocations: 169.2 kB / 0.5737 GB, free: 7.074 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3376, allocations: 0 / 0.5737 GB, free: 7.074 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008504/0.3384, allocations: 139.7 kB / 0.5739 GB, free: 6.938 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.w) * 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 (42): * Single equations (assignments): 42 * 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.0001958/0.3386, allocations: 118.9 kB / 0.574 GB, free: 6.812 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005679/0.3392, allocations: 337 kB / 0.5743 GB, free: 6.484 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3392, allocations: 0 / 0.5743 GB, free: 6.484 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001761/0.3393, allocations: 120.8 kB / 0.5744 GB, free: 6.367 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/0.3406, allocations: 100.1 kB / 0.5745 GB, free: 6.273 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002982/0.3436, allocations: 2.014 MB / 0.5765 GB, free: 4.199 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005097/0.3441, allocations: 0.8352 MB / 0.5773 GB, free: 3.336 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.365e-05/0.3442, allocations: 31.44 kB / 0.5773 GB, free: 3.305 MB / 414.1 MB Notification: Performance of SimCode: time 6.72e-07/0.3442, allocations: 4 kB / 0.5773 GB, free: 3.301 MB / 414.1 MB Notification: Performance of Templates: time 0.008246/0.3524, allocations: 5.129 MB / 0.5823 GB, free: 14.18 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.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.405518948799]