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.0009849/0.0009849, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.001094/0.001094, allocations: 169.3 kB / 24.82 MB, free: 9.273 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.998/0.998, allocations: 177 MB / 205.1 MB, free: 5.48 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.274/0.274, allocations: 34.87 MB / 296.6 MB, free: 0.5117 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.793e-06/1.793e-06, allocations: 0 / 379.2 MB, free: 1.871 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.008e-05/3.187e-05, allocations: 3.297 kB / 379.2 MB, free: 1.867 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.003048/0.00308, allocations: 3.036 MB / 382.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006371/0.003717, allocations: 422.5 kB / 382.7 MB, free: 14.4 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.003845, allocations: 11.94 kB / 382.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 9.684e-05/0.003942, allocations: 63.31 kB / 382.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002385/0.00418, allocations: 182.4 kB / 382.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001923/0.004373, allocations: 95.86 kB / 383 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003663/0.004739, allocations: 0.5711 MB / 383.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002/0.004939, allocations: 109.2 kB / 383.7 MB, free: 13.37 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002894/0.005228, allocations: 315.4 kB / 384 MB, free: 13.06 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001704/0.005399, allocations: 159.6 kB / 384.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.957e-05/0.005448, allocations: 44 kB / 384.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.816e-05/0.005497, allocations: 40 kB / 384.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.871e-05/0.005565, allocations: 103.6 kB / 384.3 MB, free: 12.72 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.005691, allocations: 171.7 kB / 384.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003319/0.006023, allocations: 350.6 kB / 384.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.006027, allocations: 3.984 kB / 384.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.083e-06/0.006028, allocations: 0 / 384.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.006034, allocations: 0 / 384.8 MB, free: 12.2 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.0006465/0.00668, allocations: 0.7492 MB / 385.6 MB, free: 11.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.006722, allocations: 15.97 kB / 385.6 MB, free: 11.4 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.905e-05/0.006821, allocations: 88.66 kB / 385.7 MB, free: 11.31 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/0.007031, allocations: 237.3 kB / 385.9 MB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.007057, allocations: 41.31 kB / 386 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.543e-05/0.007113, allocations: 56.31 kB / 386 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003138/0.007427, allocations: 380 kB / 386.4 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.007445, allocations: 12.12 kB / 386.4 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/0.007468, allocations: 24.36 kB / 386.4 MB, free: 10.51 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.007479, allocations: 16.38 kB / 386.4 MB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001477/0.007627, allocations: 147.6 kB / 386.6 MB, free: 10.35 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.008888, allocations: 1.861 MB / 388.4 MB, free: 8.422 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003267/0.009215, allocations: 395.9 kB / 388.8 MB, free: 7.922 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.00933, allocations: 145.4 kB / 389 MB, free: 7.742 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.009347, allocations: 15.98 kB / 389 MB, free: 7.727 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.00938, allocations: 49.33 kB / 389 MB, free: 7.668 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 2.364e-06/0.009382, allocations: 0 / 389 MB, free: 7.668 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.0004038/0.009786, allocations: 289.3 kB / 389.3 MB, free: 7.379 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/0.009894, allocations: 273 kB / 389.6 MB, free: 7.051 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.01007, allocations: 288.2 kB / 389.9 MB, free: 6.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.01009, allocations: 38.2 kB / 389.9 MB, free: 6.707 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.01022, allocations: 298.8 kB / 390.2 MB, free: 6.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.579e-05/0.01032, allocations: 190.4 kB / 390.4 MB, free: 6.223 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.265e-05/0.01041, allocations: 120.2 kB / 390.5 MB, free: 6.098 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.01056, allocations: 0.5195 MB / 391 MB, free: 5.566 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.373e-05/0.01062, allocations: 57.94 kB / 391.1 MB, free: 5.508 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000278/0.0109, allocations: 488.8 kB / 391.6 MB, free: 4.836 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004133/0.01131, allocations: 0.5914 MB / 392.1 MB, free: 4.055 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.01132, allocations: 0 / 392.1 MB, free: 4.055 MB / 362.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0004475/0.01177, allocations: 493.6 kB / 392.6 MB, free: 3.566 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.01179, allocations: 8 kB / 392.6 MB, free: 3.559 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.0118, allocations: 8 kB / 392.6 MB, free: 3.551 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/0.01183, allocations: 16 kB / 392.7 MB, free: 3.535 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003029/0.01213, allocations: 180.4 kB / 392.8 MB, free: 3.359 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.01214, allocations: 23.94 kB / 392.9 MB, free: 3.336 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001552/0.0123, allocations: 71.5 kB / 392.9 MB, free: 3.266 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.01232, allocations: 24 kB / 392.9 MB, free: 3.242 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.0001344/0.01246, allocations: 216.1 kB / 393.2 MB, free: 3.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.01257, allocations: 47.81 kB / 393.2 MB, free: 2.973 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.528e-05/0.01263, allocations: 41.77 kB / 393.2 MB, free: 2.934 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.01264, allocations: 8 kB / 393.3 MB, free: 2.926 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.01265, allocations: 4 kB / 393.3 MB, free: 2.922 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.01265, allocations: 0 / 393.3 MB, free: 2.922 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005371/0.01319, allocations: 256.8 kB / 393.5 MB, free: 2.645 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.01319, allocations: 8 kB / 393.5 MB, free: 2.637 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002923/0.01349, allocations: 123.9 kB / 393.6 MB, free: 2.516 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.01349, allocations: 4 kB / 393.6 MB, free: 2.512 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.353e-05/0.01352, allocations: 11.98 kB / 393.7 MB, free: 2.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.01352, allocations: 4 kB / 393.7 MB, free: 2.496 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.01352, allocations: 7.938 kB / 393.7 MB, free: 2.488 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006544/0.01418, allocations: 1.399 MB / 395.1 MB, free: 1.055 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.195e-05/0.01421, allocations: 39.64 kB / 395.1 MB, free: 1.016 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/0.01424, allocations: 24.12 kB / 395.1 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002044/0.01444, allocations: 4 kB / 395.1 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.644e-05/0.01448, allocations: 35.94 kB / 395.2 MB, free: 0.9531 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.01449, allocations: 11.94 kB / 395.2 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.239e-05/0.01456, allocations: 189.1 kB / 395.4 MB, free: 0.7578 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01456, allocations: 0 / 395.4 MB, free: 0.7578 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005072/0.01507, allocations: 135.8 kB / 395.5 MB, free: 0.625 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.0001521/0.01522, allocations: 111.8 kB / 395.6 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00028/0.0155, allocations: 283.7 kB / 395.9 MB, free: 236 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.0155, allocations: 0 / 395.9 MB, free: 236 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.899e-05/0.01559, allocations: 115.6 kB / 396 MB, free: 116 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007211/0.01631, allocations: 101.1 kB / 396.1 MB, free: 24 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00179/0.0181, allocations: 1.509 MB / 397.6 MB, free: 14.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/0.01822, allocations: 121.7 kB / 397.7 MB, free: 14.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001143/0.01834, allocations: 51.44 kB / 397.8 MB, free: 14.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001703/0.01851, allocations: 162.1 kB / 397.9 MB, free: 14.09 MB / 378.7 MB Notification: Performance of SimCode: time 1.182e-06/0.01851, allocations: 0 / 397.9 MB, free: 14.09 MB / 378.7 MB Notification: Performance of Templates: time 0.007222/0.02573, allocations: 4.481 MB / 402.4 MB, free: 9.699 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","",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.2187245870009065]