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.001575/0.001574, allocations: 178.7 kB / 18.09 MB, free: 3.742 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.44/1.44, allocations: 223.3 MB / 242.1 MB, free: 11.6 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.0007712/0.0007712, allocations: 97.88 kB / 293.3 MB, free: 10.76 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.3069/0.3069, allocations: 44.15 MB / 388.5 MB, free: 38.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004687/0.0004687, allocations: 12 kB / 461.1 MB, free: 1.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4035/0.404, allocations: 61.87 MB / 0.5107 GB, free: 38.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1121/0.5161, allocations: 86.17 MB / 0.5949 GB, free: 8.902 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002978/0.5165, allocations: 67.95 kB / 0.5949 GB, free: 8.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007168/0.5237, allocations: 2.681 MB / 0.5976 GB, free: 6.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5237, allocations: 0 / 0.5976 GB, free: 6.16 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.5238, allocations: 8 kB / 0.5976 GB, free: 6.152 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.0005409/0.5243, allocations: 415.3 kB / 0.598 GB, free: 5.691 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.5244, allocations: 12.03 kB / 0.598 GB, free: 5.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.487e-05/0.5244, allocations: 20.75 kB / 0.598 GB, free: 5.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.5246, allocations: 184.1 kB / 0.5982 GB, free: 5.441 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.5246, allocations: 12.7 kB / 0.5982 GB, free: 5.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.108e-05/0.5247, allocations: 24.28 kB / 0.5982 GB, free: 5.406 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002886/0.525, allocations: 162.2 kB / 0.5984 GB, free: 5.238 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.525, allocations: 192 / 0.5984 GB, free: 5.238 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.525, allocations: 11.94 kB / 0.5984 GB, free: 5.227 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.525, allocations: 7.938 kB / 0.5984 GB, free: 5.219 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000162/0.5252, allocations: 95.89 kB / 0.5985 GB, free: 5.125 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008995/0.5261, allocations: 0.6225 MB / 0.5991 GB, free: 4.445 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002133/0.5263, allocations: 125.2 kB / 0.5992 GB, free: 4.305 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.152e-05/0.5264, allocations: 54.81 kB / 0.5993 GB, free: 4.246 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.5265, allocations: 4 kB / 0.5993 GB, free: 4.242 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.5265, allocations: 34.56 kB / 0.5993 GB, free: 4.199 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.583e-06/0.5265, allocations: 0 / 0.5993 GB, free: 4.199 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008222/0.5273, allocations: 385.4 kB / 0.5997 GB, free: 3.773 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.5274, allocations: 77.11 kB / 0.5997 GB, free: 3.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.5275, allocations: 134 kB / 0.5999 GB, free: 3.535 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.5275, allocations: 29.7 kB / 0.5999 GB, free: 3.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.133e-05/0.5276, allocations: 124 kB / 0.6 GB, free: 3.375 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.626e-05/0.5277, allocations: 59.19 kB / 0.6001 GB, free: 3.316 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.344e-06/0.5277, allocations: 7.938 kB / 0.6001 GB, free: 3.309 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.5278, allocations: 326.8 kB / 0.6004 GB, free: 2.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.784e-05/0.5279, allocations: 35.98 kB / 0.6004 GB, free: 2.945 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.528, allocations: 100.6 kB / 0.6005 GB, free: 2.816 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/0.5282, allocations: 152.8 kB / 0.6007 GB, free: 2.637 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.5283, allocations: 4 kB / 0.6007 GB, free: 2.633 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003901/0.5287, allocations: 230.7 kB / 0.6009 GB, free: 2.395 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.5287, allocations: 9.562 kB / 0.6009 GB, free: 2.387 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.5287, allocations: 4 kB / 0.6009 GB, free: 2.383 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000215/0.5289, allocations: 53.88 kB / 0.6009 GB, free: 2.324 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.5291, allocations: 39.92 kB / 0.601 GB, free: 2.285 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002107/0.5312, allocations: 2.72 MB / 0.6036 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.18e-05/0.5313, allocations: 15.84 kB / 0.6037 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.5313, allocations: 8 kB / 0.6037 GB, free: 15.28 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.0001136/0.5314, allocations: 133.7 kB / 0.6038 GB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.782e-05/0.5315, allocations: 11.84 kB / 0.6038 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.152e-05/0.5315, allocations: 20.7 kB / 0.6038 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.758e-06/0.5315, allocations: 4 kB / 0.6038 GB, free: 15.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.5316, allocations: 4.094 kB / 0.6038 GB, free: 15.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.5316, allocations: 0 / 0.6038 GB, free: 15.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002997/0.5319, allocations: 237.4 kB / 0.6041 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.5319, allocations: 3.984 kB / 0.6041 GB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.532, allocations: 20 kB / 0.6041 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001275/0.5322, allocations: 49.69 kB / 0.6041 GB, free: 14.74 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.5322, allocations: 0 / 0.6041 GB, free: 14.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00194/0.5341, allocations: 2.72 MB / 0.6068 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.5342, allocations: 4.031 kB / 0.6068 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004124/0.5346, allocations: 369.3 kB / 0.6071 GB, free: 11.37 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.664e-05/0.5347, allocations: 88.92 kB / 0.6072 GB, free: 11.26 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.5347, allocations: 0 / 0.6072 GB, free: 11.26 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.5348, allocations: 8 kB / 0.6072 GB, free: 11.25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.379e-05/0.5348, allocations: 15.92 kB / 0.6072 GB, free: 11.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.5348, allocations: 7.984 kB / 0.6072 GB, free: 11.23 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.868e-05/0.5349, allocations: 105.5 kB / 0.6074 GB, free: 11.13 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5349, allocations: 0 / 0.6074 GB, free: 11.13 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004677/0.5354, allocations: 55.84 kB / 0.6074 GB, free: 11.07 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.0001575/0.5356, allocations: 100.9 kB / 0.6075 GB, free: 10.96 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005741/0.5361, allocations: 353.7 kB / 0.6078 GB, free: 10.59 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.5362, allocations: 0 / 0.6078 GB, free: 10.59 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003159/0.5365, allocations: 285.3 kB / 0.6081 GB, free: 10.29 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004914/0.537, allocations: 36.14 kB / 0.6081 GB, free: 10.26 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.5381, allocations: 0.7758 MB / 0.6089 GB, free: 9.457 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.5384, allocations: 0.7242 MB / 0.6096 GB, free: 8.707 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.604e-05/0.5385, allocations: 17.41 kB / 0.6096 GB, free: 8.688 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.975e-05/0.5385, allocations: 11.44 kB / 0.6096 GB, free: 8.676 MB / 426.7 MB Notification: Performance of SimCode: time 6.71e-07/0.5385, allocations: 0 / 0.6096 GB, free: 8.676 MB / 426.7 MB Notification: Performance of Templates: time 0.00473/0.5433, allocations: 1.798 MB / 0.6114 GB, free: 6.895 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/jenkins1/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