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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 113.2 kB / 17.78 MB, free: 5.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001407, allocations: 181 kB / 18.71 MB, free: 4.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 242.4 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2268/0.2268, allocations: 44.18 MB / 336.7 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001193, allocations: 59.91 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4363/0.4375, allocations: 60.81 MB / 0.5189 GB, free: 3.859 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002966/0.4406, allocations: 1.848 MB / 0.5207 GB, free: 2.562 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003629/0.4409, allocations: 151.6 kB / 0.5208 GB, free: 2.449 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.294e-05/0.441, allocations: 2 kB / 0.5208 GB, free: 2.449 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.138e-05/0.4411, allocations: 20.88 kB / 0.5209 GB, free: 2.438 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001451/0.4413, allocations: 52.95 kB / 0.5209 GB, free: 2.398 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001775/0.4415, allocations: 39.11 kB / 0.5209 GB, free: 2.375 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002234/0.4417, allocations: 195.7 kB / 0.5211 GB, free: 2.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001942/0.4419, allocations: 57.56 kB / 0.5212 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.442, allocations: 68.42 kB / 0.5213 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001772/0.4422, allocations: 71.98 kB / 0.5213 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.832e-05/0.4422, allocations: 13.47 kB / 0.5213 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.024e-05/0.4423, allocations: 14.22 kB / 0.5214 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.602e-05/0.4423, allocations: 35.14 kB / 0.5214 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.4425, allocations: 79.33 kB / 0.5215 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003464/0.4428, allocations: 188.3 kB / 0.5216 GB, free: 2.031 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4428, allocations: 0 / 0.5216 GB, free: 2.031 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4428, allocations: 5.031 kB / 0.5216 GB, free: 2.027 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.745e-05/0.4429, allocations: 0 / 0.5216 GB, free: 2.027 MB / 382.1 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.0005901/0.4435, allocations: 460.1 kB / 0.5221 GB, free: 1.594 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.4435, allocations: 9.812 kB / 0.5221 GB, free: 1.594 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.331e-05/0.4436, allocations: 17.25 kB / 0.5221 GB, free: 1.586 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.4437, allocations: 206.1 kB / 0.5223 GB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.4438, allocations: 14.08 kB / 0.5223 GB, free: 1.359 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.271e-05/0.4438, allocations: 16.48 kB / 0.5223 GB, free: 1.355 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003025/0.4441, allocations: 164.9 kB / 0.5225 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.4442, allocations: 9.938 kB / 0.5225 GB, free: 1.258 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.4442, allocations: 9.156 kB / 0.5225 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.4442, allocations: 4.531 kB / 0.5225 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001775/0.4444, allocations: 88.89 kB / 0.5226 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007743/0.4452, allocations: 0.6122 MB / 0.5232 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/0.4454, allocations: 130.6 kB / 0.5233 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.899e-05/0.4455, allocations: 47.19 kB / 0.5234 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/0.4455, allocations: 6.438 kB / 0.5234 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.4455, allocations: 40.59 kB / 0.5234 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.182e-06/0.4455, allocations: 0 / 0.5234 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.000715/0.4463, allocations: 381.8 kB / 0.5238 GB, free: 272 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.4463, allocations: 78.58 kB / 0.5239 GB, free: 176 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.996e-05/0.4464, allocations: 130.7 kB / 0.524 GB, free: 60 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.4464, allocations: 29.7 kB / 0.524 GB, free: 24 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.4465, allocations: 130.2 kB / 0.5241 GB, free: 15.91 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.531e-05/0.4466, allocations: 55.64 kB / 0.5242 GB, free: 15.86 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.893e-05/0.4466, allocations: 42.03 kB / 0.5242 GB, free: 15.83 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.4468, allocations: 324.5 kB / 0.5245 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.742e-05/0.4468, allocations: 36.47 kB / 0.5246 GB, free: 15.5 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.447, allocations: 103.2 kB / 0.5247 GB, free: 15.4 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/0.4472, allocations: 163.6 kB / 0.5248 GB, free: 15.27 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.4472, allocations: 0 / 0.5248 GB, free: 15.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000381/0.4476, allocations: 228.6 kB / 0.525 GB, free: 15.14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.4476, allocations: 7.281 kB / 0.525 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.4476, allocations: 5.812 kB / 0.525 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002303/0.4478, allocations: 47.8 kB / 0.5251 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.448, allocations: 37.12 kB / 0.5251 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00242/0.4504, allocations: 2.991 MB / 0.5281 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.441e-05/0.4505, allocations: 17.95 kB / 0.5281 GB, free: 12.08 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.4505, allocations: 6.875 kB / 0.5281 GB, free: 12.08 MB / 398.1 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001374/0.4507, allocations: 138.8 kB / 0.5282 GB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.8e-05/0.4507, allocations: 10.02 kB / 0.5282 GB, free: 11.94 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.704e-05/0.4508, allocations: 20.81 kB / 0.5282 GB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.4508, allocations: 1.375 kB / 0.5282 GB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.4508, allocations: 2.75 kB / 0.5282 GB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.4508, allocations: 0.8438 kB / 0.5282 GB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003534/0.4512, allocations: 233.6 kB / 0.5285 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.4512, allocations: 0.6094 kB / 0.5285 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001469/0.4513, allocations: 25.89 kB / 0.5285 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001348/0.4515, allocations: 54 kB / 0.5285 GB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.4515, allocations: 6.156 kB / 0.5285 GB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002592/0.4541, allocations: 2.989 MB / 0.5315 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.4541, allocations: 0 / 0.5315 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004936/0.4546, allocations: 377.1 kB / 0.5318 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.939e-05/0.4547, allocations: 89.48 kB / 0.5319 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.4547, allocations: 5.156 kB / 0.5319 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.4548, allocations: 5.062 kB / 0.5319 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.098e-05/0.4549, allocations: 18.86 kB / 0.5319 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.4549, allocations: 7.469 kB / 0.5319 GB, free: 8.242 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.747e-05/0.455, allocations: 104.4 kB / 0.532 GB, free: 8.16 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.455, allocations: 0 / 0.532 GB, free: 8.16 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004879/0.4555, allocations: 58.02 kB / 0.5321 GB, free: 8.145 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.w,inertia2.phi,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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002044/0.4557, allocations: 101.7 kB / 0.5322 GB, free: 8.051 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008564/0.4566, allocations: 345.3 kB / 0.5325 GB, free: 7.789 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.864e-06/0.4566, allocations: 5.656 kB / 0.5325 GB, free: 7.785 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000476/0.4571, allocations: 288.8 kB / 0.5328 GB, free: 7.535 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006397/0.4577, allocations: 35.94 kB / 0.5328 GB, free: 7.523 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.4591, allocations: 0.634 MB / 0.5335 GB, free: 7.023 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005668/0.4597, allocations: 0.7326 MB / 0.5342 GB, free: 6.316 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.621e-05/0.4598, allocations: 9.797 kB / 0.5342 GB, free: 6.312 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.481e-05/0.4598, allocations: 14.31 kB / 0.5342 GB, free: 6.309 MB / 398.1 MB Notification: Performance of SimCode: time 1.293e-06/0.4598, allocations: 0 / 0.5342 GB, free: 6.309 MB / 398.1 MB Notification: Performance of Templates: time 0.007554/0.4674, allocations: 1.941 MB / 0.5361 GB, free: 5.363 MB / 398.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches