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.00128/0.00128, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001422/0.001422, allocations: 208.2 kB / 24.48 MB, free: 3.977 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.469/1.469, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.2282/0.2282, allocations: 46.96 MB / 361.6 MB, free: 4.027 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.002061/0.002061, allocations: 67.89 kB / 0.4973 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3076, allocations: 66.04 MB / 0.5618 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004052/0.3117, allocations: 2.807 MB / 0.5646 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006914/0.3124, allocations: 418.5 kB / 0.565 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.3125, allocations: 11.94 kB / 0.565 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001252/0.3126, allocations: 63.31 kB / 0.565 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000302/0.3129, allocations: 170.5 kB / 0.5652 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002074/0.3131, allocations: 95.88 kB / 0.5653 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005094/0.3136, allocations: 0.5442 MB / 0.5658 GB, free: 44 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002379/0.3139, allocations: 113.2 kB / 0.5659 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002236/0.3141, allocations: 211.3 kB / 0.5661 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002485/0.3143, allocations: 215 kB / 0.5663 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.647e-05/0.3144, allocations: 43.94 kB / 0.5664 GB, free: 15.47 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.536e-05/0.3145, allocations: 40 kB / 0.5664 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.053e-05/0.3146, allocations: 103.7 kB / 0.5665 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001969/0.3148, allocations: 207.1 kB / 0.5667 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005314/0.3153, allocations: 0.5276 MB / 0.5672 GB, free: 14.6 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3153, allocations: 0 / 0.5672 GB, free: 14.6 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3153, allocations: 0 / 0.5672 GB, free: 14.6 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.3153, allocations: 0 / 0.5672 GB, free: 14.6 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.0009312/0.3162, allocations: 0.6532 MB / 0.5679 GB, free: 13.91 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3e-05/0.3163, allocations: 12.03 kB / 0.5679 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.21e-05/0.3163, allocations: 56.61 kB / 0.5679 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003076/0.3166, allocations: 229.8 kB / 0.5681 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.905e-05/0.3167, allocations: 29.38 kB / 0.5682 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.054e-05/0.3168, allocations: 60.27 kB / 0.5682 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006825/0.3175, allocations: 462.7 kB / 0.5687 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.949e-05/0.3175, allocations: 12.08 kB / 0.5687 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.047e-05/0.3175, allocations: 27.88 kB / 0.5687 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.3175, allocations: 12 kB / 0.5687 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004137/0.318, allocations: 255.7 kB / 0.569 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00204/0.32, allocations: 1.512 MB / 0.5704 GB, free: 11.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005472/0.3205, allocations: 395.9 kB / 0.5708 GB, free: 10.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002171/0.3208, allocations: 147.8 kB / 0.571 GB, free: 10.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.3208, allocations: 15.92 kB / 0.571 GB, free: 10.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.417e-05/0.3208, allocations: 54.48 kB / 0.571 GB, free: 10.42 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 2.184e-06/0.3208, allocations: 0 / 0.571 GB, free: 10.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007097/0.3215, allocations: 349.1 kB / 0.5714 GB, free: 10.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001506/0.3217, allocations: 265 kB / 0.5716 GB, free: 9.754 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002517/0.3219, allocations: 253.9 kB / 0.5718 GB, free: 9.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.322, allocations: 33.7 kB / 0.5719 GB, free: 9.461 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.3221, allocations: 240.3 kB / 0.5721 GB, free: 9.223 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/0.3223, allocations: 194.4 kB / 0.5723 GB, free: 9.031 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001497/0.3224, allocations: 119.1 kB / 0.5724 GB, free: 8.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.3226, allocations: 350.8 kB / 0.5727 GB, free: 8.559 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001968/0.3228, allocations: 114 kB / 0.5729 GB, free: 8.445 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004673/0.3233, allocations: 421.6 kB / 0.5733 GB, free: 7.895 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007987/0.3241, allocations: 0.5698 MB / 0.5738 GB, free: 7.188 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.3241, allocations: 4 kB / 0.5738 GB, free: 7.184 MB / 414.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008887/0.325, allocations: 0.5716 MB / 0.5744 GB, free: 6.605 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.325, allocations: 8 kB / 0.5744 GB, free: 6.598 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.325, allocations: 12 kB / 0.5744 GB, free: 6.586 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.153e-05/0.325, allocations: 12 kB / 0.5744 GB, free: 6.574 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005694/0.3256, allocations: 183.7 kB / 0.5746 GB, free: 6.395 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.04e-05/0.3256, allocations: 23.86 kB / 0.5746 GB, free: 6.371 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002769/0.3259, allocations: 67.52 kB / 0.5747 GB, free: 6.305 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.798e-05/0.326, allocations: 36.22 kB / 0.5747 GB, free: 6.27 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.0002106/0.3262, allocations: 185.6 kB / 0.5749 GB, free: 6.078 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000191/0.3264, allocations: 35.81 kB / 0.5749 GB, free: 6.043 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.798e-05/0.3264, allocations: 41.7 kB / 0.575 GB, free: 6 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.836e-06/0.3264, allocations: 8 kB / 0.575 GB, free: 5.992 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/0.3265, allocations: 3.938 kB / 0.575 GB, free: 5.988 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.3265, allocations: 7.984 kB / 0.575 GB, free: 5.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009021/0.3274, allocations: 304.9 kB / 0.5753 GB, free: 5.652 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.3274, allocations: 4 kB / 0.5753 GB, free: 5.648 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005651/0.3279, allocations: 119.9 kB / 0.5754 GB, free: 5.531 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.3279, allocations: 4 kB / 0.5754 GB, free: 5.527 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.289e-05/0.328, allocations: 19.98 kB / 0.5754 GB, free: 5.508 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/0.328, allocations: 7.938 kB / 0.5754 GB, free: 5.5 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.328, allocations: 4 kB / 0.5754 GB, free: 5.496 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009055/0.3289, allocations: 1.092 MB / 0.5765 GB, free: 4.379 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.382e-05/0.329, allocations: 31.75 kB / 0.5765 GB, free: 4.348 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.525e-05/0.329, allocations: 16 kB / 0.5765 GB, free: 4.332 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003836/0.3294, allocations: 8 kB / 0.5765 GB, free: 4.324 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.355e-05/0.3294, allocations: 35.88 kB / 0.5766 GB, free: 4.289 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.3295, allocations: 12 kB / 0.5766 GB, free: 4.277 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001732/0.3296, allocations: 161.2 kB / 0.5767 GB, free: 4.117 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3296, allocations: 4 kB / 0.5767 GB, free: 4.113 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008413/0.3305, allocations: 139.7 kB / 0.5769 GB, free: 3.977 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.0002432/0.3307, allocations: 114.9 kB / 0.577 GB, free: 3.855 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006264/0.3313, allocations: 340.9 kB / 0.5773 GB, free: 3.523 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.3314, allocations: 0 / 0.5773 GB, free: 3.523 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00019/0.3315, allocations: 125.7 kB / 0.5774 GB, free: 3.402 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.3328, allocations: 96.69 kB / 0.5775 GB, free: 3.309 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002929/0.3357, allocations: 1.974 MB / 0.5794 GB, free: 1.281 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.336, allocations: 228.5 kB / 0.5797 GB, free: 1.035 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001775/0.3361, allocations: 47.44 kB / 0.5797 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.569e-05/0.3362, allocations: 31.44 kB / 0.5797 GB, free: 0.957 MB / 414.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3362, allocations: 4 kB / 0.5797 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of Templates: time 0.01062/0.3468, allocations: 4.891 MB / 0.5845 GB, free: 12.15 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 -s cvode -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: 5.1489989169931505]