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.001658/0.001658, 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.00197/0.00197, allocations: 209.8 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.631/1.631, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2343/0.2343, allocations: 44.93 MB / 358.8 MB, free: 6.035 MB / 286.1 MB " [Timeout remaining time 179] 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.002115/0.002115, allocations: 63.91 kB / 0.4935 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3417, allocations: 65.48 MB / 0.5575 GB, free: 7.422 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004528/0.3463, allocations: 2.807 MB / 0.5602 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007502/0.347, allocations: 410.5 kB / 0.5606 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000153/0.3472, allocations: 15.88 kB / 0.5606 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001373/0.3473, allocations: 67.36 kB / 0.5607 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003201/0.3476, allocations: 170.5 kB / 0.5608 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002578/0.3479, allocations: 95.88 kB / 0.5609 GB, free: 3.852 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005633/0.3484, allocations: 0.5403 MB / 0.5615 GB, free: 3.309 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002506/0.3487, allocations: 109.2 kB / 0.5616 GB, free: 3.199 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002635/0.349, allocations: 211.2 kB / 0.5618 GB, free: 2.992 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002613/0.3492, allocations: 191 kB / 0.5619 GB, free: 2.805 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.239e-05/0.3493, allocations: 40 kB / 0.562 GB, free: 2.766 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.687e-05/0.3494, allocations: 47.94 kB / 0.562 GB, free: 2.719 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.494e-05/0.3494, allocations: 91.69 kB / 0.5621 GB, free: 2.629 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002245/0.3497, allocations: 215.1 kB / 0.5623 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005806/0.3503, allocations: 0.5197 MB / 0.5628 GB, free: 1.902 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.964e-06/0.3503, allocations: 4 kB / 0.5628 GB, free: 1.898 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3503, allocations: 0 / 0.5628 GB, free: 1.898 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.3503, allocations: 4 kB / 0.5628 GB, free: 1.895 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.001043/0.3513, allocations: 0.6493 MB / 0.5635 GB, free: 1.207 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.3514, allocations: 12.03 kB / 0.5635 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.18e-05/0.3514, allocations: 52.61 kB / 0.5635 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000355/0.3518, allocations: 225.8 kB / 0.5637 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.216e-05/0.3518, allocations: 37.38 kB / 0.5638 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-05/0.3519, allocations: 56.31 kB / 0.5638 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006798/0.3526, allocations: 458.7 kB / 0.5643 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.571e-05/0.3526, allocations: 16.08 kB / 0.5643 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.823e-05/0.3527, allocations: 19.94 kB / 0.5643 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/0.3527, allocations: 15.94 kB / 0.5643 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004304/0.3531, allocations: 259.7 kB / 0.5646 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002248/0.3554, allocations: 1.5 MB / 0.566 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000676/0.3561, allocations: 399.4 kB / 0.5664 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002204/0.3563, allocations: 148.2 kB / 0.5666 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.3563, allocations: 12 kB / 0.5666 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/0.3563, allocations: 50.48 kB / 0.5666 GB, free: 13.74 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 1.904e-06/0.3563, allocations: 0 / 0.5666 GB, free: 13.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.0008061/0.3571, allocations: 357.1 kB / 0.567 GB, free: 13.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002271/0.3574, allocations: 273 kB / 0.5672 GB, free: 13.06 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002639/0.3576, allocations: 249.9 kB / 0.5675 GB, free: 12.81 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.3577, allocations: 29.7 kB / 0.5675 GB, free: 12.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001799/0.3578, allocations: 248.8 kB / 0.5677 GB, free: 12.53 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001568/0.358, allocations: 194.3 kB / 0.5679 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001461/0.3582, allocations: 118.6 kB / 0.568 GB, free: 12.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.3583, allocations: 346.8 kB / 0.5683 GB, free: 11.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002158/0.3585, allocations: 122 kB / 0.5685 GB, free: 11.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004662/0.359, allocations: 413.6 kB / 0.5689 GB, free: 11.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007439/0.3598, allocations: 0.5654 MB / 0.5694 GB, free: 10.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/0.3598, allocations: 4 kB / 0.5694 GB, free: 10.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008833/0.3606, allocations: 0.5754 MB / 0.57 GB, free: 9.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.3607, allocations: 8 kB / 0.57 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/0.3607, allocations: 15.98 kB / 0.57 GB, free: 9.887 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.427e-05/0.3607, allocations: 12 kB / 0.57 GB, free: 9.875 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005593/0.3613, allocations: 179.7 kB / 0.5702 GB, free: 9.699 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.676e-05/0.3613, allocations: 31.8 kB / 0.5702 GB, free: 9.668 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002636/0.3616, allocations: 68.58 kB / 0.5703 GB, free: 9.602 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.98e-05/0.3616, allocations: 36 kB / 0.5703 GB, free: 9.566 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.0001921/0.3618, allocations: 177.6 kB / 0.5705 GB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000185/0.362, allocations: 39.81 kB / 0.5705 GB, free: 9.344 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.202e-05/0.3621, allocations: 37.7 kB / 0.5706 GB, free: 9.305 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.3621, allocations: 7.938 kB / 0.5706 GB, free: 9.297 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/0.3621, allocations: 7.938 kB / 0.5706 GB, free: 9.289 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.478e-05/0.3621, allocations: 11.98 kB / 0.5706 GB, free: 9.277 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008882/0.363, allocations: 304.9 kB / 0.5709 GB, free: 8.949 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.363, allocations: 0 / 0.5709 GB, free: 8.949 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007626/0.3638, allocations: 123.9 kB / 0.571 GB, free: 8.828 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.136e-06/0.3638, allocations: 8 kB / 0.571 GB, free: 8.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.233e-05/0.3638, allocations: 16 kB / 0.571 GB, free: 8.805 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.736e-06/0.3638, allocations: 11.92 kB / 0.571 GB, free: 8.793 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3638, allocations: 0 / 0.571 GB, free: 8.793 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/0.365, allocations: 1.091 MB / 0.5721 GB, free: 7.676 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.098e-05/0.365, allocations: 31.75 kB / 0.5721 GB, free: 7.645 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.443e-05/0.3651, allocations: 8 kB / 0.5721 GB, free: 7.637 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003989/0.3655, allocations: 12 kB / 0.5721 GB, free: 7.625 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.866e-05/0.3656, allocations: 35.88 kB / 0.5722 GB, free: 7.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.116e-05/0.3656, allocations: 12 kB / 0.5722 GB, free: 7.578 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001554/0.3657, allocations: 169.2 kB / 0.5723 GB, free: 7.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3657, allocations: 0 / 0.5723 GB, free: 7.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008234/0.3666, allocations: 139.7 kB / 0.5725 GB, free: 7.273 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.0002031/0.3668, allocations: 114.9 kB / 0.5726 GB, free: 7.152 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005519/0.3673, allocations: 331.8 kB / 0.5729 GB, free: 6.828 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3673, allocations: 1.812 kB / 0.5729 GB, free: 6.828 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001789/0.3675, allocations: 119.8 kB / 0.573 GB, free: 6.711 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00122/0.3687, allocations: 112.9 kB / 0.5731 GB, free: 6.609 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002913/0.3716, allocations: 1.981 MB / 0.5751 GB, free: 4.574 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.3719, allocations: 224.3 kB / 0.5753 GB, free: 4.332 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001481/0.372, allocations: 47.44 kB / 0.5753 GB, free: 4.285 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.807e-05/0.3721, allocations: 35.44 kB / 0.5754 GB, free: 4.25 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3721, allocations: 0 / 0.5754 GB, free: 4.25 MB / 414.1 MB Notification: Performance of Templates: time 0.009633/0.3818, allocations: 4.725 MB / 0.58 GB, free: 15.61 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins/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: 5.649979697540402]