Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001352/0.001352, allocations: 112.2 kB / 21.19 MB, free: 0.7539 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.001368/0.001368, allocations: 213.7 kB / 24.49 MB, free: 4.137 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.401/1.401, allocations: 230.6 MB / 258.3 MB, free: 7.973 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.2238/0.2238, allocations: 46.94 MB / 361.6 MB, free: 4.234 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.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.1.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.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 71.88 kB / 0.4974 GB, free: 7.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3364, allocations: 66.03 MB / 0.5619 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004384/0.3408, allocations: 3.101 MB / 0.5649 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008445/0.3416, allocations: 410.5 kB / 0.5653 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001485/0.3418, allocations: 15.88 kB / 0.5653 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001426/0.3419, allocations: 63.3 kB / 0.5654 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003359/0.3422, allocations: 166.6 kB / 0.5655 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.3425, allocations: 107.8 kB / 0.5656 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007176/0.3433, allocations: 0.5366 MB / 0.5662 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002867/0.3435, allocations: 125 kB / 0.5663 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002918/0.3438, allocations: 207.3 kB / 0.5665 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003178/0.3441, allocations: 211 kB / 0.5667 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.975e-05/0.3442, allocations: 44 kB / 0.5667 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.791e-05/0.3443, allocations: 40 kB / 0.5668 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.3444, allocations: 95.67 kB / 0.5668 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002804/0.3447, allocations: 242.9 kB / 0.5671 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006659/0.3454, allocations: 0.5314 MB / 0.5676 GB, free: 14.52 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.3454, allocations: 4 kB / 0.5676 GB, free: 14.51 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3454, allocations: 3.938 kB / 0.5676 GB, free: 14.51 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.079e-05/0.3454, allocations: 0 / 0.5676 GB, free: 14.51 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001049/0.3464, allocations: 0.6493 MB / 0.5682 GB, free: 13.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.3465, allocations: 8.031 kB / 0.5682 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.125e-05/0.3466, allocations: 56.61 kB / 0.5683 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003381/0.3469, allocations: 233.8 kB / 0.5685 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.039e-05/0.347, allocations: 37.38 kB / 0.5686 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.557e-05/0.3471, allocations: 56.31 kB / 0.5686 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007101/0.3478, allocations: 458.6 kB / 0.569 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.88e-05/0.3478, allocations: 8.141 kB / 0.5691 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.108e-05/0.3478, allocations: 27.94 kB / 0.5691 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/0.3478, allocations: 12 kB / 0.5691 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004213/0.3483, allocations: 251.7 kB / 0.5693 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00234/0.3506, allocations: 1.66 MB / 0.571 GB, free: 10.9 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005487/0.3512, allocations: 395.5 kB / 0.5713 GB, free: 10.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002126/0.3514, allocations: 147.6 kB / 0.5715 GB, free: 10.26 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.3514, allocations: 12 kB / 0.5715 GB, free: 10.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.3514, allocations: 46.48 kB / 0.5715 GB, free: 10.19 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 2.034e-06/0.3514, allocations: 0 / 0.5715 GB, free: 10.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007165/0.3522, allocations: 358.5 kB / 0.5719 GB, free: 9.836 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001561/0.3523, allocations: 272.9 kB / 0.5721 GB, free: 9.508 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002498/0.3526, allocations: 258 kB / 0.5724 GB, free: 9.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.3526, allocations: 33.7 kB / 0.5724 GB, free: 9.211 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/0.3528, allocations: 248.2 kB / 0.5726 GB, free: 8.965 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000145/0.3529, allocations: 190.9 kB / 0.5728 GB, free: 8.777 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/0.353, allocations: 114.6 kB / 0.5729 GB, free: 8.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.3532, allocations: 350.7 kB / 0.5733 GB, free: 8.309 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/0.3534, allocations: 121.9 kB / 0.5734 GB, free: 8.188 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004224/0.3538, allocations: 413.6 kB / 0.5738 GB, free: 7.645 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000682/0.3545, allocations: 0.5688 MB / 0.5743 GB, free: 6.938 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.3545, allocations: 4 kB / 0.5743 GB, free: 6.934 MB / 414.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008377/0.3554, allocations: 0.571 MB / 0.5749 GB, free: 6.355 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.3554, allocations: 12 kB / 0.5749 GB, free: 6.344 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.3554, allocations: 8.906 kB / 0.5749 GB, free: 6.336 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.719e-05/0.3554, allocations: 16 kB / 0.5749 GB, free: 6.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005542/0.356, allocations: 183.7 kB / 0.5751 GB, free: 6.141 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-05/0.356, allocations: 16.25 kB / 0.5751 GB, free: 6.125 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002608/0.3563, allocations: 67.52 kB / 0.5752 GB, free: 6.059 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.659e-05/0.3563, allocations: 32 kB / 0.5752 GB, free: 6.027 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.0001972/0.3565, allocations: 181.6 kB / 0.5754 GB, free: 5.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001901/0.3567, allocations: 47.73 kB / 0.5754 GB, free: 5.793 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.714e-05/0.3568, allocations: 45.64 kB / 0.5755 GB, free: 5.746 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.3568, allocations: 11.94 kB / 0.5755 GB, free: 5.734 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/0.3568, allocations: 8 kB / 0.5755 GB, free: 5.727 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.3568, allocations: 0 / 0.5755 GB, free: 5.727 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009998/0.3578, allocations: 388.3 kB / 0.5759 GB, free: 5.305 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.3578, allocations: 4 kB / 0.5759 GB, free: 5.301 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005552/0.3584, allocations: 119.9 kB / 0.576 GB, free: 5.184 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.3584, allocations: 7.938 kB / 0.576 GB, free: 5.176 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.95e-05/0.3584, allocations: 16 kB / 0.576 GB, free: 5.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-05/0.3584, allocations: 15.91 kB / 0.576 GB, free: 5.145 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.3584, allocations: 0 / 0.576 GB, free: 5.145 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009157/0.3593, allocations: 1.09 MB / 0.5771 GB, free: 4.027 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.848e-05/0.3594, allocations: 35.75 kB / 0.5771 GB, free: 3.992 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.904e-05/0.3594, allocations: 16 kB / 0.5771 GB, free: 3.977 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000382/0.3598, allocations: 11.94 kB / 0.5772 GB, free: 3.965 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/0.3599, allocations: 31.94 kB / 0.5772 GB, free: 3.934 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.3599, allocations: 12.12 kB / 0.5772 GB, free: 3.922 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001622/0.3601, allocations: 169.2 kB / 0.5774 GB, free: 3.754 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3601, allocations: 0 / 0.5774 GB, free: 3.754 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007907/0.3608, allocations: 139.7 kB / 0.5775 GB, free: 3.617 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.0002016/0.361, allocations: 122.8 kB / 0.5776 GB, free: 3.488 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000545/0.3616, allocations: 344.6 kB / 0.5779 GB, free: 3.152 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3616, allocations: 0 / 0.5779 GB, free: 3.152 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001663/0.3618, allocations: 119.8 kB / 0.578 GB, free: 3.035 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/0.3629, allocations: 98.42 kB / 0.5781 GB, free: 2.941 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002841/0.3658, allocations: 2.01 MB / 0.5801 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004861/0.3663, allocations: 0.8313 MB / 0.5809 GB, free: 12 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.3664, allocations: 35.48 kB / 0.581 GB, free: 15.97 MB / 430.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3664, allocations: 0 / 0.581 GB, free: 15.97 MB / 430.1 MB Notification: Performance of Templates: time 0.008222/0.3746, allocations: 5.133 MB / 0.586 GB, free: 10.86 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 7.888511318014935]