Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001865/0.001865, allocations: 99.53 kB / 20.97 MB, free: 3.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001962/0.001962, allocations: 160.8 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.652/1.652, allocations: 177 MB / 204.4 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.344/0.344, allocations: 34.26 MB / 295.2 MB, free: 0.6406 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 377.2 MB, free: 2.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.395e-05/3.591e-05, allocations: 10.25 kB / 377.2 MB, free: 2.898 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.007/0.007035, allocations: 3.03 MB / 380.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.00824, allocations: 418.4 kB / 380.6 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002149/0.008455, allocations: 15.88 kB / 380.7 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002044/0.008659, allocations: 71.3 kB / 380.7 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005419/0.009201, allocations: 174.5 kB / 380.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003421/0.009544, allocations: 99.78 kB / 381 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008885/0.01043, allocations: 0.5673 MB / 381.6 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000341/0.01077, allocations: 117 kB / 381.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006218/0.01139, allocations: 315.3 kB / 382 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004027/0.0118, allocations: 163.5 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.913e-05/0.0119, allocations: 40 kB / 382.2 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.01202, allocations: 40 kB / 382.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001486/0.01217, allocations: 95.66 kB / 382.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003293/0.0125, allocations: 175.6 kB / 382.5 MB, free: 13.58 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009886/0.01349, allocations: 0.5295 MB / 383 MB, free: 13.05 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.01349, allocations: 0 / 383 MB, free: 13.05 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.01349, allocations: 0 / 383 MB, free: 13.05 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.757e-06/0.0135, allocations: 0 / 383 MB, free: 13.05 MB / 362.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.001905/0.01541, allocations: 0.7763 MB / 383.8 MB, free: 12.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.01546, allocations: 16.02 kB / 383.8 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002212/0.01568, allocations: 92.61 kB / 383.9 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005296/0.01621, allocations: 233.3 kB / 384.1 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.982e-05/0.01627, allocations: 41.38 kB / 384.2 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.0164, allocations: 56.31 kB / 384.2 MB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/0.01758, allocations: 496.1 kB / 384.7 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.8e-05/0.01763, allocations: 20.08 kB / 384.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.145e-05/0.01769, allocations: 16.38 kB / 384.7 MB, free: 11.22 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.161e-05/0.01771, allocations: 12.38 kB / 384.8 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007404/0.01845, allocations: 255.6 kB / 385 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003905/0.02236, allocations: 2.021 MB / 387 MB, free: 8.859 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.02337, allocations: 483.8 kB / 387.5 MB, free: 8.273 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000359/0.02373, allocations: 169.1 kB / 387.7 MB, free: 8.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.047e-05/0.02377, allocations: 11.94 kB / 387.7 MB, free: 8.059 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.334e-05/0.02385, allocations: 53.33 kB / 387.7 MB, free: 7.996 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 4.809e-06/0.02386, allocations: 0 / 387.7 MB, free: 7.996 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.001289/0.02515, allocations: 365.7 kB / 388.1 MB, free: 7.633 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000247/0.02539, allocations: 273.5 kB / 388.3 MB, free: 7.305 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005165/0.02591, allocations: 340.3 kB / 388.7 MB, free: 6.953 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.986e-05/0.02595, allocations: 33.7 kB / 388.7 MB, free: 6.914 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003318/0.02628, allocations: 306.9 kB / 389 MB, free: 6.609 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002505/0.02653, allocations: 194.4 kB / 389.2 MB, free: 6.418 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002668/0.0268, allocations: 144.3 kB / 389.3 MB, free: 6.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003961/0.02719, allocations: 0.5352 MB / 389.9 MB, free: 5.723 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003295/0.02752, allocations: 118 kB / 390 MB, free: 5.605 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001008/0.02853, allocations: 0.5517 MB / 390.5 MB, free: 4.859 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/0.02981, allocations: 0.7136 MB / 391.3 MB, free: 3.957 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.126e-05/0.02982, allocations: 4 kB / 391.3 MB, free: 3.953 MB / 362.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001452/0.03127, allocations: 0.6061 MB / 391.9 MB, free: 3.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.423e-05/0.0313, allocations: 12 kB / 391.9 MB, free: 3.328 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.996e-05/0.03132, allocations: 8.875 kB / 391.9 MB, free: 3.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.551e-05/0.03137, allocations: 16 kB / 391.9 MB, free: 3.305 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008762/0.03225, allocations: 183.7 kB / 392.1 MB, free: 3.125 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.764e-05/0.03228, allocations: 23.86 kB / 392.1 MB, free: 3.102 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004595/0.03274, allocations: 63.52 kB / 392.2 MB, free: 3.039 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.06e-05/0.03281, allocations: 36 kB / 392.2 MB, free: 3.004 MB / 362.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.0003634/0.03318, allocations: 232.2 kB / 392.4 MB, free: 2.766 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003378/0.03351, allocations: 51.81 kB / 392.5 MB, free: 2.715 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001371/0.03365, allocations: 37.77 kB / 392.5 MB, free: 2.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/0.03366, allocations: 11.94 kB / 392.5 MB, free: 2.668 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.335e-05/0.03368, allocations: 4 kB / 392.5 MB, free: 2.664 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.03369, allocations: 7.984 kB / 392.5 MB, free: 2.656 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001598/0.03529, allocations: 364.3 kB / 392.9 MB, free: 2.266 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/0.0353, allocations: 4 kB / 392.9 MB, free: 2.262 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000866/0.03616, allocations: 119.9 kB / 393 MB, free: 2.145 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.197e-06/0.03617, allocations: 4 kB / 393 MB, free: 2.141 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.87e-05/0.03622, allocations: 19.98 kB / 393 MB, free: 2.121 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.466e-06/0.03623, allocations: 4 kB / 393 MB, free: 2.117 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/0.03623, allocations: 4 kB / 393.1 MB, free: 2.113 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001866/0.0381, allocations: 1.489 MB / 394.5 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.03821, allocations: 43.64 kB / 394.6 MB, free: 0.5469 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.894e-05/0.03828, allocations: 8.125 kB / 394.6 MB, free: 0.5391 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006552/0.03893, allocations: 16 kB / 394.6 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.582e-05/0.03903, allocations: 39.81 kB / 394.6 MB, free: 496 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.171e-05/0.03906, allocations: 12 kB / 394.7 MB, free: 484 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002876/0.03935, allocations: 217.1 kB / 394.9 MB, free: 268 kB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03935, allocations: 0 / 394.9 MB, free: 268 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.001474/0.04082, allocations: 135.8 kB / 395 MB, free: 132 kB / 362.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.0002083/0.04103, allocations: 111.2 kB / 395.1 MB, free: 12 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.04207, allocations: 388 kB / 395.5 MB, free: 15.63 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.04207, allocations: 0 / 395.5 MB, free: 15.63 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003094/0.04238, allocations: 143.4 kB / 395.6 MB, free: 15.49 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001901/0.04428, allocations: 91.83 kB / 395.7 MB, free: 15.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003682/0.04796, allocations: 1.544 MB / 397.3 MB, free: 13.79 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004205/0.04838, allocations: 228.1 kB / 397.5 MB, free: 13.54 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002579/0.04864, allocations: 51.42 kB / 397.5 MB, free: 13.49 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.04875, allocations: 36.5 kB / 397.6 MB, free: 13.45 MB / 378.7 MB Notification: Performance of SimCode: time 1.933e-06/0.04875, allocations: 0 / 397.6 MB, free: 13.45 MB / 378.7 MB Notification: Performance of Templates: time 0.01324/0.06199, allocations: 4.102 MB / 401.7 MB, free: 9.438 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.2244952119654045]