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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 183.8 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 223.2 MB / 241 MB, free: 11.85 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007637/0.0007637, allocations: 98.03 kB / 292.1 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3524/0.3524, allocations: 44.22 MB / 387.5 MB, free: 38.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003073/0.0003074, allocations: 8 kB / 459.9 MB, free: 1.543 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3378, allocations: 61.9 MB / 0.5096 GB, free: 38.22 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1108/0.4486, allocations: 87.3 MB / 0.5948 GB, free: 7.844 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002254/0.4489, allocations: 67.95 kB / 0.5949 GB, free: 7.777 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01805/0.4669, allocations: 7.284 MB / 0.602 GB, free: 500 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.467, allocations: 0 / 0.602 GB, free: 500 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.286e-05/0.467, allocations: 12 kB / 0.602 GB, free: 488 kB / 410.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.0008096/0.4678, allocations: 0.6237 MB / 0.6026 GB, free: 15.8 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.4679, allocations: 8.031 kB / 0.6026 GB, free: 15.8 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.468, allocations: 55.34 kB / 0.6027 GB, free: 15.74 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.4682, allocations: 216.2 kB / 0.6029 GB, free: 15.49 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.883e-05/0.4682, allocations: 37.34 kB / 0.6029 GB, free: 15.46 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.07e-05/0.4683, allocations: 55.86 kB / 0.603 GB, free: 15.4 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006705/0.469, allocations: 458 kB / 0.6034 GB, free: 14.92 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.612e-05/0.469, allocations: 7.906 kB / 0.6034 GB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.588e-05/0.4691, allocations: 20 kB / 0.6034 GB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.4691, allocations: 12 kB / 0.6034 GB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003846/0.4695, allocations: 261 kB / 0.6037 GB, free: 14.62 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002031/0.4715, allocations: 1.699 MB / 0.6053 GB, free: 12.84 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004688/0.472, allocations: 420.4 kB / 0.6057 GB, free: 12.35 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.472, allocations: 15.92 kB / 0.6058 GB, free: 12.34 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.225e-05/0.4721, allocations: 54.5 kB / 0.6058 GB, free: 12.27 MB / 426.7 MB Notification: Performance of pre-optimization done (n=42): time 1.563e-06/0.4721, allocations: 0 / 0.6058 GB, free: 12.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=42): time 0.0006662/0.4727, allocations: 353.1 kB / 0.6061 GB, free: 11.92 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001584/0.4729, allocations: 269 kB / 0.6064 GB, free: 11.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002115/0.4731, allocations: 225.7 kB / 0.6066 GB, free: 11.37 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.4732, allocations: 29.7 kB / 0.6066 GB, free: 11.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.4733, allocations: 243.6 kB / 0.6069 GB, free: 11.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.4734, allocations: 178 kB / 0.607 GB, free: 10.92 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.843e-05/0.4735, allocations: 20 kB / 0.6071 GB, free: 10.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.4736, allocations: 346.8 kB / 0.6074 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.4738, allocations: 110 kB / 0.6075 GB, free: 10.45 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003627/0.4741, allocations: 417.6 kB / 0.6079 GB, free: 9.902 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002705/0.4744, allocations: 183.9 kB / 0.6081 GB, free: 9.723 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.4744, allocations: 0 / 0.6081 GB, free: 9.723 MB / 426.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.000755/0.4752, allocations: 0.5644 MB / 0.6086 GB, free: 9.152 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.4752, allocations: 8 kB / 0.6086 GB, free: 9.145 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.4752, allocations: 12 kB / 0.6086 GB, free: 9.133 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.343e-05/0.4753, allocations: 16 kB / 0.6087 GB, free: 9.117 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000508/0.4758, allocations: 175.7 kB / 0.6088 GB, free: 8.945 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.059e-05/0.4758, allocations: 24.16 kB / 0.6089 GB, free: 8.922 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002393/0.4761, allocations: 64.31 kB / 0.6089 GB, free: 8.859 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.646e-05/0.4761, allocations: 47.88 kB / 0.609 GB, free: 8.812 MB / 426.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001732/0.4763, allocations: 190.1 kB / 0.6091 GB, free: 8.617 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001732/0.4765, allocations: 31.62 kB / 0.6092 GB, free: 8.586 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.229e-05/0.4766, allocations: 45.7 kB / 0.6092 GB, free: 8.543 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.4766, allocations: 4 kB / 0.6092 GB, free: 8.539 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.4766, allocations: 8 kB / 0.6092 GB, free: 8.531 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.4766, allocations: 3.984 kB / 0.6092 GB, free: 8.527 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008973/0.4775, allocations: 421.1 kB / 0.6096 GB, free: 8.066 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.4775, allocations: 8 kB / 0.6096 GB, free: 8.059 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005265/0.478, allocations: 119.9 kB / 0.6098 GB, free: 7.941 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.4781, allocations: 8 kB / 0.6098 GB, free: 7.934 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.892e-05/0.4781, allocations: 12 kB / 0.6098 GB, free: 7.922 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.4781, allocations: 4 kB / 0.6098 GB, free: 7.918 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.4781, allocations: 7.938 kB / 0.6098 GB, free: 7.91 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007653/0.4789, allocations: 1.167 MB / 0.6109 GB, free: 6.668 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.683e-05/0.479, allocations: 116.6 kB / 0.611 GB, free: 6.535 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.318e-05/0.479, allocations: 12 kB / 0.611 GB, free: 6.523 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000365/0.4794, allocations: 11.94 kB / 0.6111 GB, free: 6.512 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.893e-05/0.4794, allocations: 35.86 kB / 0.6111 GB, free: 6.477 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.4795, allocations: 19.98 kB / 0.6111 GB, free: 6.457 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001292/0.4796, allocations: 170 kB / 0.6113 GB, free: 6.289 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4796, allocations: 0 / 0.6113 GB, free: 6.289 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007397/0.4804, allocations: 139.7 kB / 0.6114 GB, free: 6.152 MB / 426.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001644/0.4805, allocations: 111.2 kB / 0.6115 GB, free: 6.031 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005076/0.481, allocations: 345.1 kB / 0.6118 GB, free: 5.695 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.4811, allocations: 0 / 0.6118 GB, free: 5.695 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.4812, allocations: 128.5 kB / 0.612 GB, free: 5.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007472/0.482, allocations: 80.55 kB / 0.612 GB, free: 5.492 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002954/0.4849, allocations: 2.44 MB / 0.6144 GB, free: 3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004056/0.4854, allocations: 0.8394 MB / 0.6152 GB, free: 2.133 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001753/0.4855, allocations: 48.16 kB / 0.6153 GB, free: 2.082 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.146e-05/0.4856, allocations: 31.44 kB / 0.6153 GB, free: 2.051 MB / 426.7 MB Notification: Performance of SimCode: time 4.71e-07/0.4856, allocations: 0 / 0.6153 GB, free: 2.051 MB / 426.7 MB Notification: Performance of Templates: time 0.007132/0.4928, allocations: 3.74 MB / 0.619 GB, free: 14.35 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) 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","../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches