Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.002207/0.002207, allocations: 186.2 kB / 16.4 MB, free: 5.746 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.986/1.986, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001177/0.001177, allocations: 100.5 kB / 270.9 MB, free: 8.375 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.5165/0.5165, allocations: 43.55 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004484/0.0004483, allocations: 8 kB / 431.4 MB, free: 6.188 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1211, allocations: 58.85 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5242/0.6454, allocations: 85 MB / 0.5617 GB, free: 1.711 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/0.6457, allocations: 67.95 kB / 0.5618 GB, free: 1.645 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009872/0.6556, allocations: 2.613 MB / 0.5643 GB, free: 15.06 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.6556, allocations: 0 / 0.5643 GB, free: 15.06 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.238e-06/0.6556, allocations: 4 kB / 0.5644 GB, free: 15.05 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.0006609/0.6563, allocations: 422.9 kB / 0.5648 GB, free: 14.59 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.6564, allocations: 8.031 kB / 0.5648 GB, free: 14.59 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.453e-05/0.6564, allocations: 23.72 kB / 0.5648 GB, free: 14.56 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.6566, allocations: 182.3 kB / 0.565 GB, free: 14.35 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.6567, allocations: 13.17 kB / 0.565 GB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.268e-05/0.6567, allocations: 16 kB / 0.565 GB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004156/0.6572, allocations: 164.7 kB / 0.5651 GB, free: 14.15 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.6572, allocations: 11.62 kB / 0.5652 GB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.403e-05/0.6572, allocations: 8 kB / 0.5652 GB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/0.6573, allocations: 4 kB / 0.5652 GB, free: 14.13 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000259/0.6575, allocations: 92.92 kB / 0.5653 GB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/0.6588, allocations: 0.6189 MB / 0.5659 GB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003216/0.6591, allocations: 132.2 kB / 0.566 GB, free: 13.22 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.6592, allocations: 4 kB / 0.566 GB, free: 13.21 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.6592, allocations: 38.56 kB / 0.566 GB, free: 13.17 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 2.685e-06/0.6592, allocations: 0 / 0.566 GB, free: 13.17 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.00118/0.6604, allocations: 381.4 kB / 0.5664 GB, free: 12.75 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.067e-05/0.6605, allocations: 77.11 kB / 0.5665 GB, free: 12.65 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.6606, allocations: 117.3 kB / 0.5666 GB, free: 12.53 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.6607, allocations: 33.69 kB / 0.5666 GB, free: 12.49 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.6608, allocations: 194.4 kB / 0.5668 GB, free: 12.3 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.333e-05/0.6609, allocations: 55.2 kB / 0.5668 GB, free: 12.24 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.354e-05/0.6609, allocations: 4 kB / 0.5669 GB, free: 12.24 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.6611, allocations: 322.8 kB / 0.5672 GB, free: 11.91 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.6612, allocations: 39.98 kB / 0.5672 GB, free: 11.88 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/0.6614, allocations: 101.5 kB / 0.5673 GB, free: 11.75 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.6615, allocations: 52 kB / 0.5673 GB, free: 11.7 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.6616, allocations: 0 / 0.5673 GB, free: 11.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005978/0.6622, allocations: 219 kB / 0.5676 GB, free: 11.47 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.6622, allocations: 4.469 kB / 0.5676 GB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.6622, allocations: 4 kB / 0.5676 GB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000334/0.6626, allocations: 53.69 kB / 0.5676 GB, free: 11.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002389/0.6628, allocations: 35.92 kB / 0.5676 GB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002861/0.6657, allocations: 2.737 MB / 0.5703 GB, free: 8.367 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/0.6659, allocations: 20.34 kB / 0.5703 GB, free: 8.348 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.6659, allocations: 8 kB / 0.5703 GB, free: 8.34 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.0001726/0.6661, allocations: 138 kB / 0.5705 GB, free: 8.195 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.569e-05/0.6662, allocations: 15.86 kB / 0.5705 GB, free: 8.18 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.229e-05/0.6662, allocations: 12.72 kB / 0.5705 GB, free: 8.172 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.6663, allocations: 4 kB / 0.5705 GB, free: 8.168 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.6663, allocations: 7.047 kB / 0.5705 GB, free: 8.164 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.6663, allocations: 0.625 kB / 0.5705 GB, free: 8.164 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004218/0.6667, allocations: 229.5 kB / 0.5707 GB, free: 7.891 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.6667, allocations: 0 / 0.5707 GB, free: 7.891 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002972/0.667, allocations: 23.98 kB / 0.5708 GB, free: 7.867 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002362/0.6673, allocations: 57.62 kB / 0.5708 GB, free: 7.809 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/0.6673, allocations: 3.953 kB / 0.5708 GB, free: 7.805 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002805/0.6701, allocations: 2.724 MB / 0.5735 GB, free: 4.812 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.6702, allocations: 0 / 0.5735 GB, free: 4.812 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000671/0.6709, allocations: 390 kB / 0.5738 GB, free: 4.402 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.616e-05/0.671, allocations: 89.16 kB / 0.5739 GB, free: 4.297 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.107e-05/0.671, allocations: 12.06 kB / 0.5739 GB, free: 4.285 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/0.6712, allocations: 0 / 0.5739 GB, free: 4.285 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.954e-05/0.6712, allocations: 11.98 kB / 0.574 GB, free: 4.273 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.6713, allocations: 7.984 kB / 0.574 GB, free: 4.266 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.834e-05/0.6714, allocations: 95.97 kB / 0.5741 GB, free: 4.172 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6714, allocations: 0 / 0.5741 GB, free: 4.172 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006138/0.672, allocations: 59.84 kB / 0.5741 GB, free: 4.113 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.0001576/0.6722, allocations: 99.48 kB / 0.5742 GB, free: 4.008 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007276/0.6729, allocations: 351.4 kB / 0.5745 GB, free: 3.645 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.6729, allocations: 0 / 0.5745 GB, free: 3.645 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004512/0.6734, allocations: 285.8 kB / 0.5748 GB, free: 3.34 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000467/0.6739, allocations: 32.92 kB / 0.5748 GB, free: 3.312 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/0.6755, allocations: 0.811 MB / 0.5756 GB, free: 2.473 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/0.6759, allocations: 0.7242 MB / 0.5763 GB, free: 1.723 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.978e-05/0.6759, allocations: 19.44 kB / 0.5764 GB, free: 1.703 MB / 394.7 MB Notification: Performance of SimCode: time 1.102e-06/0.6759, allocations: 0 / 0.5764 GB, free: 1.703 MB / 394.7 MB Notification: Performance of Templates: time 0.006835/0.6828, allocations: 2.993 MB / 0.5793 GB, free: 14.71 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches