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.001621/0.001621, 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.001678/0.001678, allocations: 210.4 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.539/1.539, 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.2387/0.2387, allocations: 46.94 MB / 360.9 MB, free: 4.035 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.00207/0.00207, allocations: 75.83 kB / 0.4966 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3578, allocations: 66.04 MB / 0.5611 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004335/0.3621, allocations: 2.803 MB / 0.5638 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009277/0.3631, allocations: 418.5 kB / 0.5642 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001647/0.3632, allocations: 11.94 kB / 0.5642 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001531/0.3634, allocations: 63.3 kB / 0.5643 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003472/0.3637, allocations: 170.5 kB / 0.5645 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002649/0.364, allocations: 99.88 kB / 0.5645 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005928/0.3646, allocations: 0.5442 MB / 0.5651 GB, free: 52 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002755/0.3649, allocations: 113.3 kB / 0.5652 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002652/0.3651, allocations: 215.1 kB / 0.5654 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002859/0.3654, allocations: 223 kB / 0.5656 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.998e-05/0.3655, allocations: 40 kB / 0.5656 GB, free: 15.47 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.058e-05/0.3655, allocations: 48 kB / 0.5657 GB, free: 15.42 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.888e-05/0.3656, allocations: 83.7 kB / 0.5658 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002265/0.3659, allocations: 211.1 kB / 0.566 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000599/0.3665, allocations: 0.5314 MB / 0.5665 GB, free: 14.61 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3665, allocations: 0 / 0.5665 GB, free: 14.61 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3665, allocations: 0 / 0.5665 GB, free: 14.61 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.3665, allocations: 0 / 0.5665 GB, free: 14.61 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.001102/0.3676, allocations: 0.6571 MB / 0.5671 GB, free: 13.91 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.3676, allocations: 8.031 kB / 0.5671 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.711e-05/0.3677, allocations: 56.61 kB / 0.5672 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003614/0.3681, allocations: 225.8 kB / 0.5674 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.394e-05/0.3681, allocations: 37.38 kB / 0.5674 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.389e-05/0.3682, allocations: 52.33 kB / 0.5675 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007199/0.3689, allocations: 458.7 kB / 0.5679 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.425e-05/0.369, allocations: 12.08 kB / 0.5679 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.377e-05/0.369, allocations: 23.94 kB / 0.568 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.369, allocations: 12 kB / 0.568 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004341/0.3695, allocations: 259.7 kB / 0.5682 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002221/0.3717, allocations: 1.504 MB / 0.5697 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005685/0.3723, allocations: 399.8 kB / 0.5701 GB, free: 10.69 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002096/0.3725, allocations: 147.7 kB / 0.5702 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.3725, allocations: 11.94 kB / 0.5702 GB, free: 10.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.051e-05/0.3725, allocations: 50.48 kB / 0.5703 GB, free: 10.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 2.244e-06/0.3725, allocations: 0 / 0.5703 GB, free: 10.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007919/0.3733, allocations: 358.1 kB / 0.5706 GB, free: 10.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001536/0.3735, allocations: 265 kB / 0.5709 GB, free: 9.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.3737, allocations: 249.9 kB / 0.5711 GB, free: 9.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.361e-05/0.3738, allocations: 37.7 kB / 0.5711 GB, free: 9.477 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001887/0.374, allocations: 244.7 kB / 0.5714 GB, free: 9.234 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001567/0.3741, allocations: 198.4 kB / 0.5716 GB, free: 9.039 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001527/0.3743, allocations: 118.6 kB / 0.5717 GB, free: 8.918 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.3744, allocations: 346.8 kB / 0.572 GB, free: 8.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/0.3746, allocations: 117.9 kB / 0.5721 GB, free: 8.453 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004524/0.3751, allocations: 417.6 kB / 0.5725 GB, free: 7.906 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006897/0.3758, allocations: 0.5645 MB / 0.5731 GB, free: 7.203 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.3758, allocations: 4 kB / 0.5731 GB, free: 7.199 MB / 414.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008684/0.3767, allocations: 0.5675 MB / 0.5736 GB, free: 6.625 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.3767, allocations: 12 kB / 0.5736 GB, free: 6.613 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.3767, allocations: 12.25 kB / 0.5737 GB, free: 6.602 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.03e-05/0.3767, allocations: 16 kB / 0.5737 GB, free: 6.586 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005867/0.3773, allocations: 184.3 kB / 0.5738 GB, free: 6.406 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.712e-05/0.3773, allocations: 28.33 kB / 0.5739 GB, free: 6.379 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002849/0.3776, allocations: 59.52 kB / 0.5739 GB, free: 6.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.403e-05/0.3777, allocations: 43.98 kB / 0.574 GB, free: 6.277 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.0002334/0.3779, allocations: 181.6 kB / 0.5741 GB, free: 6.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001908/0.3781, allocations: 31.81 kB / 0.5742 GB, free: 6.059 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.052e-05/0.3782, allocations: 41.7 kB / 0.5742 GB, free: 6.016 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.3782, allocations: 12 kB / 0.5742 GB, free: 6.004 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.414e-05/0.3782, allocations: 7.938 kB / 0.5742 GB, free: 5.996 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.3782, allocations: 3.984 kB / 0.5742 GB, free: 5.992 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009316/0.3792, allocations: 308.9 kB / 0.5745 GB, free: 5.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.3792, allocations: 0 / 0.5745 GB, free: 5.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005845/0.3797, allocations: 127.9 kB / 0.5747 GB, free: 5.535 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.3797, allocations: 4 kB / 0.5747 GB, free: 5.531 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.152e-05/0.3798, allocations: 15.92 kB / 0.5747 GB, free: 5.516 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.027e-06/0.3798, allocations: 7.938 kB / 0.5747 GB, free: 5.508 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.3798, allocations: 4 kB / 0.5747 GB, free: 5.504 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000945/0.3807, allocations: 1.09 MB / 0.5757 GB, free: 4.387 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.931e-05/0.3808, allocations: 31.75 kB / 0.5758 GB, free: 4.355 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.04e-05/0.3808, allocations: 12 kB / 0.5758 GB, free: 4.344 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003992/0.3812, allocations: 8 kB / 0.5758 GB, free: 4.336 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.036e-05/0.3813, allocations: 35.88 kB / 0.5758 GB, free: 4.301 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.097e-05/0.3813, allocations: 20 kB / 0.5758 GB, free: 4.281 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001523/0.3815, allocations: 161.2 kB / 0.576 GB, free: 4.121 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3815, allocations: 0 / 0.576 GB, free: 4.121 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008721/0.3823, allocations: 139.7 kB / 0.5761 GB, free: 3.984 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.0002135/0.3826, allocations: 114.9 kB / 0.5762 GB, free: 3.863 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006113/0.3832, allocations: 339.8 kB / 0.5766 GB, free: 3.531 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3832, allocations: 1.875 kB / 0.5766 GB, free: 3.531 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001741/0.3833, allocations: 119.8 kB / 0.5767 GB, free: 3.414 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.3846, allocations: 108.9 kB / 0.5768 GB, free: 3.312 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00298/0.3876, allocations: 1.973 MB / 0.5787 GB, free: 1.285 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.3878, allocations: 224.3 kB / 0.5789 GB, free: 1.043 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001675/0.388, allocations: 47.44 kB / 0.579 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.502e-05/0.3881, allocations: 35.44 kB / 0.579 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3881, allocations: 0 / 0.579 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of Templates: time 0.0102/0.3983, allocations: 4.885 MB / 0.5838 GB, free: 12.17 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins/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: 5.447407521307468]