Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001247/0.001247, allocations: 175.8 kB / 16.76 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.453/1.453, allocations: 205.4 MB / 222.9 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006835/0.0006836, allocations: 81.05 kB / 271.3 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3275/0.3275, allocations: 43.56 MB / 363.1 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000357/0.0003571, allocations: 15.98 kB / 432.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1186, allocations: 58.84 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3354/0.454, allocations: 85.02 MB / 0.563 GB, free: 0.9961 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002192/0.4543, allocations: 73.8 kB / 0.563 GB, free: 0.9258 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006165/0.4605, allocations: 2.614 MB / 0.5656 GB, free: 14.34 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.4605, allocations: 0 / 0.5656 GB, free: 14.34 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.4605, allocations: 4 kB / 0.5656 GB, free: 14.34 MB / 394.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.0004523/0.461, allocations: 419.1 kB / 0.566 GB, free: 13.88 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.979e-05/0.4611, allocations: 8.031 kB / 0.566 GB, free: 13.87 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.097e-05/0.4611, allocations: 24.66 kB / 0.566 GB, free: 13.84 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.4613, allocations: 180.2 kB / 0.5662 GB, free: 13.63 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.4613, allocations: 12.7 kB / 0.5662 GB, free: 13.62 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.058e-05/0.4613, allocations: 24.28 kB / 0.5662 GB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002788/0.4616, allocations: 177.1 kB / 0.5664 GB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.4616, allocations: 1.703 kB / 0.5664 GB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.4617, allocations: 11.94 kB / 0.5664 GB, free: 13.4 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.076e-06/0.4617, allocations: 4 kB / 0.5664 GB, free: 13.4 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001531/0.4618, allocations: 80.58 kB / 0.5665 GB, free: 13.32 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008505/0.4627, allocations: 0.6189 MB / 0.5671 GB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.4629, allocations: 129.1 kB / 0.5672 GB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.254e-05/0.463, allocations: 62.33 kB / 0.5673 GB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.463, allocations: 4 kB / 0.5673 GB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.4631, allocations: 34.69 kB / 0.5673 GB, free: 12.39 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 1.363e-06/0.4631, allocations: 0 / 0.5673 GB, free: 12.39 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008588/0.4639, allocations: 386 kB / 0.5677 GB, free: 11.96 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/0.464, allocations: 77.11 kB / 0.5678 GB, free: 11.87 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.4641, allocations: 133.1 kB / 0.5679 GB, free: 11.73 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.4642, allocations: 34.08 kB / 0.5679 GB, free: 11.69 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.757e-05/0.4643, allocations: 128 kB / 0.568 GB, free: 11.56 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.837e-05/0.4643, allocations: 55.2 kB / 0.5681 GB, free: 11.5 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.506e-06/0.4643, allocations: 4 kB / 0.5681 GB, free: 11.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.4645, allocations: 326.8 kB / 0.5684 GB, free: 11.17 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.555e-05/0.4645, allocations: 35.98 kB / 0.5684 GB, free: 11.14 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.4647, allocations: 105.5 kB / 0.5685 GB, free: 11 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002043/0.4649, allocations: 157.5 kB / 0.5687 GB, free: 10.82 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.4649, allocations: 0 / 0.5687 GB, free: 10.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003721/0.4653, allocations: 219 kB / 0.5689 GB, free: 10.59 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.4653, allocations: 8 kB / 0.5689 GB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.4653, allocations: 4 kB / 0.5689 GB, free: 10.58 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002288/0.4656, allocations: 53.62 kB / 0.569 GB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.4657, allocations: 35.98 kB / 0.569 GB, free: 10.49 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002144/0.4679, allocations: 2.719 MB / 0.5717 GB, free: 7.508 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.329e-05/0.468, allocations: 15.84 kB / 0.5717 GB, free: 7.492 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.468, allocations: 8 kB / 0.5717 GB, free: 7.484 MB / 394.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.0001185/0.4681, allocations: 141.8 kB / 0.5718 GB, free: 7.336 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.54e-05/0.4681, allocations: 7.906 kB / 0.5718 GB, free: 7.328 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.476e-05/0.4682, allocations: 20.7 kB / 0.5718 GB, free: 7.312 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.4682, allocations: 4.547 kB / 0.5718 GB, free: 7.309 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.4682, allocations: 0 / 0.5718 GB, free: 7.309 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.4682, allocations: 0 / 0.5718 GB, free: 7.309 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002768/0.4685, allocations: 233.4 kB / 0.5721 GB, free: 7.031 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.4685, allocations: 7.516 kB / 0.5721 GB, free: 7.031 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001417/0.4687, allocations: 27.98 kB / 0.5721 GB, free: 7.004 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001261/0.4688, allocations: 53.64 kB / 0.5722 GB, free: 6.945 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.4688, allocations: 0 / 0.5722 GB, free: 6.945 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00181/0.4706, allocations: 2.724 MB / 0.5748 GB, free: 3.957 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.4707, allocations: 12.17 kB / 0.5748 GB, free: 3.945 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000368/0.471, allocations: 370.4 kB / 0.5752 GB, free: 3.562 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.936e-05/0.4711, allocations: 89.08 kB / 0.5753 GB, free: 3.457 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.4711, allocations: 0 / 0.5753 GB, free: 3.457 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.934e-05/0.4712, allocations: 3.938 kB / 0.5753 GB, free: 3.453 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.61e-05/0.4712, allocations: 19.98 kB / 0.5753 GB, free: 3.434 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.4713, allocations: 8.859 kB / 0.5753 GB, free: 3.426 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.455e-05/0.4714, allocations: 99.27 kB / 0.5754 GB, free: 3.328 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4714, allocations: 0 / 0.5754 GB, free: 3.328 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004384/0.4718, allocations: 55.84 kB / 0.5754 GB, free: 3.273 MB / 394.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.0001242/0.4719, allocations: 103.2 kB / 0.5755 GB, free: 3.16 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000494/0.4724, allocations: 343.5 kB / 0.5759 GB, free: 2.805 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4725, allocations: 0 / 0.5759 GB, free: 2.805 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002874/0.4727, allocations: 285.8 kB / 0.5761 GB, free: 2.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004489/0.4732, allocations: 32.92 kB / 0.5762 GB, free: 2.469 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.4742, allocations: 0.793 MB / 0.5769 GB, free: 1.66 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/0.4745, allocations: 0.7203 MB / 0.5777 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.997e-05/0.4746, allocations: 21.41 kB / 0.5777 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.942e-05/0.4746, allocations: 11.44 kB / 0.5777 GB, free: 0.8789 MB / 394.7 MB Notification: Performance of SimCode: time 3.5e-07/0.4746, allocations: 0 / 0.5777 GB, free: 0.8789 MB / 394.7 MB Notification: Performance of Templates: time 0.004371/0.479, allocations: 1.783 MB / 0.5794 GB, free: 15.11 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches