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.001366/0.001366, allocations: 84.73 kB / 21.5 MB, free: 2.984 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.001464/0.001464, allocations: 160.2 kB / 24.91 MB, free: 8.766 MB / 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 0.9587/0.9587, allocations: 177 MB / 205.2 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] 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.2455/0.2455, allocations: 34.87 MB / 296.6 MB, free: 0.5 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.382e-06/1.382e-06, allocations: 0 / 325.9 MB, free: 7.176 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.162e-05/1.3e-05, allocations: 3.016 kB / 325.9 MB, free: 7.172 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.002565/0.002578, allocations: 3.023 MB / 328.9 MB, free: 4.133 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005371/0.003115, allocations: 446.1 kB / 329.4 MB, free: 3.695 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.003217, allocations: 11.94 kB / 329.4 MB, free: 3.684 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.818e-05/0.003305, allocations: 67.3 kB / 329.4 MB, free: 3.617 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002234/0.003528, allocations: 178.4 kB / 329.6 MB, free: 3.441 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001602/0.003689, allocations: 99.84 kB / 329.7 MB, free: 3.344 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003294/0.004018, allocations: 0.5686 MB / 330.3 MB, free: 2.773 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.004174, allocations: 113.8 kB / 330.4 MB, free: 2.656 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002353/0.004409, allocations: 319.4 kB / 330.7 MB, free: 2.344 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001675/0.004577, allocations: 159.6 kB / 330.9 MB, free: 2.188 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.256e-05/0.004619, allocations: 44 kB / 330.9 MB, free: 2.145 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.05e-05/0.00466, allocations: 40 kB / 330.9 MB, free: 2.105 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.636e-05/0.004716, allocations: 99.58 kB / 331 MB, free: 2.008 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.004828, allocations: 175.7 kB / 331.2 MB, free: 1.836 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002637/0.005092, allocations: 350.6 kB / 331.5 MB, free: 1.492 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.005094, allocations: 0 / 331.5 MB, free: 1.492 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.005094, allocations: 0 / 331.5 MB, free: 1.492 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.005099, allocations: 0 / 331.5 MB, free: 1.492 MB / 298.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.0005806/0.005679, allocations: 0.6376 MB / 332.2 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.005716, allocations: 15.97 kB / 332.2 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/0.005827, allocations: 68.88 kB / 332.3 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002273/0.006054, allocations: 202.6 kB / 332.5 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.006077, allocations: 37.31 kB / 332.5 MB, free: 496 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.008e-05/0.006138, allocations: 52.33 kB / 332.6 MB, free: 444 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003021/0.00644, allocations: 366.5 kB / 332.9 MB, free: 44 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.00646, allocations: 16.12 kB / 332.9 MB, free: 28 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.095e-05/0.006481, allocations: 20.38 kB / 332.9 MB, free: 8 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.939e-05/0.006501, allocations: 12.42 kB / 333 MB, free: 15.99 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/0.006635, allocations: 134.4 kB / 333.1 MB, free: 15.87 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.007815, allocations: 1.338 MB / 334.4 MB, free: 14.49 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003116/0.008127, allocations: 319.7 kB / 334.7 MB, free: 14.09 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.2e-05/0.008219, allocations: 103.9 kB / 334.8 MB, free: 13.96 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.008234, allocations: 11.94 kB / 334.9 MB, free: 13.95 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.008262, allocations: 50.55 kB / 334.9 MB, free: 13.89 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 2.405e-06/0.008264, allocations: 0 / 334.9 MB, free: 13.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=42): time 0.0003158/0.00858, allocations: 233.2 kB / 335.1 MB, free: 13.66 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.658e-05/0.008656, allocations: 269 kB / 335.4 MB, free: 13.34 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.008783, allocations: 245.5 kB / 335.6 MB, free: 13.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.008797, allocations: 33.7 kB / 335.7 MB, free: 13.05 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.417e-05/0.008881, allocations: 244.1 kB / 335.9 MB, free: 12.8 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.856e-05/0.00896, allocations: 186.4 kB / 336.1 MB, free: 12.62 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.7e-05/0.009037, allocations: 118.6 kB / 336.2 MB, free: 12.5 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.499e-05/0.009132, allocations: 358.6 kB / 336.6 MB, free: 12.14 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.398e-05/0.009186, allocations: 49.97 kB / 336.6 MB, free: 12.09 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001803/0.009366, allocations: 357.6 kB / 337 MB, free: 11.6 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003045/0.00967, allocations: 487.3 kB / 337.4 MB, free: 10.98 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.009675, allocations: 4 kB / 337.4 MB, free: 10.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0003318/0.01001, allocations: 405 kB / 337.8 MB, free: 10.58 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.01002, allocations: 11.98 kB / 337.8 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.01003, allocations: 12 kB / 337.9 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.01005, allocations: 12 kB / 337.9 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003005/0.01035, allocations: 180.4 kB / 338 MB, free: 10.37 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.01036, allocations: 19.94 kB / 338.1 MB, free: 10.35 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.0105, allocations: 63.58 kB / 338.1 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.01052, allocations: 28 kB / 338.1 MB, free: 10.26 MB / 314.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 9.601e-05/0.01061, allocations: 165.5 kB / 338.3 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.01072, allocations: 39.95 kB / 338.3 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.761e-05/0.01076, allocations: 41.77 kB / 338.4 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.01077, allocations: 8 kB / 338.4 MB, free: 9.992 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.01077, allocations: 0 / 338.4 MB, free: 9.992 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.01078, allocations: 4 kB / 338.4 MB, free: 9.988 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005336/0.01131, allocations: 221.5 kB / 338.6 MB, free: 9.754 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.01131, allocations: 7.938 kB / 338.6 MB, free: 9.746 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002954/0.01161, allocations: 127.8 kB / 338.7 MB, free: 9.621 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.01161, allocations: 4 kB / 338.8 MB, free: 9.617 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.066e-05/0.01163, allocations: 12 kB / 338.8 MB, free: 9.605 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.01164, allocations: 7.984 kB / 338.8 MB, free: 9.598 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.01164, allocations: 4 kB / 338.8 MB, free: 9.594 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004229/0.01207, allocations: 0.9545 MB / 339.7 MB, free: 8.617 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.91e-05/0.01209, allocations: 43.69 kB / 339.8 MB, free: 8.574 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/0.01212, allocations: 8 kB / 339.8 MB, free: 8.566 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/0.01233, allocations: 12.12 kB / 339.8 MB, free: 8.555 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.8e-05/0.01235, allocations: 35.89 kB / 339.8 MB, free: 8.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.01236, allocations: 11.98 kB / 339.8 MB, free: 8.508 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.644e-05/0.01241, allocations: 74.72 kB / 339.9 MB, free: 8.43 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01241, allocations: 3.938 kB / 339.9 MB, free: 8.426 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004579/0.01287, allocations: 135.8 kB / 340 MB, free: 8.293 MB / 314.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 8.435e-05/0.01295, allocations: 92.98 kB / 340.1 MB, free: 8.195 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002265/0.01318, allocations: 272.7 kB / 340.4 MB, free: 7.93 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/0.01319, allocations: 5.25 kB / 340.4 MB, free: 7.926 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.033e-05/0.01326, allocations: 104.6 kB / 340.5 MB, free: 7.82 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006383/0.0139, allocations: 94.17 kB / 340.6 MB, free: 7.734 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.01492, allocations: 1.012 MB / 341.6 MB, free: 6.668 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.344e-05/0.01502, allocations: 113.8 kB / 341.7 MB, free: 6.539 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.04e-05/0.01511, allocations: 47.44 kB / 341.8 MB, free: 6.492 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/0.01525, allocations: 135.3 kB / 341.9 MB, free: 6.359 MB / 314.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01525, allocations: 0 / 341.9 MB, free: 6.359 MB / 314.7 MB Notification: Performance of Templates: time 0.005968/0.02122, allocations: 4.487 MB / 346.4 MB, free: 1.984 MB / 314.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","",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.861336403992027]