Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3.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: 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.001475/0.001475, 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.532/1.532, allocations: 230.2 MB / 257.8 MB, free: 8.52 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.239/0.239, allocations: 46.89 MB / 361.1 MB, free: 4.648 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.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_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-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3") [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.002375/0.002375, allocations: 79.86 kB / 0.4967 GB, free: 7.852 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3579, allocations: 65.98 MB / 0.5612 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003122/0.361, allocations: 1.685 MB / 0.5628 GB, free: 3.328 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002999/0.3613, allocations: 107.6 kB / 0.5629 GB, free: 3.223 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.156e-05/0.3614, allocations: 0 / 0.5629 GB, free: 3.223 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.925e-05/0.3615, allocations: 15.86 kB / 0.5629 GB, free: 3.207 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001365/0.3616, allocations: 35.69 kB / 0.563 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001382/0.3617, allocations: 31.91 kB / 0.563 GB, free: 3.141 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000185/0.3619, allocations: 123.5 kB / 0.5631 GB, free: 3.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.362, allocations: 29.11 kB / 0.5632 GB, free: 2.992 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.3622, allocations: 51.78 kB / 0.5632 GB, free: 2.941 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.794e-05/0.3623, allocations: 47.78 kB / 0.5632 GB, free: 2.895 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.3623, allocations: 12 kB / 0.5633 GB, free: 2.883 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.115e-05/0.3623, allocations: 8 kB / 0.5633 GB, free: 2.875 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.056e-05/0.3623, allocations: 23.92 kB / 0.5633 GB, free: 2.852 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.665e-05/0.3624, allocations: 59.72 kB / 0.5633 GB, free: 2.793 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002054/0.3626, allocations: 126.3 kB / 0.5635 GB, free: 2.672 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3626, allocations: 0 / 0.5635 GB, free: 2.672 MB / 398.1 MB Notification: Performance of FrontEnd: time 6.272e-06/0.3626, allocations: 3.984 kB / 0.5635 GB, free: 2.668 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.3626, allocations: 0 / 0.5635 GB, free: 2.668 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.0006019/0.3632, allocations: 415.2 kB / 0.5639 GB, free: 2.207 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.3633, allocations: 12.03 kB / 0.5639 GB, free: 2.195 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.265e-05/0.3633, allocations: 8.891 kB / 0.5639 GB, free: 2.188 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.3635, allocations: 192.2 kB / 0.5641 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.3635, allocations: 16.61 kB / 0.5641 GB, free: 1.945 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.642e-05/0.3636, allocations: 12.38 kB / 0.5641 GB, free: 1.934 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002705/0.3638, allocations: 129.5 kB / 0.5642 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.3639, allocations: 12.08 kB / 0.5642 GB, free: 1.785 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.3639, allocations: 11.94 kB / 0.5642 GB, free: 1.773 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.3639, allocations: 0 / 0.5642 GB, free: 1.773 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.364, allocations: 59.95 kB / 0.5643 GB, free: 1.715 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007958/0.3648, allocations: 0.5295 MB / 0.5648 GB, free: 1.125 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.365, allocations: 89.16 kB / 0.5649 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.463e-05/0.365, allocations: 29.72 kB / 0.5649 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.365, allocations: 3.938 kB / 0.5649 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.3651, allocations: 30.56 kB / 0.565 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.3651, allocations: 0 / 0.565 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006795/0.3658, allocations: 305.5 kB / 0.5653 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.523e-05/0.3658, allocations: 89.05 kB / 0.5653 GB, free: 500 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.366, allocations: 125.7 kB / 0.5655 GB, free: 364 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.366, allocations: 25.7 kB / 0.5655 GB, free: 332 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.417e-05/0.3661, allocations: 119.8 kB / 0.5656 GB, free: 208 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.982e-05/0.3662, allocations: 39.73 kB / 0.5656 GB, free: 168 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.831e-05/0.3662, allocations: 29.66 kB / 0.5657 GB, free: 132 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.3664, allocations: 326.8 kB / 0.566 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.084e-05/0.3664, allocations: 20 kB / 0.566 GB, free: 15.78 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001958/0.3666, allocations: 87.66 kB / 0.5661 GB, free: 15.67 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.3668, allocations: 120.5 kB / 0.5662 GB, free: 15.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3668, allocations: 0 / 0.5662 GB, free: 15.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002879/0.3671, allocations: 171.1 kB / 0.5664 GB, free: 15.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.3671, allocations: 6.5 kB / 0.5664 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.3671, allocations: 4.25 kB / 0.5664 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001819/0.3673, allocations: 41.64 kB / 0.5664 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.098e-05/0.3674, allocations: 23.92 kB / 0.5664 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002423/0.3698, allocations: 2.735 MB / 0.5691 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.385e-05/0.3698, allocations: 15.89 kB / 0.5691 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.3699, allocations: 12 kB / 0.5691 GB, free: 12.22 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.0001241/0.37, allocations: 125.9 kB / 0.5692 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.361e-05/0.37, allocations: 4 kB / 0.5693 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.184e-05/0.3701, allocations: 23.78 kB / 0.5693 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3701, allocations: 3.938 kB / 0.5693 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.3701, allocations: 0 / 0.5693 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.3701, allocations: 0 / 0.5693 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002905/0.3704, allocations: 201.6 kB / 0.5695 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3704, allocations: 0 / 0.5695 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.5e-05/0.3704, allocations: 12 kB / 0.5695 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001066/0.3706, allocations: 41.7 kB / 0.5695 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.3706, allocations: 3.938 kB / 0.5695 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0023/0.3729, allocations: 2.734 MB / 0.5722 GB, free: 8.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3729, allocations: 0 / 0.5722 GB, free: 8.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003453/0.3732, allocations: 312.3 kB / 0.5725 GB, free: 8.402 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.548e-05/0.3733, allocations: 77.11 kB / 0.5726 GB, free: 8.309 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.3733, allocations: 12.09 kB / 0.5726 GB, free: 8.297 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.004e-05/0.3734, allocations: 0 / 0.5726 GB, free: 8.297 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.122e-05/0.3734, allocations: 12.03 kB / 0.5726 GB, free: 8.285 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.3734, allocations: 0 / 0.5726 GB, free: 8.285 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.04e-05/0.3735, allocations: 95.27 kB / 0.5727 GB, free: 8.191 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3735, allocations: 0 / 0.5727 GB, free: 8.191 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000345/0.3738, allocations: 39.89 kB / 0.5727 GB, free: 8.152 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.0001377/0.374, allocations: 99.25 kB / 0.5728 GB, free: 8.043 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004966/0.3745, allocations: 301.2 kB / 0.5731 GB, free: 7.723 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3745, allocations: 0 / 0.5731 GB, free: 7.723 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003579/0.3748, allocations: 266 kB / 0.5734 GB, free: 7.438 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004965/0.3753, allocations: 28.05 kB / 0.5734 GB, free: 7.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009768/0.3763, allocations: 472.4 kB / 0.5738 GB, free: 6.922 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004469/0.3767, allocations: 0.7084 MB / 0.5745 GB, free: 6.188 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.927e-05/0.3768, allocations: 12.86 kB / 0.5745 GB, free: 6.172 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.486e-05/0.3768, allocations: 19.31 kB / 0.5746 GB, free: 6.152 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3768, allocations: 0 / 0.5746 GB, free: 6.152 MB / 414.1 MB Notification: Performance of Templates: time 0.005009/0.3818, allocations: 1.578 MB / 0.5761 GB, free: 4.582 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 5.159492310136557]