Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001201/0.001201, allocations: 113.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001281/0.001281, allocations: 216.5 kB / 18.74 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.228/0.228, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001706/0.001706, allocations: 79.88 kB / 481.3 MB, free: 4.098 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4565/0.4582, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003309/0.4616, allocations: 1.856 MB / 0.5328 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003726/0.462, allocations: 156 kB / 0.5329 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.263e-05/0.4621, allocations: 2.75 kB / 0.5329 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.577e-05/0.4622, allocations: 25.16 kB / 0.533 GB, free: 12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001742/0.4623, allocations: 58.36 kB / 0.533 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001758/0.4625, allocations: 32.03 kB / 0.533 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002205/0.4628, allocations: 184.1 kB / 0.5332 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002101/0.463, allocations: 61 kB / 0.5333 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.4631, allocations: 70.62 kB / 0.5333 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.4632, allocations: 71.14 kB / 0.5334 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.482e-05/0.4633, allocations: 18.47 kB / 0.5334 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.832e-05/0.4633, allocations: 14.12 kB / 0.5334 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.189e-05/0.4634, allocations: 40.98 kB / 0.5335 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.984e-05/0.4635, allocations: 82.42 kB / 0.5336 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002575/0.4637, allocations: 175 kB / 0.5337 GB, free: 11.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4638, allocations: 0 / 0.5337 GB, free: 11.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4638, allocations: 0 / 0.5337 GB, free: 11.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.4638, allocations: 0 / 0.5337 GB, free: 11.48 MB / 398.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.0006682/0.4644, allocations: 453.5 kB / 0.5342 GB, free: 11.04 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.4645, allocations: 13.84 kB / 0.5342 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.066e-05/0.4646, allocations: 21.5 kB / 0.5342 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002506/0.4648, allocations: 215.6 kB / 0.5344 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.4649, allocations: 15.77 kB / 0.5344 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.53e-05/0.4649, allocations: 27.42 kB / 0.5344 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003187/0.4652, allocations: 164.9 kB / 0.5346 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.4653, allocations: 1.344 kB / 0.5346 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.054e-05/0.4653, allocations: 10.34 kB / 0.5346 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.4653, allocations: 7.406 kB / 0.5346 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001855/0.4655, allocations: 91.83 kB / 0.5347 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008986/0.4664, allocations: 0.5953 MB / 0.5353 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/0.4666, allocations: 133.5 kB / 0.5354 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.395e-05/0.4667, allocations: 55.83 kB / 0.5355 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.4667, allocations: 1.375 kB / 0.5355 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.4668, allocations: 33.31 kB / 0.5355 GB, free: 9.863 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.162e-06/0.4668, allocations: 0 / 0.5355 GB, free: 9.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008247/0.4676, allocations: 383.5 kB / 0.5359 GB, free: 9.535 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.695e-05/0.4677, allocations: 79.05 kB / 0.5359 GB, free: 9.441 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.4678, allocations: 141.3 kB / 0.5361 GB, free: 9.312 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.4678, allocations: 29.7 kB / 0.5361 GB, free: 9.277 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.176e-05/0.4679, allocations: 127.1 kB / 0.5362 GB, free: 9.156 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.315e-05/0.468, allocations: 57.91 kB / 0.5363 GB, free: 9.105 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.164e-05/0.4681, allocations: 39.11 kB / 0.5363 GB, free: 9.074 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.4682, allocations: 326 kB / 0.5366 GB, free: 8.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.521e-05/0.4683, allocations: 35.55 kB / 0.5367 GB, free: 8.734 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.4684, allocations: 104.5 kB / 0.5368 GB, free: 8.629 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000208/0.4686, allocations: 154.9 kB / 0.5369 GB, free: 8.496 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.4686, allocations: 0 / 0.5369 GB, free: 8.496 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004263/0.4691, allocations: 231 kB / 0.5371 GB, free: 8.352 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.4691, allocations: 6.906 kB / 0.5371 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.4691, allocations: 2.156 kB / 0.5371 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002404/0.4693, allocations: 49.56 kB / 0.5372 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.4695, allocations: 40.09 kB / 0.5372 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002646/0.4722, allocations: 2.982 MB / 0.5401 GB, free: 5.234 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.4723, allocations: 12.91 kB / 0.5402 GB, free: 5.227 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/0.4723, allocations: 15.31 kB / 0.5402 GB, free: 5.219 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.0001637/0.4725, allocations: 142.2 kB / 0.5403 GB, free: 5.082 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.281e-05/0.4725, allocations: 9.938 kB / 0.5403 GB, free: 5.078 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.128e-05/0.4726, allocations: 23 kB / 0.5403 GB, free: 5.059 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.4726, allocations: 1.062 kB / 0.5403 GB, free: 5.059 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.4726, allocations: 2.406 kB / 0.5403 GB, free: 5.059 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.4726, allocations: 3.938 kB / 0.5403 GB, free: 5.055 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003427/0.473, allocations: 247.8 kB / 0.5406 GB, free: 4.797 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.473, allocations: 0 / 0.5406 GB, free: 4.797 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/0.4732, allocations: 26.33 kB / 0.5406 GB, free: 4.793 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000139/0.4733, allocations: 47.14 kB / 0.5406 GB, free: 4.762 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/0.4733, allocations: 13.3 kB / 0.5407 GB, free: 4.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002134/0.4755, allocations: 2.979 MB / 0.5436 GB, free: 1.684 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.4755, allocations: 1.125 kB / 0.5436 GB, free: 1.684 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004666/0.476, allocations: 380 kB / 0.5439 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.673e-05/0.476, allocations: 88.45 kB / 0.544 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.4761, allocations: 2.219 kB / 0.544 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.4762, allocations: 9.062 kB / 0.544 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.488e-05/0.4762, allocations: 13.61 kB / 0.544 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.4762, allocations: 7.688 kB / 0.544 GB, free: 1.254 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.561e-05/0.4763, allocations: 103.1 kB / 0.5441 GB, free: 1.164 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4763, allocations: 0 / 0.5441 GB, free: 1.164 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000506/0.4768, allocations: 54.62 kB / 0.5442 GB, free: 1.152 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.000147/0.477, allocations: 96.16 kB / 0.5443 GB, free: 1.062 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006715/0.4777, allocations: 344.6 kB / 0.5446 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.4777, allocations: 0 / 0.5446 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003483/0.4781, allocations: 296.3 kB / 0.5449 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005803/0.4786, allocations: 27.45 kB / 0.5449 GB, free: 0.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.4799, allocations: 0.6424 MB / 0.5456 GB, free: 15.97 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004001/0.4803, allocations: 0.7287 MB / 0.5463 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.558e-05/0.4804, allocations: 11.61 kB / 0.5463 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.08e-05/0.4804, allocations: 13.47 kB / 0.5463 GB, free: 15.24 MB / 414.1 MB Notification: Performance of SimCode: time 3.066e-06/0.4804, allocations: 0 / 0.5463 GB, free: 15.24 MB / 414.1 MB Notification: Performance of Templates: time 0.005333/0.4858, allocations: 1.936 MB / 0.5482 GB, free: 14.28 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches