Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001336/0.001336, allocations: 112.4 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001492/0.001492, allocations: 204.1 kB / 24.47 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 230.2 MB / 257.8 MB, free: 8.512 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2325/0.2325, allocations: 46.89 MB / 361.1 MB, free: 4.641 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002328/0.002328, allocations: 75.88 kB / 0.4967 GB, free: 7.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.3866, allocations: 65.99 MB / 0.5612 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003572/0.3902, allocations: 1.868 MB / 0.563 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003711/0.3906, allocations: 155.4 kB / 0.5631 GB, free: 3.023 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.202e-05/0.3907, allocations: 4 kB / 0.5632 GB, free: 3.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.091e-05/0.3907, allocations: 19.8 kB / 0.5632 GB, free: 3 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001456/0.3909, allocations: 55.48 kB / 0.5632 GB, free: 2.945 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001483/0.391, allocations: 35.94 kB / 0.5633 GB, free: 2.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002233/0.3912, allocations: 191.2 kB / 0.5634 GB, free: 2.723 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.3914, allocations: 37.55 kB / 0.5635 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.3915, allocations: 71.7 kB / 0.5635 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.3916, allocations: 79.58 kB / 0.5636 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.329e-05/0.3917, allocations: 16 kB / 0.5636 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.963e-05/0.3917, allocations: 12 kB / 0.5636 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.852e-05/0.3917, allocations: 31.92 kB / 0.5637 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.629e-05/0.3918, allocations: 87.58 kB / 0.5638 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002452/0.3921, allocations: 178.1 kB / 0.5639 GB, free: 2.223 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3921, allocations: 0 / 0.5639 GB, free: 2.223 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.3921, allocations: 0 / 0.5639 GB, free: 2.223 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.3921, allocations: 4 kB / 0.5639 GB, free: 2.219 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.0007379/0.3928, allocations: 469.4 kB / 0.5644 GB, free: 1.707 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.3929, allocations: 8.031 kB / 0.5644 GB, free: 1.699 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.205e-05/0.3929, allocations: 20.78 kB / 0.5644 GB, free: 1.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/0.3932, allocations: 212.1 kB / 0.5646 GB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.3932, allocations: 12.7 kB / 0.5646 GB, free: 1.422 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.639e-05/0.3933, allocations: 24.33 kB / 0.5646 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003049/0.3936, allocations: 162.2 kB / 0.5648 GB, free: 1.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/0.3936, allocations: 12.16 kB / 0.5648 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.3936, allocations: 7.938 kB / 0.5648 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.3936, allocations: 4 kB / 0.5648 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001841/0.3938, allocations: 87.89 kB / 0.5649 GB, free: 1.121 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009488/0.3948, allocations: 0.6151 MB / 0.5655 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000227/0.395, allocations: 125.1 kB / 0.5656 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.554e-05/0.3951, allocations: 49.69 kB / 0.5657 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.3951, allocations: 0 / 0.5657 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.516e-05/0.3951, allocations: 42.56 kB / 0.5657 GB, free: 204 kB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.082e-06/0.3951, allocations: 0 / 0.5657 GB, free: 204 kB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008532/0.396, allocations: 369.5 kB / 0.5661 GB, free: 15.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.269e-05/0.3961, allocations: 85.11 kB / 0.5662 GB, free: 15.69 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.3962, allocations: 133.2 kB / 0.5663 GB, free: 15.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.3962, allocations: 26.08 kB / 0.5663 GB, free: 15.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.33e-05/0.3963, allocations: 132.2 kB / 0.5664 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.981e-05/0.3964, allocations: 55.48 kB / 0.5665 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.69e-05/0.3964, allocations: 41.72 kB / 0.5665 GB, free: 15.28 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.3966, allocations: 322.8 kB / 0.5668 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.241e-05/0.3967, allocations: 47.91 kB / 0.5669 GB, free: 14.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001964/0.3969, allocations: 96.58 kB / 0.567 GB, free: 14.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000206/0.3971, allocations: 160.4 kB / 0.5671 GB, free: 14.6 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3971, allocations: 0 / 0.5671 GB, free: 14.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003934/0.3975, allocations: 226.9 kB / 0.5673 GB, free: 14.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.3975, allocations: 6.5 kB / 0.5673 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.3975, allocations: 4 kB / 0.5673 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002126/0.3977, allocations: 50.19 kB / 0.5674 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.3978, allocations: 39.91 kB / 0.5674 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002738/0.4006, allocations: 2.995 MB / 0.5704 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.936e-05/0.4007, allocations: 15.92 kB / 0.5704 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.4007, allocations: 8 kB / 0.5704 GB, free: 10.96 MB / 414.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.0001398/0.4008, allocations: 137.7 kB / 0.5705 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.541e-05/0.4009, allocations: 16.03 kB / 0.5705 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.359e-05/0.4009, allocations: 28.7 kB / 0.5706 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.4009, allocations: 0 / 0.5706 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4009, allocations: 0 / 0.5706 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.401, allocations: 4 kB / 0.5706 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003843/0.4013, allocations: 225.6 kB / 0.5708 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.4013, allocations: 0 / 0.5708 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001487/0.4015, allocations: 27.98 kB / 0.5708 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001294/0.4016, allocations: 41.7 kB / 0.5708 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/0.4016, allocations: 11.94 kB / 0.5709 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002512/0.4041, allocations: 2.994 MB / 0.5738 GB, free: 7.145 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.4041, allocations: 96 / 0.5738 GB, free: 7.145 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004508/0.4046, allocations: 372.3 kB / 0.5741 GB, free: 6.758 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.2e-05/0.4047, allocations: 85.06 kB / 0.5742 GB, free: 6.656 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.4047, allocations: 4.062 kB / 0.5742 GB, free: 6.652 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.4048, allocations: 12 kB / 0.5742 GB, free: 6.641 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/0.4048, allocations: 15.92 kB / 0.5742 GB, free: 6.625 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.4048, allocations: 4 kB / 0.5742 GB, free: 6.621 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.881e-05/0.4049, allocations: 103.2 kB / 0.5743 GB, free: 6.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4049, allocations: 0 / 0.5743 GB, free: 6.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000464/0.4054, allocations: 51.95 kB / 0.5744 GB, free: 6.469 MB / 414.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.0001385/0.4055, allocations: 106 kB / 0.5745 GB, free: 6.355 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006167/0.4061, allocations: 345.1 kB / 0.5748 GB, free: 5.992 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4061, allocations: 0 / 0.5748 GB, free: 5.992 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000347/0.4065, allocations: 281.8 kB / 0.5751 GB, free: 5.691 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005214/0.407, allocations: 27.98 kB / 0.5751 GB, free: 5.664 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.4082, allocations: 0.6441 MB / 0.5757 GB, free: 4.992 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003925/0.4086, allocations: 0.7242 MB / 0.5765 GB, free: 4.242 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.644e-05/0.4086, allocations: 17.36 kB / 0.5765 GB, free: 4.223 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.337e-05/0.4086, allocations: 15.44 kB / 0.5765 GB, free: 4.211 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4086, allocations: 0 / 0.5765 GB, free: 4.211 MB / 414.1 MB Notification: Performance of Templates: time 0.005659/0.4143, allocations: 2.024 MB / 0.5785 GB, free: 2.207 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.171785684302449]