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.001447/0.001447, allocations: 114.5 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.001534/0.001534, allocations: 206.8 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.503/1.503, 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.2456/0.2456, allocations: 46.89 MB / 361.1 MB, free: 4.652 MB / 286.1 MB " [Timeout remaining time 179] 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.00247/0.00247, allocations: 95.83 kB / 0.4967 GB, free: 7.859 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3683, allocations: 65.98 MB / 0.5612 GB, free: 5.07 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003266/0.3715, allocations: 1.868 MB / 0.563 GB, free: 3.191 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003888/0.3719, allocations: 155.4 kB / 0.5632 GB, free: 3.039 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.325e-05/0.372, allocations: 4 kB / 0.5632 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.92e-05/0.3721, allocations: 19.8 kB / 0.5632 GB, free: 3.016 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001454/0.3722, allocations: 55.48 kB / 0.5632 GB, free: 2.961 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001527/0.3724, allocations: 35.95 kB / 0.5633 GB, free: 2.926 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002155/0.3726, allocations: 183.2 kB / 0.5634 GB, free: 2.746 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.3727, allocations: 49.47 kB / 0.5635 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.818e-05/0.3728, allocations: 67.78 kB / 0.5635 GB, free: 2.633 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001308/0.373, allocations: 75.62 kB / 0.5636 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.566e-05/0.373, allocations: 16 kB / 0.5636 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.734e-05/0.373, allocations: 12 kB / 0.5636 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.02e-05/0.3731, allocations: 35.92 kB / 0.5637 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.726e-05/0.3732, allocations: 83.55 kB / 0.5638 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002477/0.3734, allocations: 186.1 kB / 0.5639 GB, free: 2.234 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.3734, allocations: 0 / 0.5639 GB, free: 2.234 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3734, allocations: 0 / 0.5639 GB, free: 2.234 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.3734, allocations: 4 kB / 0.5639 GB, free: 2.23 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.0006406/0.3741, allocations: 463 kB / 0.5644 GB, free: 1.723 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.3741, allocations: 8.031 kB / 0.5644 GB, free: 1.715 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.347e-05/0.3742, allocations: 24.78 kB / 0.5644 GB, free: 1.691 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.3744, allocations: 204.1 kB / 0.5646 GB, free: 1.453 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.9e-05/0.3744, allocations: 16.7 kB / 0.5646 GB, free: 1.438 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.445e-05/0.3745, allocations: 20.33 kB / 0.5646 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000289/0.3748, allocations: 166.2 kB / 0.5648 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.3748, allocations: 4.188 kB / 0.5648 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/0.3748, allocations: 7.938 kB / 0.5648 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.3748, allocations: 4 kB / 0.5648 GB, free: 1.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001742/0.375, allocations: 99.86 kB / 0.5649 GB, free: 1.133 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008517/0.3758, allocations: 0.6112 MB / 0.5655 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.3761, allocations: 125.1 kB / 0.5656 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.141e-05/0.3761, allocations: 45.7 kB / 0.5657 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.3762, allocations: 4 kB / 0.5657 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.3762, allocations: 34.56 kB / 0.5657 GB, free: 228 kB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.3762, allocations: 4 kB / 0.5657 GB, free: 224 kB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008355/0.377, allocations: 373.5 kB / 0.5661 GB, free: 15.8 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.199e-05/0.3771, allocations: 85.11 kB / 0.5662 GB, free: 15.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.3772, allocations: 132.8 kB / 0.5663 GB, free: 15.56 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.3772, allocations: 25.7 kB / 0.5663 GB, free: 15.53 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.672e-05/0.3773, allocations: 132.2 kB / 0.5664 GB, free: 15.4 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.733e-05/0.3774, allocations: 59.47 kB / 0.5665 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.964e-05/0.3775, allocations: 37.72 kB / 0.5665 GB, free: 15.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.3776, allocations: 319.2 kB / 0.5668 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.609e-05/0.3777, allocations: 43.92 kB / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.3778, allocations: 104.6 kB / 0.567 GB, free: 14.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/0.378, allocations: 156.4 kB / 0.5671 GB, free: 14.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.378, allocations: 0 / 0.5671 GB, free: 14.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004166/0.3784, allocations: 226.9 kB / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.3785, allocations: 4 kB / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.3785, allocations: 4 kB / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002528/0.3787, allocations: 49.94 kB / 0.5674 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.3789, allocations: 39.92 kB / 0.5674 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002546/0.3814, allocations: 2.995 MB / 0.5704 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.818e-05/0.3815, allocations: 19.92 kB / 0.5704 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.3815, allocations: 4 kB / 0.5704 GB, free: 10.98 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.0001495/0.3817, allocations: 141.7 kB / 0.5705 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.718e-05/0.3817, allocations: 11.91 kB / 0.5705 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.232e-05/0.3818, allocations: 28.7 kB / 0.5705 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.3818, allocations: 0 / 0.5705 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.3818, allocations: 0 / 0.5705 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.3818, allocations: 8.078 kB / 0.5706 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003106/0.3821, allocations: 225.6 kB / 0.5708 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3821, allocations: 0 / 0.5708 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001655/0.3823, allocations: 27.98 kB / 0.5708 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001303/0.3824, allocations: 45.69 kB / 0.5708 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.3824, allocations: 7.938 kB / 0.5709 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002328/0.3847, allocations: 2.99 MB / 0.5738 GB, free: 7.164 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.3847, allocations: 0 / 0.5738 GB, free: 7.164 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004532/0.3852, allocations: 368.4 kB / 0.5741 GB, free: 6.781 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.067e-05/0.3853, allocations: 89.14 kB / 0.5742 GB, free: 6.676 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.3853, allocations: 3.938 kB / 0.5742 GB, free: 6.672 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.3854, allocations: 16.06 kB / 0.5742 GB, free: 6.656 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.77e-05/0.3854, allocations: 11.92 kB / 0.5742 GB, free: 6.645 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.3854, allocations: 8 kB / 0.5742 GB, free: 6.637 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001167/0.3855, allocations: 99.2 kB / 0.5743 GB, free: 6.539 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3855, allocations: 0 / 0.5743 GB, free: 6.539 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004613/0.386, allocations: 55.95 kB / 0.5744 GB, free: 6.484 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.000164/0.3862, allocations: 98.06 kB / 0.5745 GB, free: 6.379 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006199/0.3868, allocations: 349.1 kB / 0.5748 GB, free: 6.012 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.3868, allocations: 0 / 0.5748 GB, free: 6.012 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003257/0.3871, allocations: 281.8 kB / 0.5751 GB, free: 5.711 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004898/0.3876, allocations: 35.62 kB / 0.5751 GB, free: 5.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.3887, allocations: 0.6519 MB / 0.5758 GB, free: 5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.3891, allocations: 0.728 MB / 0.5765 GB, free: 4.246 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.947e-05/0.3891, allocations: 9.438 kB / 0.5765 GB, free: 4.234 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.418e-05/0.3891, allocations: 15.44 kB / 0.5765 GB, free: 4.223 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3891, allocations: 0 / 0.5765 GB, free: 4.223 MB / 414.1 MB Notification: Performance of Templates: time 0.005675/0.3948, allocations: 2.019 MB / 0.5785 GB, free: 2.223 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 cvode -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.326324853114784]