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.001225/0.001225, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002114/0.003339, allocations: 449.8 kB / 10.44 MB, free: 252 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.001272/0.001272, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001724/0.002996, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 1.076/1.076, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1084/1.184, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.3381/0.3381, allocations: 34.26 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05051/0.3886, allocations: 13.1 MB / 291.5 MB, free: 7.332 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 4.428e-06/4.428e-06, allocations: 0 / 292.8 MB, free: 6.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.108e-05/4.551e-05, allocations: 6.141 kB / 292.8 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.003671/0.003716, allocations: 3.089 MB / 295.9 MB, free: 3.117 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005353/0.004251, allocations: 446.1 kB / 296.4 MB, free: 2.68 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.004372, allocations: 7.938 kB / 296.4 MB, free: 2.672 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001011/0.004473, allocations: 71.31 kB / 296.4 MB, free: 2.602 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000217/0.00469, allocations: 174.4 kB / 296.6 MB, free: 2.43 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001556/0.004846, allocations: 103.8 kB / 296.7 MB, free: 2.328 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003835/0.005229, allocations: 0.5678 MB / 297.3 MB, free: 1.758 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001985/0.005428, allocations: 117.8 kB / 297.4 MB, free: 1.637 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002849/0.005713, allocations: 335.3 kB / 297.7 MB, free: 1.309 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001831/0.005896, allocations: 155.6 kB / 297.9 MB, free: 1.156 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.88e-05/0.005945, allocations: 40 kB / 297.9 MB, free: 1.117 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.05e-05/0.005995, allocations: 43.94 kB / 297.9 MB, free: 1.074 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.929e-05/0.006054, allocations: 75.75 kB / 298 MB, free: 1 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.006164, allocations: 151.8 kB / 298.2 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003146/0.006479, allocations: 326.7 kB / 298.5 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.391e-05/0.006493, allocations: 0 / 298.5 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.006494, allocations: 0 / 298.5 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.006508, allocations: 0 / 298.5 MB, free: 0.5312 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.0008071/0.007315, allocations: 0.7425 MB / 299.2 MB, free: 15.76 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.007357, allocations: 8.031 kB / 299.2 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.531e-05/0.007442, allocations: 76.88 kB / 299.3 MB, free: 15.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002217/0.007664, allocations: 198.6 kB / 299.5 MB, free: 15.46 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.007687, allocations: 33.38 kB / 299.5 MB, free: 15.43 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.272e-05/0.00775, allocations: 56.31 kB / 299.6 MB, free: 15.37 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003203/0.00807, allocations: 366.5 kB / 300 MB, free: 14.98 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.008092, allocations: 12.12 kB / 300 MB, free: 14.97 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.528e-05/0.008117, allocations: 20.38 kB / 300 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.008128, allocations: 12.38 kB / 300 MB, free: 14.94 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001509/0.008279, allocations: 133.1 kB / 300.1 MB, free: 14.81 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001172/0.009451, allocations: 1.338 MB / 301.5 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002839/0.009735, allocations: 327.8 kB / 301.8 MB, free: 13.03 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.785e-05/0.009833, allocations: 111.8 kB / 301.9 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.00985, allocations: 15.94 kB / 301.9 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.009882, allocations: 42.56 kB / 302 MB, free: 12.82 MB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 1.453e-06/0.009884, allocations: 0 / 302 MB, free: 12.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=42): time 0.0003309/0.01021, allocations: 237.7 kB / 302.2 MB, free: 12.59 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.543e-05/0.01031, allocations: 269.1 kB / 302.4 MB, free: 12.26 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.01045, allocations: 236.8 kB / 302.7 MB, free: 12.02 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.01046, allocations: 33.7 kB / 302.7 MB, free: 11.98 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.01056, allocations: 232.2 kB / 302.9 MB, free: 11.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.804e-05/0.01066, allocations: 198.3 kB / 303.1 MB, free: 11.55 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.633e-05/0.01075, allocations: 114.6 kB / 303.2 MB, free: 11.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.01087, allocations: 358.7 kB / 303.6 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.61e-05/0.01093, allocations: 49.97 kB / 303.6 MB, free: 11.02 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.01114, allocations: 354.1 kB / 304 MB, free: 10.54 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003663/0.0115, allocations: 0.4949 MB / 304.5 MB, free: 9.902 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.01151, allocations: 7.984 kB / 304.5 MB, free: 9.895 MB / 298.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0003652/0.01188, allocations: 401.5 kB / 304.9 MB, free: 9.496 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.01189, allocations: 8 kB / 304.9 MB, free: 9.488 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.01191, allocations: 12.09 kB / 304.9 MB, free: 9.477 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.01193, allocations: 16 kB / 304.9 MB, free: 9.461 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004196/0.01234, allocations: 222.9 kB / 305.1 MB, free: 9.246 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.575e-05/0.01236, allocations: 23.86 kB / 305.2 MB, free: 9.223 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.01249, allocations: 59.56 kB / 305.2 MB, free: 9.164 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.155e-05/0.01251, allocations: 32 kB / 305.2 MB, free: 9.133 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.0001108/0.01262, allocations: 153.6 kB / 305.4 MB, free: 8.973 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.01273, allocations: 43.95 kB / 305.4 MB, free: 8.93 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.385e-05/0.01278, allocations: 41.77 kB / 305.5 MB, free: 8.887 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.01279, allocations: 8 kB / 305.5 MB, free: 8.879 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.01279, allocations: 3.938 kB / 305.5 MB, free: 8.875 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.0128, allocations: 4 kB / 305.5 MB, free: 8.871 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004794/0.01328, allocations: 225.5 kB / 305.7 MB, free: 8.633 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.01328, allocations: 0 / 305.7 MB, free: 8.633 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003463/0.01363, allocations: 162.5 kB / 305.9 MB, free: 8.48 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.193e-05/0.01366, allocations: 39.7 kB / 305.9 MB, free: 8.441 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.01366, allocations: 11.94 kB / 305.9 MB, free: 8.43 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.8e-05/0.01369, allocations: 20.11 kB / 305.9 MB, free: 8.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.261e-06/0.0137, allocations: 8 kB / 306 MB, free: 8.402 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.0137, allocations: 0 / 306 MB, free: 8.402 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004695/0.01417, allocations: 0.9467 MB / 306.9 MB, free: 7.434 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.138e-05/0.0142, allocations: 23.92 kB / 306.9 MB, free: 7.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.0144, allocations: 8 kB / 306.9 MB, free: 7.402 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.214e-05/0.01444, allocations: 31.89 kB / 307 MB, free: 7.371 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.01445, allocations: 12 kB / 307 MB, free: 7.359 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.362e-05/0.0145, allocations: 78.77 kB / 307.1 MB, free: 7.281 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0145, allocations: 0 / 307.1 MB, free: 7.281 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004453/0.01494, allocations: 135.8 kB / 307.2 MB, free: 7.148 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.574e-05/0.01504, allocations: 96.91 kB / 307.3 MB, free: 7.047 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002454/0.01529, allocations: 281.6 kB / 307.6 MB, free: 6.773 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.329e-05/0.0153, allocations: 8 kB / 307.6 MB, free: 6.766 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.475e-05/0.01539, allocations: 121.7 kB / 307.7 MB, free: 6.645 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.01641, allocations: 1.226 MB / 308.9 MB, free: 5.164 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005948/0.02236, allocations: 0.964 MB / 309.9 MB, free: 4.141 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001015/0.02246, allocations: 121.8 kB / 310 MB, free: 4 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.707e-05/0.02256, allocations: 52.25 kB / 310 MB, free: 3.949 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001722/0.02273, allocations: 145.3 kB / 310.2 MB, free: 3.809 MB / 298.7 MB Notification: Performance of SimCode: time 8.31e-07/0.02273, allocations: 0 / 310.2 MB, free: 3.809 MB / 298.7 MB Notification: Performance of Templates: time 0.006639/0.02937, allocations: 4.715 MB / 314.9 MB, free: 15.24 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 -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.180065003223717]