Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009341/0.0009341, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001102/0.001102, allocations: 167 kB / 24.84 MB, free: 9.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9108/0.9108, allocations: 158.6 MB / 186.7 MB, free: 2.805 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1261/0.1261, allocations: 32.38 MB / 271.5 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 348.9 MB, free: 9.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.787e-05/1.982e-05, allocations: 2.312 kB / 348.9 MB, free: 9.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.003824/0.003843, allocations: 3.016 MB / 351.9 MB, free: 6.16 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007899/0.004633, allocations: 426.5 kB / 352.3 MB, free: 5.742 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001734/0.004807, allocations: 11.88 kB / 352.3 MB, free: 5.73 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.004919, allocations: 59.38 kB / 352.4 MB, free: 5.672 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003175/0.005237, allocations: 178.4 kB / 352.6 MB, free: 5.496 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002225/0.005459, allocations: 107.8 kB / 352.7 MB, free: 5.391 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004076/0.005867, allocations: 0.5556 MB / 353.2 MB, free: 4.832 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002265/0.006093, allocations: 109.2 kB / 353.3 MB, free: 4.723 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002448/0.006338, allocations: 323.3 kB / 353.7 MB, free: 4.406 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001462/0.006484, allocations: 155.6 kB / 353.8 MB, free: 4.254 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.159e-05/0.006526, allocations: 47.98 kB / 353.9 MB, free: 4.207 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.993e-05/0.006566, allocations: 44 kB / 353.9 MB, free: 4.164 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.661e-05/0.006612, allocations: 91.66 kB / 354 MB, free: 4.074 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.006714, allocations: 179.6 kB / 354.2 MB, free: 3.898 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002462/0.00696, allocations: 346.7 kB / 354.5 MB, free: 3.559 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.006962, allocations: 0 / 354.5 MB, free: 3.559 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.006964, allocations: 4 kB / 354.5 MB, free: 3.555 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.006972, allocations: 0 / 354.5 MB, free: 3.555 MB / 282.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.0005295/0.007501, allocations: 0.7531 MB / 355.3 MB, free: 2.758 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.007539, allocations: 8.031 kB / 355.3 MB, free: 2.75 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.236e-05/0.007621, allocations: 96.59 kB / 355.4 MB, free: 2.656 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002233/0.007845, allocations: 235.8 kB / 355.6 MB, free: 2.398 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/0.007872, allocations: 33.38 kB / 355.6 MB, free: 2.367 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.143e-05/0.007923, allocations: 52.33 kB / 355.7 MB, free: 2.316 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003322/0.008256, allocations: 380 kB / 356 MB, free: 1.898 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.008276, allocations: 16.06 kB / 356.1 MB, free: 1.883 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.259e-05/0.008298, allocations: 20.38 kB / 356.1 MB, free: 1.863 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.659e-06/0.008308, allocations: 16.38 kB / 356.1 MB, free: 1.848 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001923/0.0085, allocations: 158.7 kB / 356.3 MB, free: 1.695 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001188/0.009688, allocations: 1.869 MB / 358.1 MB, free: 15.76 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003124/0.01, allocations: 395.9 kB / 358.5 MB, free: 15.26 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.01011, allocations: 141.3 kB / 358.6 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.01012, allocations: 15.94 kB / 358.7 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.01016, allocations: 57.31 kB / 358.7 MB, free: 15 MB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 1.823e-06/0.01016, allocations: 0 / 358.7 MB, free: 15 MB / 298.7 MB Notification: Performance of matching and sorting (n=42): time 0.0003975/0.01056, allocations: 278 kB / 359 MB, free: 14.73 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.885e-05/0.01065, allocations: 273 kB / 359.3 MB, free: 14.4 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.01079, allocations: 292.1 kB / 359.5 MB, free: 14.1 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.885e-05/0.01081, allocations: 34.2 kB / 359.6 MB, free: 14.06 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.01093, allocations: 302.9 kB / 359.9 MB, free: 13.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.765e-05/0.01102, allocations: 190.4 kB / 360.1 MB, free: 13.57 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.797e-05/0.0111, allocations: 116.2 kB / 360.2 MB, free: 13.45 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.01125, allocations: 0.5234 MB / 360.7 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.683e-05/0.01131, allocations: 53.95 kB / 360.7 MB, free: 12.86 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002523/0.01156, allocations: 496.8 kB / 361.2 MB, free: 12.18 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003662/0.01193, allocations: 0.5872 MB / 361.8 MB, free: 11.41 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.308e-06/0.01194, allocations: 4 kB / 361.8 MB, free: 11.4 MB / 298.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0004116/0.01235, allocations: 484.9 kB / 362.3 MB, free: 10.92 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.01236, allocations: 8 kB / 362.3 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.01238, allocations: 15.98 kB / 362.3 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.01239, allocations: 12 kB / 362.3 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003036/0.0127, allocations: 185 kB / 362.5 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.01271, allocations: 23.92 kB / 362.5 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.01285, allocations: 67.52 kB / 362.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.103e-05/0.01287, allocations: 28 kB / 362.6 MB, free: 10.59 MB / 298.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.0001094/0.01298, allocations: 212.2 kB / 362.8 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.01309, allocations: 47.81 kB / 362.9 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.919e-05/0.01314, allocations: 45.77 kB / 362.9 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.01315, allocations: 4 kB / 362.9 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.01315, allocations: 7.984 kB / 362.9 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.01316, allocations: 7.938 kB / 362.9 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004703/0.01363, allocations: 256.8 kB / 363.2 MB, free: 9.984 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.01363, allocations: 4 kB / 363.2 MB, free: 9.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002999/0.01393, allocations: 123.9 kB / 363.3 MB, free: 9.859 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.01393, allocations: 4 kB / 363.3 MB, free: 9.855 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/0.01395, allocations: 12 kB / 363.3 MB, free: 9.844 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.01396, allocations: 4 kB / 363.3 MB, free: 9.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.01396, allocations: 0 / 363.3 MB, free: 9.84 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005566/0.01451, allocations: 1.399 MB / 364.7 MB, free: 8.41 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.844e-05/0.01454, allocations: 43.62 kB / 364.8 MB, free: 8.367 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.01457, allocations: 16 kB / 364.8 MB, free: 8.352 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/0.01478, allocations: 8 kB / 364.8 MB, free: 8.344 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/0.01481, allocations: 31.89 kB / 364.8 MB, free: 8.312 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.01482, allocations: 19.92 kB / 364.9 MB, free: 8.293 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.71e-05/0.01489, allocations: 185.1 kB / 365 MB, free: 8.109 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01489, allocations: 0 / 365 MB, free: 8.109 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004567/0.01535, allocations: 139.8 kB / 365.2 MB, free: 7.973 MB / 298.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 8.415e-05/0.01543, allocations: 111.2 kB / 365.3 MB, free: 7.852 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002507/0.01568, allocations: 275.9 kB / 365.6 MB, free: 7.582 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01568, allocations: 0 / 365.6 MB, free: 7.582 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.828e-05/0.01577, allocations: 116.6 kB / 365.7 MB, free: 7.465 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006845/0.01645, allocations: 100.6 kB / 365.8 MB, free: 7.371 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.0179, allocations: 1.504 MB / 367.3 MB, free: 5.801 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001009/0.018, allocations: 125.7 kB / 367.4 MB, free: 5.66 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.576e-05/0.01808, allocations: 51.44 kB / 367.4 MB, free: 5.609 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.01823, allocations: 162.1 kB / 367.6 MB, free: 5.449 MB / 298.7 MB Notification: Performance of SimCode: time 8.91e-07/0.01823, allocations: 0 / 367.6 MB, free: 5.449 MB / 298.7 MB Notification: Performance of Templates: time 0.006149/0.02438, allocations: 4.567 MB / 372.2 MB, free: 0.9531 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.167226010002196]