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.001187/0.001188, allocations: 117.6 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.001284/0.001284, allocations: 203.9 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2355/0.2355, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 75.86 kB / 481.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3906/0.3922, allocations: 62.43 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003793/0.396, allocations: 1.87 MB / 0.5328 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005774/0.3966, allocations: 148.7 kB / 0.5329 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001584/0.3968, allocations: 2.938 kB / 0.5329 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 8.328e-05/0.3969, allocations: 29.56 kB / 0.533 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001913/0.3971, allocations: 49.64 kB / 0.533 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001971/0.3973, allocations: 36.83 kB / 0.5331 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002487/0.3976, allocations: 196.3 kB / 0.5332 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002036/0.3978, allocations: 55.64 kB / 0.5333 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.3979, allocations: 71.41 kB / 0.5334 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/0.3981, allocations: 75.06 kB / 0.5334 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.74e-05/0.3981, allocations: 15.12 kB / 0.5334 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.88e-05/0.3982, allocations: 13.75 kB / 0.5335 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.693e-05/0.3982, allocations: 31.98 kB / 0.5335 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.3983, allocations: 87.22 kB / 0.5336 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002869/0.3986, allocations: 178.6 kB / 0.5337 GB, free: 11.45 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.3986, allocations: 0 / 0.5337 GB, free: 11.45 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.3987, allocations: 0 / 0.5337 GB, free: 11.45 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.3987, allocations: 1.375 kB / 0.5337 GB, free: 11.45 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.0008104/0.3995, allocations: 452.9 kB / 0.5342 GB, free: 11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.3995, allocations: 9.625 kB / 0.5342 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.688e-05/0.3996, allocations: 21 kB / 0.5342 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002577/0.3999, allocations: 208.5 kB / 0.5344 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.3999, allocations: 11.58 kB / 0.5344 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.736e-05/0.4, allocations: 26.88 kB / 0.5344 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003367/0.4003, allocations: 173.5 kB / 0.5346 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.4003, allocations: 9.156 kB / 0.5346 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.4004, allocations: 9.469 kB / 0.5346 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.4004, allocations: 5.219 kB / 0.5346 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001735/0.4006, allocations: 81.55 kB / 0.5347 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009109/0.4015, allocations: 0.6112 MB / 0.5353 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002339/0.4017, allocations: 130 kB / 0.5354 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.62e-05/0.4018, allocations: 52.52 kB / 0.5355 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.4018, allocations: 1.188 kB / 0.5355 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.4019, allocations: 31.84 kB / 0.5355 GB, free: 9.832 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 3.927e-06/0.4019, allocations: 1.25 kB / 0.5355 GB, free: 9.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008655/0.4028, allocations: 379.9 kB / 0.5359 GB, free: 9.508 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.4028, allocations: 86.58 kB / 0.536 GB, free: 9.406 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.403, allocations: 135.2 kB / 0.5361 GB, free: 9.281 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.403, allocations: 29.7 kB / 0.5361 GB, free: 9.246 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.631e-05/0.4031, allocations: 126.9 kB / 0.5362 GB, free: 9.125 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.425e-05/0.4031, allocations: 54.14 kB / 0.5363 GB, free: 9.078 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.151e-05/0.4032, allocations: 38.7 kB / 0.5363 GB, free: 9.047 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.4033, allocations: 321.6 kB / 0.5366 GB, free: 8.727 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.749e-05/0.4034, allocations: 36.45 kB / 0.5367 GB, free: 8.711 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.4035, allocations: 107.7 kB / 0.5368 GB, free: 8.602 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002015/0.4037, allocations: 155 kB / 0.5369 GB, free: 8.469 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.4037, allocations: 1.344 kB / 0.5369 GB, free: 8.469 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004602/0.4042, allocations: 230.5 kB / 0.5371 GB, free: 8.324 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.4042, allocations: 6 kB / 0.5371 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.4042, allocations: 2.156 kB / 0.5371 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002435/0.4045, allocations: 54.22 kB / 0.5372 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.4046, allocations: 36.05 kB / 0.5372 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002297/0.4069, allocations: 2.99 MB / 0.5401 GB, free: 5.199 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.455e-05/0.407, allocations: 16.09 kB / 0.5402 GB, free: 5.188 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.4071, allocations: 7.594 kB / 0.5402 GB, free: 5.188 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.0001267/0.4072, allocations: 138.4 kB / 0.5403 GB, free: 5.051 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.299e-05/0.4073, allocations: 12.86 kB / 0.5403 GB, free: 5.043 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.644e-05/0.4073, allocations: 18.88 kB / 0.5403 GB, free: 5.027 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.4073, allocations: 6.25 kB / 0.5403 GB, free: 5.023 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.4073, allocations: 6.188 kB / 0.5403 GB, free: 5.02 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.4073, allocations: 3.984 kB / 0.5403 GB, free: 5.016 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003/0.4076, allocations: 232.1 kB / 0.5406 GB, free: 4.773 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.4076, allocations: 0 / 0.5406 GB, free: 4.773 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001511/0.4078, allocations: 26.11 kB / 0.5406 GB, free: 4.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001395/0.4079, allocations: 55.06 kB / 0.5406 GB, free: 4.73 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.408, allocations: 9.594 kB / 0.5407 GB, free: 4.723 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002319/0.4103, allocations: 2.982 MB / 0.5436 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.4103, allocations: 5.5 kB / 0.5436 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004778/0.4108, allocations: 373.8 kB / 0.5439 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.024e-05/0.4109, allocations: 84.27 kB / 0.544 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.4109, allocations: 6.344 kB / 0.544 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.411, allocations: 5.031 kB / 0.544 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/0.4111, allocations: 21.47 kB / 0.544 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.4111, allocations: 2.688 kB / 0.544 GB, free: 1.223 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.014e-05/0.4112, allocations: 102.6 kB / 0.5441 GB, free: 1.137 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4112, allocations: 0 / 0.5441 GB, free: 1.137 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004868/0.4117, allocations: 54.78 kB / 0.5442 GB, free: 1.125 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.0001547/0.4118, allocations: 104.8 kB / 0.5443 GB, free: 1.027 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006537/0.4125, allocations: 344 kB / 0.5446 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4125, allocations: 0 / 0.5446 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000351/0.4129, allocations: 295.7 kB / 0.5449 GB, free: 488 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005698/0.4135, allocations: 30.36 kB / 0.5449 GB, free: 472 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.4146, allocations: 0.6343 MB / 0.5456 GB, free: 15.94 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.415, allocations: 0.7217 MB / 0.5463 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.018e-05/0.415, allocations: 10.92 kB / 0.5463 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.94e-05/0.4151, allocations: 12.94 kB / 0.5463 GB, free: 15.21 MB / 414.1 MB Notification: Performance of SimCode: time 3.5e-07/0.4151, allocations: 4 kB / 0.5463 GB, free: 15.21 MB / 414.1 MB Notification: Performance of Templates: time 0.005117/0.4202, allocations: 1.942 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