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.001557/0.001557, allocations: 67.77 kB / 21.69 MB, free: 2.852 MB / 18.57 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.001576/0.001576, allocations: 165.5 kB / 24.99 MB, free: 8.742 MB / 18.57 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 0.9712/0.9712, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.2745/0.2745, allocations: 34.25 MB / 296 MB, free: 0.6797 MB / 266.7 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 1.333e-06/1.333e-06, allocations: 0 / 378 MB, free: 2.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.003e-05/2.136e-05, allocations: 2.312 kB / 378 MB, free: 2.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.00308/0.003101, allocations: 3.068 MB / 381.1 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005867/0.003688, allocations: 418.5 kB / 381.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.003802, allocations: 11.94 kB / 381.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 9.033e-05/0.003892, allocations: 67.31 kB / 381.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002277/0.00412, allocations: 174.4 kB / 381.7 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001943/0.004314, allocations: 107.8 kB / 381.8 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004312/0.004745, allocations: 0.5634 MB / 382.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002246/0.00497, allocations: 105.2 kB / 382.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002994/0.005269, allocations: 323.3 kB / 382.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.00545, allocations: 163.5 kB / 383 MB, free: 13.95 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.443e-05/0.005494, allocations: 40 kB / 383 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.184e-05/0.005536, allocations: 40 kB / 383.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.308e-05/0.005599, allocations: 95.64 kB / 383.1 MB, free: 13.78 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.005724, allocations: 183.6 kB / 383.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000301/0.006024, allocations: 346.6 kB / 383.7 MB, free: 13.26 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.006027, allocations: 0 / 383.7 MB, free: 13.26 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.006027, allocations: 0 / 383.7 MB, free: 13.26 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.006033, allocations: 0 / 383.7 MB, free: 13.26 MB / 362.7 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.0007046/0.006738, allocations: 0.7493 MB / 384.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.006775, allocations: 12.03 kB / 384.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.733e-05/0.006872, allocations: 88.66 kB / 384.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002514/0.007124, allocations: 240.3 kB / 384.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.00715, allocations: 37.38 kB / 384.8 MB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.071e-05/0.00721, allocations: 52.33 kB / 384.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004307/0.007641, allocations: 404 kB / 385.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.535e-05/0.007666, allocations: 12.12 kB / 385.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.165e-05/0.007698, allocations: 24.36 kB / 385.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/0.007713, allocations: 16.38 kB / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002303/0.007944, allocations: 178.4 kB / 385.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001412/0.009356, allocations: 1.904 MB / 387.4 MB, free: 9.383 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003674/0.009723, allocations: 423.7 kB / 387.8 MB, free: 8.855 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.009847, allocations: 145.7 kB / 387.9 MB, free: 8.676 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.009866, allocations: 15.98 kB / 387.9 MB, free: 8.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.009899, allocations: 57.3 kB / 388 MB, free: 8.594 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 1.643e-06/0.009901, allocations: 3.938 kB / 388 MB, free: 8.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.0005065/0.01041, allocations: 317.1 kB / 388.3 MB, free: 8.273 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/0.01054, allocations: 265 kB / 388.6 MB, free: 7.953 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/0.01074, allocations: 292.5 kB / 388.8 MB, free: 7.648 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.01077, allocations: 37.7 kB / 388.9 MB, free: 7.605 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/0.01091, allocations: 294.9 kB / 389.2 MB, free: 7.312 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.01102, allocations: 190.9 kB / 389.4 MB, free: 7.125 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.263e-05/0.01111, allocations: 116.3 kB / 389.5 MB, free: 7.004 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.01127, allocations: 0.5235 MB / 390 MB, free: 6.469 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.951e-05/0.01137, allocations: 73.89 kB / 390.1 MB, free: 6.395 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002782/0.01165, allocations: 0.4892 MB / 390.6 MB, free: 5.715 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004196/0.01207, allocations: 0.6116 MB / 391.2 MB, free: 4.914 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.01207, allocations: 4 kB / 391.2 MB, free: 4.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0004955/0.01257, allocations: 0.509 MB / 391.7 MB, free: 4.395 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.01259, allocations: 15.94 kB / 391.7 MB, free: 4.379 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.0126, allocations: 8 kB / 391.7 MB, free: 4.371 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.01262, allocations: 16 kB / 391.7 MB, free: 4.355 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003171/0.01293, allocations: 179.7 kB / 391.9 MB, free: 4.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.634e-05/0.01295, allocations: 20.55 kB / 391.9 MB, free: 4.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.01309, allocations: 59.58 kB / 392 MB, free: 4.102 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.426e-05/0.01311, allocations: 36.31 kB / 392 MB, free: 4.066 MB / 362.7 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.0001189/0.01323, allocations: 212.2 kB / 392.2 MB, free: 3.848 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.01335, allocations: 47.81 kB / 392.3 MB, free: 3.801 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.288e-05/0.0134, allocations: 41.77 kB / 392.3 MB, free: 3.762 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.01341, allocations: 8 kB / 392.3 MB, free: 3.754 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.01341, allocations: 8 kB / 392.3 MB, free: 3.746 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.01342, allocations: 3.984 kB / 392.3 MB, free: 3.742 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000528/0.01395, allocations: 300.3 kB / 392.6 MB, free: 3.414 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.01395, allocations: 0 / 392.6 MB, free: 3.414 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003231/0.01427, allocations: 127.8 kB / 392.7 MB, free: 3.289 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.01428, allocations: 8 kB / 392.7 MB, free: 3.281 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.772e-05/0.01431, allocations: 19.98 kB / 392.8 MB, free: 3.262 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.01431, allocations: 4 kB / 392.8 MB, free: 3.258 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.01431, allocations: 0 / 392.8 MB, free: 3.258 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006315/0.01494, allocations: 1.422 MB / 394.2 MB, free: 1.801 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.847e-05/0.01497, allocations: 43.64 kB / 394.2 MB, free: 1.758 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.166e-05/0.015, allocations: 15.94 kB / 394.2 MB, free: 1.742 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/0.01522, allocations: 12 kB / 394.3 MB, free: 1.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.693e-05/0.01525, allocations: 43.81 kB / 394.3 MB, free: 1.688 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-06/0.01526, allocations: 8 kB / 394.3 MB, free: 1.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.476e-05/0.01535, allocations: 197.1 kB / 394.5 MB, free: 1.492 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01535, allocations: 0 / 394.5 MB, free: 1.492 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004936/0.01584, allocations: 135.8 kB / 394.6 MB, free: 1.359 MB / 362.7 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 9.139e-05/0.01593, allocations: 107.2 kB / 394.7 MB, free: 1.246 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003158/0.01625, allocations: 300.2 kB / 395 MB, free: 0.9531 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01625, allocations: 0 / 395 MB, free: 0.9531 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.01635, allocations: 115.4 kB / 395.1 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007252/0.01708, allocations: 104.6 kB / 395.2 MB, free: 0.7422 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.01859, allocations: 1.523 MB / 396.8 MB, free: 15.15 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.704e-05/0.01869, allocations: 117.8 kB / 396.9 MB, free: 15.01 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.717e-05/0.01878, allocations: 43.44 kB / 396.9 MB, free: 14.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.11e-05/0.01883, allocations: 40.5 kB / 397 MB, free: 14.93 MB / 378.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01883, allocations: 0 / 397 MB, free: 14.93 MB / 378.7 MB Notification: Performance of Templates: time 0.005768/0.0246, allocations: 4.109 MB / 401.1 MB, free: 10.9 MB / 378.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.143241390120238]