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.001029/0.001029, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001178/0.001178, allocations: 169.1 kB / 24.91 MB, free: 9.199 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 1.045/1.045, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2814/0.2814, allocations: 34.26 MB / 296.1 MB, free: 0.7266 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.202e-06/1.202e-06, allocations: 0 / 325.3 MB, free: 7.656 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.241e-05/2.361e-05, allocations: 4.703 kB / 325.3 MB, free: 7.652 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.003205/0.003228, allocations: 3.077 MB / 328.4 MB, free: 4.555 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.004425, allocations: 442.1 kB / 328.8 MB, free: 4.121 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001561/0.004582, allocations: 11.94 kB / 328.8 MB, free: 4.109 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.961e-05/0.004681, allocations: 67.3 kB / 328.9 MB, free: 4.043 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000296/0.004977, allocations: 174.4 kB / 329 MB, free: 3.871 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000229/0.005206, allocations: 107.8 kB / 329.1 MB, free: 3.766 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004575/0.005664, allocations: 0.5606 MB / 329.7 MB, free: 3.203 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002103/0.005874, allocations: 121.8 kB / 329.8 MB, free: 3.078 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000358/0.006232, allocations: 319.4 kB / 330.1 MB, free: 2.766 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002027/0.006435, allocations: 159.5 kB / 330.3 MB, free: 2.609 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.264e-05/0.006487, allocations: 44 kB / 330.3 MB, free: 2.566 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.864e-05/0.006536, allocations: 40 kB / 330.4 MB, free: 2.527 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.082e-05/0.006597, allocations: 91.66 kB / 330.5 MB, free: 2.438 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.006732, allocations: 183.6 kB / 330.6 MB, free: 2.258 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003818/0.007114, allocations: 346.6 kB / 331 MB, free: 1.918 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.007118, allocations: 4 kB / 331 MB, free: 1.914 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.00712, allocations: 0 / 331 MB, free: 1.914 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.00713, allocations: 0 / 331 MB, free: 1.914 MB / 298.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.0006986/0.007829, allocations: 0.6259 MB / 331.6 MB, free: 1.262 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.00787, allocations: 8.031 kB / 331.6 MB, free: 1.254 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.462e-05/0.007955, allocations: 76.89 kB / 331.7 MB, free: 1.18 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.008238, allocations: 205.7 kB / 331.9 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.114e-05/0.00827, allocations: 33.38 kB / 331.9 MB, free: 0.918 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.695e-05/0.008337, allocations: 60.3 kB / 332 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003377/0.008674, allocations: 358.5 kB / 332.3 MB, free: 484 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.104e-05/0.008705, allocations: 12.12 kB / 332.3 MB, free: 472 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.643e-05/0.008732, allocations: 24.38 kB / 332.4 MB, free: 448 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.008742, allocations: 12.38 kB / 332.4 MB, free: 436 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001514/0.008894, allocations: 126.5 kB / 332.5 MB, free: 312 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/0.01018, allocations: 1.346 MB / 333.8 MB, free: 14.91 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002659/0.01045, allocations: 315.8 kB / 334.2 MB, free: 14.52 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.208e-05/0.01053, allocations: 103.7 kB / 334.3 MB, free: 14.39 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.01054, allocations: 16.03 kB / 334.3 MB, free: 14.38 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.01057, allocations: 50.55 kB / 334.3 MB, free: 14.32 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 2.304e-06/0.01058, allocations: 3.938 kB / 334.3 MB, free: 14.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=42): time 0.0003694/0.01094, allocations: 229.7 kB / 334.6 MB, free: 14.09 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.948e-05/0.01103, allocations: 273 kB / 334.8 MB, free: 13.76 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.01119, allocations: 245 kB / 335.1 MB, free: 13.5 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.0112, allocations: 29.7 kB / 335.1 MB, free: 13.47 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.01132, allocations: 236.1 kB / 335.3 MB, free: 13.23 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.985e-05/0.01141, allocations: 190.9 kB / 335.5 MB, free: 13.05 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.27e-05/0.0115, allocations: 126.6 kB / 335.6 MB, free: 12.92 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.974e-05/0.0116, allocations: 350.7 kB / 336 MB, free: 12.57 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.334e-05/0.01166, allocations: 49.97 kB / 336 MB, free: 12.52 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002005/0.01186, allocations: 361.6 kB / 336.4 MB, free: 12.03 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003808/0.01224, allocations: 482.9 kB / 336.8 MB, free: 11.42 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.473e-06/0.01225, allocations: 7.938 kB / 336.9 MB, free: 11.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0004057/0.01266, allocations: 405.3 kB / 337.2 MB, free: 11.01 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.01268, allocations: 8 kB / 337.3 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.01269, allocations: 12 kB / 337.3 MB, free: 10.99 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.01271, allocations: 12 kB / 337.3 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004177/0.01312, allocations: 217 kB / 337.5 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.01314, allocations: 23.88 kB / 337.5 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.0133, allocations: 63.58 kB / 337.6 MB, free: 10.69 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.577e-05/0.01332, allocations: 28 kB / 337.6 MB, free: 10.66 MB / 314.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.0001275/0.01345, allocations: 157.5 kB / 337.8 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/0.01357, allocations: 39.95 kB / 337.8 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.605e-05/0.01363, allocations: 41.77 kB / 337.8 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.01364, allocations: 8 kB / 337.8 MB, free: 10.4 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.01364, allocations: 7.938 kB / 337.9 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.01365, allocations: 3.984 kB / 337.9 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005125/0.01416, allocations: 229.5 kB / 338.1 MB, free: 10.15 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.01416, allocations: 0 / 338.1 MB, free: 10.15 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003701/0.01453, allocations: 154.1 kB / 338.2 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/0.01454, allocations: 4 kB / 338.2 MB, free: 9.996 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.769e-05/0.01457, allocations: 20.06 kB / 338.3 MB, free: 9.977 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.01457, allocations: 4 kB / 338.3 MB, free: 9.973 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.01458, allocations: 0 / 338.3 MB, free: 9.973 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004973/0.01507, allocations: 0.9621 MB / 339.2 MB, free: 8.988 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.159e-05/0.0151, allocations: 39.69 kB / 339.3 MB, free: 8.949 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.557e-05/0.01514, allocations: 23.92 kB / 339.3 MB, free: 8.926 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.01536, allocations: 8 kB / 339.3 MB, free: 8.918 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.255e-05/0.0154, allocations: 31.89 kB / 339.3 MB, free: 8.887 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.01541, allocations: 8 kB / 339.3 MB, free: 8.879 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.516e-05/0.01546, allocations: 78.77 kB / 339.4 MB, free: 8.801 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01546, allocations: 0 / 339.4 MB, free: 8.801 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005133/0.01598, allocations: 135.8 kB / 339.5 MB, free: 8.668 MB / 314.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 0.0001052/0.01608, allocations: 88.98 kB / 339.6 MB, free: 8.574 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000273/0.01635, allocations: 260.8 kB / 339.9 MB, free: 8.32 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/0.01637, allocations: 8.062 kB / 339.9 MB, free: 8.312 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.346e-05/0.01645, allocations: 104.6 kB / 340 MB, free: 8.207 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000708/0.01716, allocations: 112.6 kB / 340.1 MB, free: 8.105 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.01867, allocations: 1.005 MB / 341.1 MB, free: 7.047 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.01877, allocations: 121.8 kB / 341.2 MB, free: 6.906 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001285/0.0189, allocations: 48.25 kB / 341.3 MB, free: 6.855 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001993/0.0191, allocations: 141.3 kB / 341.4 MB, free: 6.715 MB / 314.7 MB Notification: Performance of SimCode: time 1.062e-06/0.0191, allocations: 4 kB / 341.4 MB, free: 6.711 MB / 314.7 MB Notification: Performance of Templates: time 0.00846/0.02756, allocations: 5.055 MB / 346.5 MB, free: 1.809 MB / 314.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 -s gbode -gbm=radauIIA3 -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.0126293911598623]