Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009785/0.0009785, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001378/0.001378, allocations: 167.3 kB / 24.99 MB, free: 8.746 MB / 18.57 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/1, allocations: 177.1 MB / 205.3 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2472/0.2472, allocations: 32.81 MB / 294.6 MB, free: 1.293 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 376 MB, free: 5.023 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.677e-05/3.89e-05, allocations: 6.25 kB / 376 MB, free: 5.016 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.006929/0.006968, allocations: 3.064 MB / 379.1 MB, free: 1.934 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004121/0.01109, allocations: 422.5 kB / 379.5 MB, free: 1.52 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000259/0.01135, allocations: 15.88 kB / 379.5 MB, free: 1.504 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004133/0.01176, allocations: 63.38 kB / 379.5 MB, free: 1.441 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003763/0.01214, allocations: 182.3 kB / 379.7 MB, free: 1.262 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002744/0.01241, allocations: 103.8 kB / 379.8 MB, free: 1.16 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005165/0.01293, allocations: 0.5595 MB / 380.4 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002293/0.01316, allocations: 105.2 kB / 380.5 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003431/0.01659, allocations: 319.4 kB / 380.8 MB, free: 184 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002304/0.01682, allocations: 163.5 kB / 381 MB, free: 20 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.152e-05/0.0169, allocations: 40.05 kB / 381 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.012e-05/0.01696, allocations: 40 kB / 381 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.414e-05/0.01704, allocations: 99.59 kB / 381.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001794/0.01722, allocations: 171.7 kB / 381.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004444/0.01766, allocations: 354.6 kB / 381.6 MB, free: 15.33 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.01767, allocations: 4 kB / 381.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.01767, allocations: 0 / 381.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.368e-06/0.01768, allocations: 0 / 381.6 MB, free: 15.32 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.0008875/0.01857, allocations: 0.7493 MB / 382.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.01861, allocations: 8.031 kB / 382.4 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001312/0.01874, allocations: 84.66 kB / 382.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/0.01905, allocations: 244.3 kB / 382.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.323e-05/0.01909, allocations: 37.38 kB / 382.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.469e-05/0.01916, allocations: 52.33 kB / 382.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00353/0.02269, allocations: 404.1 kB / 383.2 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.646e-05/0.02272, allocations: 8.078 kB / 383.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.459e-05/0.02275, allocations: 28.36 kB / 383.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.664e-05/0.02277, allocations: 12.38 kB / 383.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002958/0.02306, allocations: 182 kB / 383.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001805/0.02487, allocations: 1.908 MB / 385.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003461/0.02833, allocations: 419.8 kB / 385.8 MB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001589/0.02849, allocations: 153.1 kB / 385.9 MB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.02851, allocations: 11.94 kB / 385.9 MB, free: 10.72 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.02854, allocations: 49.33 kB / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 2.455e-06/0.02855, allocations: 4 kB / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.0006211/0.02917, allocations: 309.6 kB / 386.3 MB, free: 10.35 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003408/0.02951, allocations: 269 kB / 386.5 MB, free: 10.03 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.02973, allocations: 296.2 kB / 386.8 MB, free: 9.719 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.02975, allocations: 37.7 kB / 386.9 MB, free: 9.676 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.02989, allocations: 294.9 kB / 387.1 MB, free: 9.383 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.03, allocations: 186.5 kB / 387.3 MB, free: 9.199 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.59e-05/0.0301, allocations: 120.8 kB / 387.4 MB, free: 9.074 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.03021, allocations: 0.5195 MB / 388 MB, free: 8.543 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.751e-05/0.03031, allocations: 73.95 kB / 388 MB, free: 8.469 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/0.03056, allocations: 492.9 kB / 388.5 MB, free: 7.797 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004088/0.03097, allocations: 0.6159 MB / 389.1 MB, free: 6.992 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.03098, allocations: 4 kB / 389.1 MB, free: 6.988 MB / 362.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0004881/0.03146, allocations: 0.513 MB / 389.7 MB, free: 6.469 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.03149, allocations: 13.88 kB / 389.7 MB, free: 6.457 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.0315, allocations: 8 kB / 389.7 MB, free: 6.449 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.03152, allocations: 16 kB / 389.7 MB, free: 6.434 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003068/0.03182, allocations: 179.7 kB / 389.9 MB, free: 6.258 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/0.03184, allocations: 19.94 kB / 389.9 MB, free: 6.238 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.03199, allocations: 63.5 kB / 389.9 MB, free: 6.176 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.03201, allocations: 36 kB / 390 MB, free: 6.141 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.0001169/0.03213, allocations: 216.4 kB / 390.2 MB, free: 5.918 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.03224, allocations: 43.81 kB / 390.2 MB, free: 5.875 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.863e-05/0.0323, allocations: 45.77 kB / 390.3 MB, free: 5.832 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.0323, allocations: 4 kB / 390.3 MB, free: 5.828 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.03231, allocations: 4 kB / 390.3 MB, free: 5.824 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.03232, allocations: 7.922 kB / 390.3 MB, free: 5.816 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005536/0.03287, allocations: 304.2 kB / 390.6 MB, free: 5.484 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.03287, allocations: 4 kB / 390.6 MB, free: 5.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003212/0.03319, allocations: 119.9 kB / 390.7 MB, free: 5.363 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.0332, allocations: 4 kB / 390.7 MB, free: 5.359 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.936e-05/0.03323, allocations: 20 kB / 390.7 MB, free: 5.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.03323, allocations: 7.984 kB / 390.7 MB, free: 5.332 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.03323, allocations: 3.938 kB / 390.7 MB, free: 5.328 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000628/0.03386, allocations: 1.427 MB / 392.2 MB, free: 3.867 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.294e-05/0.0339, allocations: 39.64 kB / 392.2 MB, free: 3.828 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.139e-05/0.03393, allocations: 12 kB / 392.2 MB, free: 3.816 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.03414, allocations: 12 kB / 392.2 MB, free: 3.805 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.156e-05/0.03418, allocations: 35.83 kB / 392.3 MB, free: 3.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.03419, allocations: 15.98 kB / 392.3 MB, free: 3.754 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.136e-05/0.03428, allocations: 197.1 kB / 392.5 MB, free: 3.562 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03428, allocations: 0 / 392.5 MB, free: 3.562 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005125/0.0348, allocations: 135.8 kB / 392.6 MB, free: 3.43 MB / 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.0001047/0.0349, allocations: 107.2 kB / 392.7 MB, free: 3.316 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003324/0.03523, allocations: 294 kB / 393 MB, free: 3.027 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.03524, allocations: 1.938 kB / 393 MB, free: 3.027 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.03535, allocations: 128.4 kB / 393.1 MB, free: 2.898 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007548/0.0361, allocations: 95.69 kB / 393.2 MB, free: 2.809 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001985/0.03809, allocations: 1.512 MB / 394.7 MB, free: 1.227 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001164/0.0382, allocations: 121.8 kB / 394.9 MB, free: 1.082 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001328/0.03834, allocations: 47.44 kB / 394.9 MB, free: 1.035 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.653e-05/0.03839, allocations: 32.5 kB / 394.9 MB, free: 1.004 MB / 362.7 MB Notification: Performance of SimCode: time 1.272e-06/0.03839, allocations: 4 kB / 394.9 MB, free: 1 MB / 362.7 MB Notification: Performance of Templates: time 0.006492/0.04488, allocations: 4.116 MB / 399.1 MB, free: 12.97 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 3.2637909040786326]