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.001422/0.001422, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001663/0.001663, allocations: 183.1 kB / 18.71 MB, free: 4.348 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.442/1.442, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2583/0.2583, allocations: 44.19 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001402, allocations: 67.91 kB / 470.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4518/0.4533, allocations: 60.82 MB / 0.5189 GB, free: 3.867 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003399/0.4567, allocations: 1.852 MB / 0.5207 GB, free: 2.566 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003815/0.4571, allocations: 151.1 kB / 0.5208 GB, free: 2.453 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.4572, allocations: 6.219 kB / 0.5208 GB, free: 2.449 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.726e-05/0.4573, allocations: 20 kB / 0.5209 GB, free: 2.438 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001461/0.4575, allocations: 50.03 kB / 0.5209 GB, free: 2.402 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001852/0.4577, allocations: 39.11 kB / 0.5209 GB, free: 2.379 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002605/0.4579, allocations: 188.6 kB / 0.5211 GB, free: 2.281 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002243/0.4582, allocations: 67.77 kB / 0.5212 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.4583, allocations: 70.06 kB / 0.5213 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/0.4585, allocations: 75.75 kB / 0.5213 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.202e-05/0.4585, allocations: 13.03 kB / 0.5213 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.967e-05/0.4585, allocations: 14.5 kB / 0.5214 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.773e-05/0.4586, allocations: 33.69 kB / 0.5214 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.4587, allocations: 80.7 kB / 0.5215 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003325/0.4591, allocations: 181.5 kB / 0.5216 GB, free: 2.039 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.4591, allocations: 0.6562 kB / 0.5216 GB, free: 2.039 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4591, allocations: 0 / 0.5216 GB, free: 2.039 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.4591, allocations: 1.031 kB / 0.5216 GB, free: 2.039 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.0006462/0.4597, allocations: 450.8 kB / 0.5221 GB, free: 1.613 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.4598, allocations: 11.19 kB / 0.5221 GB, free: 1.613 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.468e-05/0.4599, allocations: 17.31 kB / 0.5221 GB, free: 1.605 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002372/0.4601, allocations: 208.9 kB / 0.5223 GB, free: 1.383 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.4601, allocations: 11.42 kB / 0.5223 GB, free: 1.379 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.353e-05/0.4602, allocations: 20.25 kB / 0.5223 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003479/0.4606, allocations: 172.6 kB / 0.5225 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/0.4606, allocations: 5.594 kB / 0.5225 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.094e-05/0.4606, allocations: 9.438 kB / 0.5225 GB, free: 1.262 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/0.4606, allocations: 4.406 kB / 0.5225 GB, free: 1.262 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000189/0.4608, allocations: 85 kB / 0.5226 GB, free: 1.238 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009302/0.4618, allocations: 0.6034 MB / 0.5232 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002388/0.462, allocations: 135.4 kB / 0.5233 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.823e-05/0.4621, allocations: 47.3 kB / 0.5234 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.4621, allocations: 5.844 kB / 0.5234 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.4622, allocations: 40.69 kB / 0.5234 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.633e-06/0.4622, allocations: 5.406 kB / 0.5234 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.000819/0.463, allocations: 376.7 kB / 0.5238 GB, free: 292 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.4631, allocations: 82.39 kB / 0.5238 GB, free: 192 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.4632, allocations: 134.3 kB / 0.524 GB, free: 72 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.4632, allocations: 29.7 kB / 0.524 GB, free: 36 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.4633, allocations: 131.5 kB / 0.5241 GB, free: 15.92 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.809e-05/0.4634, allocations: 50.05 kB / 0.5242 GB, free: 15.88 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.227e-05/0.4635, allocations: 37.22 kB / 0.5242 GB, free: 15.85 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.4636, allocations: 322 kB / 0.5245 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.312e-05/0.4637, allocations: 37.23 kB / 0.5245 GB, free: 15.52 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.4638, allocations: 113.1 kB / 0.5247 GB, free: 15.42 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002032/0.464, allocations: 154.5 kB / 0.5248 GB, free: 15.29 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.464, allocations: 5.312 kB / 0.5248 GB, free: 15.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000438/0.4645, allocations: 229 kB / 0.525 GB, free: 15.16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.4645, allocations: 5.25 kB / 0.525 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.4645, allocations: 2.406 kB / 0.525 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000281/0.4648, allocations: 52.86 kB / 0.5251 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.465, allocations: 36.89 kB / 0.5251 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002771/0.4678, allocations: 2.988 MB / 0.528 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.858e-05/0.4679, allocations: 17.16 kB / 0.5281 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.4679, allocations: 6.219 kB / 0.5281 GB, free: 12.11 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.0001462/0.4681, allocations: 130.9 kB / 0.5282 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.86e-05/0.4681, allocations: 14.75 kB / 0.5282 GB, free: 11.97 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.914e-05/0.4682, allocations: 20.23 kB / 0.5282 GB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.4682, allocations: 7 kB / 0.5282 GB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.4682, allocations: 0 / 0.5282 GB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.4682, allocations: 2.484 kB / 0.5282 GB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003715/0.4686, allocations: 236.4 kB / 0.5285 GB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.4686, allocations: 1.875 kB / 0.5285 GB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/0.4688, allocations: 33.27 kB / 0.5285 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001398/0.4689, allocations: 49.91 kB / 0.5285 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.211e-05/0.469, allocations: 10.55 kB / 0.5285 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002359/0.4713, allocations: 2.972 MB / 0.5314 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.4713, allocations: 2.078 kB / 0.5314 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004476/0.4718, allocations: 375 kB / 0.5318 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.446e-05/0.4719, allocations: 89.88 kB / 0.5319 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.4719, allocations: 6 kB / 0.5319 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.472, allocations: 9.375 kB / 0.5319 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-05/0.472, allocations: 14.42 kB / 0.5319 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.886e-06/0.4721, allocations: 4.125 kB / 0.5319 GB, free: 8.273 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.455e-05/0.4721, allocations: 99.91 kB / 0.532 GB, free: 8.195 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4721, allocations: 0 / 0.532 GB, free: 8.195 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004812/0.4726, allocations: 58.47 kB / 0.5321 GB, free: 8.18 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.0001321/0.4728, allocations: 109.7 kB / 0.5322 GB, free: 8.078 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006127/0.4734, allocations: 344 kB / 0.5325 GB, free: 7.816 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.4734, allocations: 1.375 kB / 0.5325 GB, free: 7.816 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003232/0.4737, allocations: 287.3 kB / 0.5328 GB, free: 7.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004798/0.4742, allocations: 38.19 kB / 0.5328 GB, free: 7.551 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.4753, allocations: 0.6351 MB / 0.5334 GB, free: 7.055 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.4757, allocations: 0.7226 MB / 0.5341 GB, free: 6.359 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.691e-05/0.4758, allocations: 8.984 kB / 0.5342 GB, free: 6.355 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.844e-05/0.4758, allocations: 17.53 kB / 0.5342 GB, free: 6.348 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4758, allocations: 0 / 0.5342 GB, free: 6.348 MB / 398.1 MB Notification: Performance of Templates: time 0.005568/0.4814, allocations: 1.993 MB / 0.5361 GB, free: 5.371 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