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.001441/0.001441, allocations: 118.2 kB / 17.79 MB, free: 5.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001782/0.001782, allocations: 206 kB / 18.74 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2447/0.2447, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 75.88 kB / 481.3 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4014/0.4028, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003504/0.4063, allocations: 1.859 MB / 0.5328 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003959/0.4068, allocations: 155.9 kB / 0.5329 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.037e-05/0.4069, allocations: 3.156 kB / 0.5329 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 8.274e-05/0.407, allocations: 22.16 kB / 0.533 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001432/0.4071, allocations: 49.69 kB / 0.533 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001709/0.4073, allocations: 39.75 kB / 0.533 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002568/0.4076, allocations: 193 kB / 0.5332 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002197/0.4078, allocations: 63.94 kB / 0.5333 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.4079, allocations: 73.17 kB / 0.5334 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001462/0.4081, allocations: 69.2 kB / 0.5334 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.704e-05/0.4081, allocations: 13.28 kB / 0.5334 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.572e-05/0.4081, allocations: 13.38 kB / 0.5335 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.88e-05/0.4082, allocations: 33.7 kB / 0.5335 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.4083, allocations: 94.17 kB / 0.5336 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002853/0.4086, allocations: 173.1 kB / 0.5337 GB, free: 11.47 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.4086, allocations: 0 / 0.5337 GB, free: 11.47 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4086, allocations: 1.062 kB / 0.5337 GB, free: 11.47 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.4087, allocations: 0 / 0.5337 GB, free: 11.47 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.000696/0.4094, allocations: 460.9 kB / 0.5342 GB, free: 11.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.4094, allocations: 13.56 kB / 0.5342 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.121e-05/0.4095, allocations: 18.47 kB / 0.5342 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002498/0.4097, allocations: 199.2 kB / 0.5344 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.4098, allocations: 15.58 kB / 0.5344 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.409e-05/0.4098, allocations: 27.25 kB / 0.5344 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003147/0.4101, allocations: 165.3 kB / 0.5346 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.4102, allocations: 1.562 kB / 0.5346 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.374e-05/0.4102, allocations: 13.3 kB / 0.5346 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.4102, allocations: 4.125 kB / 0.5346 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001928/0.4104, allocations: 90.64 kB / 0.5347 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008933/0.4113, allocations: 0.6077 MB / 0.5353 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002996/0.4116, allocations: 133.3 kB / 0.5354 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.4118, allocations: 52.3 kB / 0.5355 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.4118, allocations: 2.219 kB / 0.5355 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.13e-05/0.4118, allocations: 39.64 kB / 0.5355 GB, free: 9.844 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.703e-06/0.4118, allocations: 4 kB / 0.5355 GB, free: 9.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009537/0.4128, allocations: 373.3 kB / 0.5359 GB, free: 9.523 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.497e-05/0.4129, allocations: 83.17 kB / 0.536 GB, free: 9.426 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.413, allocations: 132.5 kB / 0.5361 GB, free: 9.305 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.4131, allocations: 27.23 kB / 0.5361 GB, free: 9.273 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.265e-05/0.4132, allocations: 130.3 kB / 0.5362 GB, free: 9.148 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.241e-05/0.4132, allocations: 66.34 kB / 0.5363 GB, free: 9.09 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.536e-05/0.4133, allocations: 34.78 kB / 0.5363 GB, free: 9.062 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.4134, allocations: 322.1 kB / 0.5366 GB, free: 8.742 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.395e-05/0.4135, allocations: 35.11 kB / 0.5367 GB, free: 8.727 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.4137, allocations: 108 kB / 0.5368 GB, free: 8.617 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002233/0.4139, allocations: 159.8 kB / 0.5369 GB, free: 8.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.4139, allocations: 1.156 kB / 0.5369 GB, free: 8.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003725/0.4143, allocations: 221.7 kB / 0.5371 GB, free: 8.344 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.4143, allocations: 7.031 kB / 0.5371 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.4143, allocations: 6.234 kB / 0.5371 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002494/0.4146, allocations: 45.89 kB / 0.5372 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.4147, allocations: 43.92 kB / 0.5372 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002281/0.417, allocations: 2.998 MB / 0.5402 GB, free: 5.207 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.658e-05/0.4171, allocations: 16.86 kB / 0.5402 GB, free: 5.195 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.4172, allocations: 6.25 kB / 0.5402 GB, free: 5.195 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.0001266/0.4173, allocations: 137.4 kB / 0.5403 GB, free: 5.062 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.17e-05/0.4173, allocations: 14.22 kB / 0.5403 GB, free: 5.055 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.533e-05/0.4174, allocations: 23.33 kB / 0.5404 GB, free: 5.035 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.4174, allocations: 9.312 kB / 0.5404 GB, free: 5.027 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.4174, allocations: 1.281 kB / 0.5404 GB, free: 5.027 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.4174, allocations: 1.375 kB / 0.5404 GB, free: 5.027 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002959/0.4177, allocations: 227.2 kB / 0.5406 GB, free: 4.789 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.4177, allocations: 1.156 kB / 0.5406 GB, free: 4.789 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/0.4179, allocations: 25.91 kB / 0.5406 GB, free: 4.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001257/0.418, allocations: 50.41 kB / 0.5407 GB, free: 4.75 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.418, allocations: 9.938 kB / 0.5407 GB, free: 4.742 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002178/0.4202, allocations: 2.998 MB / 0.5436 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4202, allocations: 1.156 kB / 0.5436 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004235/0.4207, allocations: 376.3 kB / 0.544 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.868e-05/0.4207, allocations: 92.17 kB / 0.544 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.4208, allocations: 2.188 kB / 0.544 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.4209, allocations: 13.16 kB / 0.5441 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.997e-05/0.4209, allocations: 13.42 kB / 0.5441 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.4209, allocations: 6.844 kB / 0.5441 GB, free: 1.227 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.334e-05/0.421, allocations: 96.23 kB / 0.5442 GB, free: 1.145 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.421, allocations: 0 / 0.5442 GB, free: 1.145 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004629/0.4215, allocations: 53.83 kB / 0.5442 GB, free: 1.133 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.0001248/0.4216, allocations: 96.22 kB / 0.5443 GB, free: 1.043 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005499/0.4222, allocations: 353 kB / 0.5446 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4222, allocations: 0 / 0.5446 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002901/0.4225, allocations: 276 kB / 0.5449 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005019/0.423, allocations: 41.45 kB / 0.5449 GB, free: 492 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.424, allocations: 0.6417 MB / 0.5456 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.4243, allocations: 0.7209 MB / 0.5463 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.128e-05/0.4244, allocations: 11.98 kB / 0.5463 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.62e-05/0.4244, allocations: 17.22 kB / 0.5463 GB, free: 15.22 MB / 414.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4244, allocations: 0 / 0.5463 GB, free: 15.22 MB / 414.1 MB Notification: Performance of Templates: time 0.004976/0.4294, allocations: 1.95 MB / 0.5482 GB, free: 14.25 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