Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 107.6 kB / 21.19 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 213.1 kB / 24.48 MB, free: 3.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.519/1.519, allocations: 230.6 MB / 258.2 MB, free: 7.758 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2412/0.2412, allocations: 46.98 MB / 361.6 MB, free: 4.027 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 63.89 kB / 0.4973 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.3666, allocations: 66.03 MB / 0.5618 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003132/0.3698, allocations: 1.619 MB / 0.5634 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003072/0.3701, allocations: 103.6 kB / 0.5635 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.7e-05/0.3702, allocations: 4 kB / 0.5635 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.761e-05/0.3702, allocations: 15.86 kB / 0.5635 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.3703, allocations: 39.62 kB / 0.5635 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001289/0.3705, allocations: 19.98 kB / 0.5636 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001657/0.3706, allocations: 135.4 kB / 0.5637 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.3708, allocations: 25.3 kB / 0.5637 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.745e-05/0.3708, allocations: 55.8 kB / 0.5638 GB, free: 2.164 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.371, allocations: 51.77 kB / 0.5638 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.62e-05/0.371, allocations: 8 kB / 0.5638 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.618e-05/0.371, allocations: 12 kB / 0.5638 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.458e-05/0.371, allocations: 23.92 kB / 0.5639 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.783e-05/0.3711, allocations: 47.8 kB / 0.5639 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.3713, allocations: 125.9 kB / 0.564 GB, free: 1.906 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.3713, allocations: 3.984 kB / 0.564 GB, free: 1.902 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3713, allocations: 0 / 0.564 GB, free: 1.902 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.802e-06/0.3713, allocations: 0 / 0.564 GB, free: 1.902 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.000555/0.3719, allocations: 334.1 kB / 0.5643 GB, free: 1.539 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.3719, allocations: 12.03 kB / 0.5644 GB, free: 1.527 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.192e-05/0.372, allocations: 8.891 kB / 0.5644 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/0.3722, allocations: 138.3 kB / 0.5645 GB, free: 1.359 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.3722, allocations: 12.61 kB / 0.5645 GB, free: 1.348 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.051e-05/0.3722, allocations: 12.38 kB / 0.5645 GB, free: 1.336 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002708/0.3725, allocations: 129.5 kB / 0.5646 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.3725, allocations: 8.125 kB / 0.5647 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.3725, allocations: 11.94 kB / 0.5647 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.3725, allocations: 7.938 kB / 0.5647 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.3727, allocations: 55.91 kB / 0.5647 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007343/0.3734, allocations: 440.3 kB / 0.5651 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001502/0.3735, allocations: 81.08 kB / 0.5652 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.448e-05/0.3736, allocations: 25.89 kB / 0.5652 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.3736, allocations: 0 / 0.5652 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.297e-05/0.3736, allocations: 42.5 kB / 0.5653 GB, free: 484 kB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 8.82e-07/0.3736, allocations: 0 / 0.5653 GB, free: 484 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000563/0.3742, allocations: 147.2 kB / 0.5654 GB, free: 324 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.664e-05/0.3743, allocations: 81.11 kB / 0.5655 GB, free: 224 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.3744, allocations: 129.7 kB / 0.5656 GB, free: 84 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.3744, allocations: 25.7 kB / 0.5657 GB, free: 52 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.3745, allocations: 119.8 kB / 0.5658 GB, free: 15.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.37e-05/0.3746, allocations: 35.72 kB / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.862e-05/0.3746, allocations: 29.72 kB / 0.5658 GB, free: 15.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.3748, allocations: 322.8 kB / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.634e-05/0.3748, allocations: 23.98 kB / 0.5662 GB, free: 15.51 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.495e-05/0.3749, allocations: 84.58 kB / 0.5662 GB, free: 15.4 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.3751, allocations: 128.4 kB / 0.5664 GB, free: 15.24 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.3751, allocations: 0 / 0.5664 GB, free: 15.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002943/0.3754, allocations: 163.5 kB / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.3754, allocations: 6.5 kB / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.3754, allocations: 7.984 kB / 0.5665 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001892/0.3756, allocations: 37.75 kB / 0.5666 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.543e-05/0.3757, allocations: 31.91 kB / 0.5666 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002118/0.3778, allocations: 2.485 MB / 0.569 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.587e-05/0.3779, allocations: 15.83 kB / 0.569 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.3779, allocations: 8 kB / 0.569 GB, free: 12.27 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 (14): * Single equations (assignments): 12 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001234/0.378, allocations: 126 kB / 0.5692 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.621e-05/0.3781, allocations: 7.953 kB / 0.5692 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.324e-05/0.3781, allocations: 16 kB / 0.5692 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.3781, allocations: 0 / 0.5692 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3781, allocations: 0 / 0.5692 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.3781, allocations: 7.938 kB / 0.5692 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/0.3783, allocations: 133.2 kB / 0.5693 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3783, allocations: 0 / 0.5693 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.872e-05/0.3784, allocations: 15.98 kB / 0.5693 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001024/0.3785, allocations: 33.7 kB / 0.5694 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.3785, allocations: 8 kB / 0.5694 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001998/0.3805, allocations: 2.473 MB / 0.5718 GB, free: 9.203 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3805, allocations: 320 / 0.5718 GB, free: 9.203 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003498/0.3809, allocations: 320.7 kB / 0.5721 GB, free: 8.867 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.513e-05/0.3809, allocations: 7.938 kB / 0.5721 GB, free: 8.859 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.3809, allocations: 4.031 kB / 0.5721 GB, free: 8.855 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.79e-05/0.381, allocations: 7.938 kB / 0.5721 GB, free: 8.848 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.95e-05/0.381, allocations: 7.984 kB / 0.5721 GB, free: 8.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.381, allocations: 4 kB / 0.5721 GB, free: 8.836 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.347e-05/0.3811, allocations: 95.2 kB / 0.5722 GB, free: 8.742 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3811, allocations: 0 / 0.5722 GB, free: 8.742 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003684/0.3815, allocations: 39.89 kB / 0.5723 GB, free: 8.703 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.phi) * 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 (6): * Single equations (assignments): 4 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001217/0.3816, allocations: 103.2 kB / 0.5724 GB, free: 8.594 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004944/0.3821, allocations: 301.6 kB / 0.5726 GB, free: 8.273 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3821, allocations: 0 / 0.5726 GB, free: 8.273 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002947/0.3824, allocations: 261.2 kB / 0.5729 GB, free: 7.992 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004978/0.3829, allocations: 38.64 kB / 0.5729 GB, free: 7.961 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008425/0.3837, allocations: 495 kB / 0.5734 GB, free: 7.441 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/0.3838, allocations: 97.61 kB / 0.5735 GB, free: 7.328 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.696e-05/0.3839, allocations: 11.44 kB / 0.5735 GB, free: 7.316 MB / 414.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3839, allocations: 0 / 0.5735 GB, free: 7.316 MB / 414.1 MB Notification: Performance of Templates: time 0.004714/0.3886, allocations: 2.5 MB / 0.5759 GB, free: 4.816 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.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: 8.516864159988472]