Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.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.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 181 kB / 17.06 MB, free: 5.094 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.289/1.289, allocations: 223.2 MB / 241 MB, free: 11.89 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.0008843/0.0008844, allocations: 97.75 kB / 292.2 MB, free: 10.94 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.315/0.315, allocations: 44.21 MB / 387.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003222/0.0003222, allocations: 8 kB / 459.9 MB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.334, allocations: 61.9 MB / 0.5096 GB, free: 38.19 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1087/0.4427, allocations: 86.19 MB / 0.5937 GB, free: 8.953 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/0.443, allocations: 59.97 kB / 0.5938 GB, free: 8.895 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006666/0.4497, allocations: 2.677 MB / 0.5964 GB, free: 6.219 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.4498, allocations: 0 / 0.5964 GB, free: 6.219 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.4498, allocations: 4 kB / 0.5964 GB, free: 6.215 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0004494/0.4503, allocations: 419.1 kB / 0.5968 GB, free: 5.754 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.4503, allocations: 16.03 kB / 0.5968 GB, free: 5.738 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.972e-05/0.4504, allocations: 15.81 kB / 0.5968 GB, free: 5.723 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.4505, allocations: 182.8 kB / 0.597 GB, free: 5.504 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.4505, allocations: 20.27 kB / 0.597 GB, free: 5.484 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.554e-05/0.4506, allocations: 16 kB / 0.597 GB, free: 5.469 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003006/0.4509, allocations: 165.6 kB / 0.5972 GB, free: 5.297 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.4509, allocations: 3.906 kB / 0.5972 GB, free: 5.293 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.878e-05/0.4509, allocations: 8 kB / 0.5972 GB, free: 5.285 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.451, allocations: 4 kB / 0.5972 GB, free: 5.281 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001509/0.4511, allocations: 95.88 kB / 0.5973 GB, free: 5.188 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008489/0.452, allocations: 0.6189 MB / 0.5979 GB, free: 4.508 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.4522, allocations: 129.2 kB / 0.598 GB, free: 4.363 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.4522, allocations: 4.172 kB / 0.598 GB, free: 4.359 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.4523, allocations: 39.62 kB / 0.5981 GB, free: 4.312 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.4523, allocations: 0 / 0.5981 GB, free: 4.312 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007999/0.4531, allocations: 377.2 kB / 0.5984 GB, free: 3.895 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.324e-05/0.4532, allocations: 85.11 kB / 0.5985 GB, free: 3.793 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.4533, allocations: 123.2 kB / 0.5986 GB, free: 3.664 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.4533, allocations: 25.7 kB / 0.5987 GB, free: 3.633 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.839e-05/0.4534, allocations: 132 kB / 0.5988 GB, free: 3.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.304e-05/0.4535, allocations: 59.11 kB / 0.5988 GB, free: 3.441 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.424e-06/0.4535, allocations: 4 kB / 0.5988 GB, free: 3.438 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.4536, allocations: 322.8 kB / 0.5991 GB, free: 3.113 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.65e-05/0.4537, allocations: 31.98 kB / 0.5992 GB, free: 3.082 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.4538, allocations: 112.5 kB / 0.5993 GB, free: 2.941 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.285e-05/0.4539, allocations: 48.38 kB / 0.5993 GB, free: 2.895 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.4539, allocations: 4 kB / 0.5993 GB, free: 2.891 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003663/0.4543, allocations: 218.8 kB / 0.5995 GB, free: 2.664 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.4543, allocations: 8.25 kB / 0.5996 GB, free: 2.656 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.4544, allocations: 4 kB / 0.5996 GB, free: 2.652 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00026/0.4546, allocations: 49.69 kB / 0.5996 GB, free: 2.598 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/0.4548, allocations: 43.86 kB / 0.5996 GB, free: 2.555 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0025/0.4573, allocations: 2.728 MB / 0.6023 GB, free: 15.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.184e-05/0.4574, allocations: 19.88 kB / 0.6023 GB, free: 15.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.4575, allocations: 8 kB / 0.6023 GB, free: 15.54 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (20): * Single equations (assignments): 18 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001652/0.4576, allocations: 137.7 kB / 0.6025 GB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.68e-05/0.4577, allocations: 16 kB / 0.6025 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.974e-05/0.4578, allocations: 16.72 kB / 0.6025 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.4578, allocations: 7.984 kB / 0.6025 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.4578, allocations: 0 / 0.6025 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.4578, allocations: 3.953 kB / 0.6025 GB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003474/0.4582, allocations: 225.6 kB / 0.6027 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.4582, allocations: 0 / 0.6027 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/0.4583, allocations: 31.98 kB / 0.6028 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001281/0.4585, allocations: 45.69 kB / 0.6028 GB, free: 15 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.4585, allocations: 4 kB / 0.6028 GB, free: 15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002164/0.4607, allocations: 2.728 MB / 0.6055 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.4607, allocations: 4.344 kB / 0.6055 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003919/0.4611, allocations: 387.2 kB / 0.6058 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.058e-05/0.4612, allocations: 85.02 kB / 0.6059 GB, free: 11.49 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.4612, allocations: 128 / 0.6059 GB, free: 11.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.4613, allocations: 8.062 kB / 0.6059 GB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.799e-05/0.4613, allocations: 19.94 kB / 0.6059 GB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.4613, allocations: 11.98 kB / 0.606 GB, free: 11.45 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.752e-05/0.4614, allocations: 95.27 kB / 0.6061 GB, free: 11.36 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4614, allocations: 0 / 0.6061 GB, free: 11.36 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000445/0.4619, allocations: 55.84 kB / 0.6061 GB, free: 11.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.phi,inertia2.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.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 (10): * Single equations (assignments): 8 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001688/0.462, allocations: 100.4 kB / 0.6062 GB, free: 11.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005798/0.4626, allocations: 357.2 kB / 0.6065 GB, free: 10.82 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.4626, allocations: 0 / 0.6065 GB, free: 10.82 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003293/0.463, allocations: 281.8 kB / 0.6068 GB, free: 10.52 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003527/0.4633, allocations: 34.17 kB / 0.6068 GB, free: 10.49 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.4644, allocations: 0.7764 MB / 0.6076 GB, free: 9.684 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.4647, allocations: 0.7281 MB / 0.6083 GB, free: 8.926 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.925e-05/0.4648, allocations: 13.42 kB / 0.6083 GB, free: 8.91 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.164e-05/0.4648, allocations: 15.44 kB / 0.6083 GB, free: 8.895 MB / 426.7 MB Notification: Performance of SimCode: time 3.1e-07/0.4648, allocations: 0 / 0.6083 GB, free: 8.895 MB / 426.7 MB Notification: Performance of Templates: time 0.004218/0.469, allocations: 1.772 MB / 0.6101 GB, free: 7.141 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches