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.001172/0.001172, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001639/0.001639, allocations: 167.6 kB / 25.61 MB, free: 8.902 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 0.9761/0.9761, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.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.1581/0.1581, allocations: 34.26 MB / 296.9 MB, free: 13.95 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 2.234e-06/2.234e-06, allocations: 4 kB / 379.3 MB, free: 23.45 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.656e-05, allocations: 9.484 kB / 379.3 MB, free: 23.45 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.002653/0.002679, allocations: 3.006 MB / 382.3 MB, free: 20.42 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000807/0.003486, allocations: 426.4 kB / 382.7 MB, free: 20 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001713/0.003657, allocations: 11.94 kB / 382.7 MB, free: 19.99 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 9.214e-05/0.00375, allocations: 71.3 kB / 382.8 MB, free: 19.92 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002929/0.004042, allocations: 182.3 kB / 383 MB, free: 19.74 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000196/0.004238, allocations: 95.84 kB / 383.1 MB, free: 19.64 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003111/0.004549, allocations: 0.5634 MB / 383.6 MB, free: 19.08 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001795/0.004729, allocations: 113.2 kB / 383.7 MB, free: 18.96 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003486/0.005078, allocations: 319.3 kB / 384 MB, free: 18.65 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000188/0.005266, allocations: 167.5 kB / 384.2 MB, free: 18.49 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.174e-05/0.005317, allocations: 40 kB / 384.2 MB, free: 18.45 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.986e-05/0.005367, allocations: 40 kB / 384.3 MB, free: 18.41 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.798e-05/0.005425, allocations: 95.66 kB / 384.4 MB, free: 18.32 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.00555, allocations: 175.6 kB / 384.5 MB, free: 18.14 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002806/0.00583, allocations: 350.7 kB / 384.9 MB, free: 17.8 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.005834, allocations: 0 / 384.9 MB, free: 17.8 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.005835, allocations: 0 / 384.9 MB, free: 17.8 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.005842, allocations: 0 / 384.9 MB, free: 17.8 MB / 314.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.0005557/0.006398, allocations: 0.757 MB / 385.6 MB, free: 17 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.006428, allocations: 8.031 kB / 385.7 MB, free: 17 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.639e-05/0.006505, allocations: 92.61 kB / 385.7 MB, free: 16.91 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001844/0.006689, allocations: 234.3 kB / 386 MB, free: 16.65 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.006707, allocations: 37.38 kB / 386 MB, free: 16.62 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.511e-05/0.006752, allocations: 56.31 kB / 386.1 MB, free: 16.56 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002468/0.006999, allocations: 372 kB / 386.4 MB, free: 16.15 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.007017, allocations: 12.09 kB / 386.4 MB, free: 16.14 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/0.007036, allocations: 20.38 kB / 386.5 MB, free: 16.12 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.007045, allocations: 16.38 kB / 386.5 MB, free: 16.11 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.007166, allocations: 149.5 kB / 386.6 MB, free: 15.96 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.008221, allocations: 1.881 MB / 388.5 MB, free: 14.01 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000243/0.008464, allocations: 404 kB / 388.9 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.915e-05/0.008543, allocations: 137.1 kB / 389 MB, free: 13.33 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.008557, allocations: 11.94 kB / 389 MB, free: 13.32 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.00858, allocations: 49.53 kB / 389.1 MB, free: 13.26 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 1.433e-06/0.008582, allocations: 0 / 389.1 MB, free: 13.26 MB / 314.7 MB Notification: Performance of matching and sorting (n=42): time 0.0003814/0.008963, allocations: 289.8 kB / 389.4 MB, free: 12.97 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.009013, allocations: 265 kB / 389.6 MB, free: 12.65 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.009129, allocations: 296.5 kB / 389.9 MB, free: 12.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.009141, allocations: 33.7 kB / 390 MB, free: 12.3 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.118e-05/0.009222, allocations: 295 kB / 390.2 MB, free: 12.01 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.037e-05/0.009293, allocations: 190.3 kB / 390.4 MB, free: 11.82 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.956e-05/0.009372, allocations: 128.2 kB / 390.6 MB, free: 11.69 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.009489, allocations: 0.5272 MB / 391.1 MB, free: 11.15 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.417e-05/0.009543, allocations: 53.95 kB / 391.1 MB, free: 11.1 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/0.009717, allocations: 480.8 kB / 391.6 MB, free: 10.44 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003232/0.01004, allocations: 0.5995 MB / 392.2 MB, free: 9.648 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/0.01005, allocations: 0 / 392.2 MB, free: 9.648 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.000378/0.01043, allocations: 488.8 kB / 392.7 MB, free: 9.164 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.01045, allocations: 10.34 kB / 392.7 MB, free: 9.156 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.01045, allocations: 8 kB / 392.7 MB, free: 9.148 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.01047, allocations: 16 kB / 392.7 MB, free: 9.133 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002628/0.01073, allocations: 176.4 kB / 392.9 MB, free: 8.961 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.01074, allocations: 27.92 kB / 392.9 MB, free: 8.934 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001512/0.0109, allocations: 67.52 kB / 393 MB, free: 8.867 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.01091, allocations: 24 kB / 393 MB, free: 8.844 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.968e-05/0.01101, allocations: 208.2 kB / 393.2 MB, free: 8.629 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.01114, allocations: 51.81 kB / 393.3 MB, free: 8.578 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.728e-05/0.01118, allocations: 37.77 kB / 393.3 MB, free: 8.539 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.01119, allocations: 8 kB / 393.3 MB, free: 8.531 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.01119, allocations: 4 kB / 393.3 MB, free: 8.527 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.0112, allocations: 3.984 kB / 393.3 MB, free: 8.523 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004992/0.0117, allocations: 260.8 kB / 393.6 MB, free: 8.242 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.0117, allocations: 7.984 kB / 393.6 MB, free: 8.234 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002873/0.01199, allocations: 123.8 kB / 393.7 MB, free: 8.113 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.012, allocations: 7.984 kB / 393.7 MB, free: 8.105 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/0.01202, allocations: 12 kB / 393.7 MB, free: 8.094 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.788e-06/0.01202, allocations: 4.125 kB / 393.7 MB, free: 8.09 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.01203, allocations: 8 kB / 393.7 MB, free: 8.082 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005146/0.01254, allocations: 1.403 MB / 395.1 MB, free: 6.645 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.677e-05/0.01257, allocations: 39.69 kB / 395.2 MB, free: 6.605 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.0126, allocations: 16 kB / 395.2 MB, free: 6.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.0128, allocations: 7.984 kB / 395.2 MB, free: 6.582 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.817e-05/0.01283, allocations: 35.89 kB / 395.2 MB, free: 6.547 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.01284, allocations: 11.94 kB / 395.2 MB, free: 6.535 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.164e-05/0.01289, allocations: 193.1 kB / 395.4 MB, free: 6.348 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01289, allocations: 0 / 395.4 MB, free: 6.348 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004866/0.01337, allocations: 139.7 kB / 395.6 MB, free: 6.211 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 0.000101/0.01348, allocations: 107.8 kB / 395.7 MB, free: 6.098 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002667/0.01374, allocations: 271.6 kB / 395.9 MB, free: 5.832 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.01374, allocations: 320 / 395.9 MB, free: 5.832 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.173e-05/0.01382, allocations: 111.4 kB / 396 MB, free: 5.719 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006859/0.0145, allocations: 107 kB / 396.1 MB, free: 5.625 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.0159, allocations: 1.508 MB / 397.7 MB, free: 4.051 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.504e-05/0.01598, allocations: 125.7 kB / 397.8 MB, free: 3.906 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001055/0.01609, allocations: 51.42 kB / 397.8 MB, free: 3.852 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.01623, allocations: 158.1 kB / 398 MB, free: 3.695 MB / 314.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01623, allocations: 0 / 398 MB, free: 3.695 MB / 314.7 MB Notification: Performance of Templates: time 0.006893/0.02312, allocations: 4.555 MB / 402.5 MB, free: 15.24 MB / 330.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5141056403517723]