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.001091/0.001091, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001633/0.002723, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001053/0.001053, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00116/0.002213, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9759/0.9759, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1016/1.078, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.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.2561/0.2561, allocations: 34.26 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02693/0.283, allocations: 13.09 MB / 291.3 MB, free: 7.375 MB / 282.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.783e-06/1.783e-06, allocations: 0 / 292.6 MB, free: 6.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.436e-05/1.614e-05, allocations: 4.141 kB / 292.6 MB, free: 6.316 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.002662/0.002678, allocations: 3.089 MB / 295.7 MB, free: 3.211 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006352/0.003313, allocations: 446.1 kB / 296.1 MB, free: 2.773 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.003431, allocations: 11.94 kB / 296.1 MB, free: 2.762 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.416e-05/0.003515, allocations: 67.31 kB / 296.2 MB, free: 2.695 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002075/0.003722, allocations: 182.3 kB / 296.4 MB, free: 2.516 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001344/0.003857, allocations: 99.84 kB / 296.5 MB, free: 2.418 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003541/0.004211, allocations: 0.5678 MB / 297.1 MB, free: 1.848 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/0.004368, allocations: 109.8 kB / 297.2 MB, free: 1.734 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002649/0.004633, allocations: 339.3 kB / 297.5 MB, free: 1.402 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.00479, allocations: 159.6 kB / 297.6 MB, free: 1.246 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.725e-05/0.004837, allocations: 40 kB / 297.7 MB, free: 1.207 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.807e-05/0.004885, allocations: 40 kB / 297.7 MB, free: 1.168 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.829e-05/0.004933, allocations: 71.75 kB / 297.8 MB, free: 1.098 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.00505, allocations: 155.7 kB / 297.9 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002946/0.005345, allocations: 330.7 kB / 298.3 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.473e-05/0.005359, allocations: 0 / 298.3 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.00536, allocations: 0 / 298.3 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.638e-05/0.005377, allocations: 0 / 298.3 MB, free: 0.6211 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.000676/0.006053, allocations: 0.7348 MB / 299 MB, free: 15.86 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.974e-05/0.006082, allocations: 8.031 kB / 299 MB, free: 15.85 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.524e-05/0.006148, allocations: 76.88 kB / 299.1 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.006337, allocations: 194.5 kB / 299.3 MB, free: 15.56 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.006359, allocations: 37.38 kB / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5e-05/0.006409, allocations: 56.31 kB / 299.4 MB, free: 15.47 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002751/0.006684, allocations: 362.5 kB / 299.7 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.006704, allocations: 16.11 kB / 299.7 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/0.006724, allocations: 20.38 kB / 299.8 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.006733, allocations: 12.38 kB / 299.8 MB, free: 15.04 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.006869, allocations: 134.2 kB / 299.9 MB, free: 14.91 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.007995, allocations: 1.342 MB / 301.2 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002538/0.008248, allocations: 315.7 kB / 301.6 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.286e-05/0.008331, allocations: 111.8 kB / 301.7 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.008343, allocations: 8 kB / 301.7 MB, free: 12.99 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.008369, allocations: 58.5 kB / 301.7 MB, free: 12.92 MB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 1.633e-06/0.008371, allocations: 0 / 301.7 MB, free: 12.92 MB / 298.7 MB Notification: Performance of matching and sorting (n=42): time 0.000308/0.008679, allocations: 237.4 kB / 302 MB, free: 12.68 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.867e-05/0.008757, allocations: 269 kB / 302.2 MB, free: 12.36 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.008883, allocations: 236.8 kB / 302.5 MB, free: 12.11 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.008897, allocations: 29.7 kB / 302.5 MB, free: 12.08 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.985e-05/0.008987, allocations: 236.2 kB / 302.7 MB, free: 11.84 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.187e-05/0.009069, allocations: 190.8 kB / 302.9 MB, free: 11.66 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.873e-05/0.009148, allocations: 118.6 kB / 303 MB, free: 11.53 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.029e-05/0.009238, allocations: 358.7 kB / 303.4 MB, free: 11.17 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.796e-05/0.009286, allocations: 53.91 kB / 303.4 MB, free: 11.12 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001763/0.009462, allocations: 361.5 kB / 303.8 MB, free: 10.63 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003199/0.009782, allocations: 486.8 kB / 304.2 MB, free: 10.02 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.009789, allocations: 4 kB / 304.3 MB, free: 10.01 MB / 298.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0003384/0.01013, allocations: 401.4 kB / 304.6 MB, free: 9.613 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.01014, allocations: 8 kB / 304.7 MB, free: 9.605 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.01015, allocations: 8 kB / 304.7 MB, free: 9.598 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.01017, allocations: 19.94 kB / 304.7 MB, free: 9.578 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003886/0.01056, allocations: 216 kB / 304.9 MB, free: 9.367 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/0.01057, allocations: 31.86 kB / 304.9 MB, free: 9.336 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.0107, allocations: 59.56 kB / 305 MB, free: 9.277 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.647e-05/0.01073, allocations: 28 kB / 305 MB, free: 9.25 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.000105/0.01083, allocations: 157.6 kB / 305.2 MB, free: 9.086 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.01094, allocations: 43.95 kB / 305.2 MB, free: 9.043 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.674e-05/0.01098, allocations: 38.2 kB / 305.2 MB, free: 9.004 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.01099, allocations: 4 kB / 305.2 MB, free: 9 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.01099, allocations: 7.938 kB / 305.3 MB, free: 8.992 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.011, allocations: 4 kB / 305.3 MB, free: 8.988 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000476/0.01148, allocations: 233.5 kB / 305.5 MB, free: 8.742 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.01148, allocations: 8 kB / 305.5 MB, free: 8.734 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003471/0.01183, allocations: 158.1 kB / 305.6 MB, free: 8.582 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.758e-05/0.01185, allocations: 35.7 kB / 305.7 MB, free: 8.547 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.01186, allocations: 7.938 kB / 305.7 MB, free: 8.539 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.017e-05/0.01188, allocations: 12 kB / 305.7 MB, free: 8.527 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.01188, allocations: 7.984 kB / 305.7 MB, free: 8.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.01188, allocations: 4 kB / 305.7 MB, free: 8.516 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004331/0.01232, allocations: 0.9506 MB / 306.7 MB, free: 7.539 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.248e-05/0.01235, allocations: 23.92 kB / 306.7 MB, free: 7.516 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/0.01255, allocations: 4 kB / 306.7 MB, free: 7.512 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.45e-05/0.01258, allocations: 27.95 kB / 306.7 MB, free: 7.484 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.01259, allocations: 12 kB / 306.7 MB, free: 7.473 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.724e-05/0.01264, allocations: 78.7 kB / 306.8 MB, free: 7.395 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.01264, allocations: 0 / 306.8 MB, free: 7.395 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005131/0.01315, allocations: 139.8 kB / 306.9 MB, free: 7.258 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 9.019e-05/0.01324, allocations: 96.3 kB / 307 MB, free: 7.156 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002373/0.01348, allocations: 265 kB / 307.3 MB, free: 6.898 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.287e-05/0.01349, allocations: 16.12 kB / 307.3 MB, free: 6.883 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.679e-05/0.01357, allocations: 105 kB / 307.4 MB, free: 6.777 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006605/0.01423, allocations: 136.5 kB / 307.5 MB, free: 6.652 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007162/0.02139, allocations: 0.9603 MB / 308.5 MB, free: 5.633 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001346/0.02152, allocations: 125.8 kB / 308.6 MB, free: 5.492 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001442/0.02167, allocations: 52.25 kB / 308.7 MB, free: 5.441 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002085/0.02188, allocations: 149.3 kB / 308.8 MB, free: 5.293 MB / 298.7 MB Notification: Performance of SimCode: time 5.41e-07/0.02188, allocations: 0 / 308.8 MB, free: 5.293 MB / 298.7 MB Notification: Performance of Templates: time 0.008488/0.03037, allocations: 5.274 MB / 314.1 MB, free: 184 kB / 298.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 -ignoreHideResult -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: 2.9870332730934024]