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.001261/0.001261, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.001459/0.001459, allocations: 216.5 kB / 24.47 MB, free: 4.359 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.609/1.609, allocations: 230.2 MB / 257.8 MB, free: 8.496 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.2613/0.2613, allocations: 46.89 MB / 361.1 MB, free: 4.648 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.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.002679/0.002679, allocations: 76.16 kB / 0.4967 GB, free: 8.402 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4078/0.4105, allocations: 65.98 MB / 0.5612 GB, free: 34.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.00263/0.4131, allocations: 1.681 MB / 0.5628 GB, free: 33.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002499/0.4134, allocations: 110.5 kB / 0.5629 GB, free: 33.21 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.542e-05/0.4134, allocations: 6.469 kB / 0.5629 GB, free: 33.21 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.42e-05/0.4135, allocations: 17.33 kB / 0.5629 GB, free: 33.2 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.4136, allocations: 36.39 kB / 0.563 GB, free: 33.17 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000122/0.4137, allocations: 21.58 kB / 0.563 GB, free: 33.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.4139, allocations: 132.8 kB / 0.5631 GB, free: 33.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.414, allocations: 26.23 kB / 0.5631 GB, free: 33.08 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.509e-05/0.4141, allocations: 54.38 kB / 0.5632 GB, free: 33.05 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.475e-05/0.4142, allocations: 51.8 kB / 0.5632 GB, free: 33.03 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.4142, allocations: 8.812 kB / 0.5633 GB, free: 33.03 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.055e-05/0.4142, allocations: 12.09 kB / 0.5633 GB, free: 33.03 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.628e-05/0.4142, allocations: 18.2 kB / 0.5633 GB, free: 33.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.991e-05/0.4143, allocations: 55.77 kB / 0.5633 GB, free: 32.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.4144, allocations: 122.8 kB / 0.5635 GB, free: 32.94 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4144, allocations: 0 / 0.5635 GB, free: 32.94 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4144, allocations: 1.312 kB / 0.5635 GB, free: 32.94 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.4145, allocations: 0 / 0.5635 GB, free: 32.94 MB / 446.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.0004448/0.4149, allocations: 410.2 kB / 0.5638 GB, free: 32.53 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.4149, allocations: 11.5 kB / 0.5639 GB, free: 32.53 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.311e-05/0.415, allocations: 16.75 kB / 0.5639 GB, free: 32.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.4151, allocations: 203.2 kB / 0.5641 GB, free: 32.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-06/0.4151, allocations: 11.8 kB / 0.5641 GB, free: 32.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.626e-05/0.4152, allocations: 21.42 kB / 0.5641 GB, free: 32.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002088/0.4154, allocations: 130.3 kB / 0.5642 GB, free: 32.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.4154, allocations: 192 / 0.5642 GB, free: 32.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.4154, allocations: 7.938 kB / 0.5642 GB, free: 32.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.4154, allocations: 2.875 kB / 0.5642 GB, free: 32.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.571e-05/0.4155, allocations: 59.75 kB / 0.5643 GB, free: 32.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005869/0.4161, allocations: 0.5427 MB / 0.5648 GB, free: 31.71 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.4162, allocations: 79.44 kB / 0.5649 GB, free: 31.65 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.516e-05/0.4162, allocations: 31.88 kB / 0.5649 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.748e-06/0.4163, allocations: 8.828 kB / 0.5649 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.553e-05/0.4163, allocations: 33.59 kB / 0.565 GB, free: 31.58 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.4163, allocations: 1.531 kB / 0.565 GB, free: 31.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005051/0.4168, allocations: 299.8 kB / 0.5653 GB, free: 31.31 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.4168, allocations: 77.11 kB / 0.5653 GB, free: 31.22 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.316e-05/0.4169, allocations: 125.5 kB / 0.5654 GB, free: 31.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.4169, allocations: 28.64 kB / 0.5655 GB, free: 31.08 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.104e-05/0.4169, allocations: 117.5 kB / 0.5656 GB, free: 30.97 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.256e-05/0.417, allocations: 33.23 kB / 0.5656 GB, free: 30.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.879e-05/0.417, allocations: 38.12 kB / 0.5657 GB, free: 30.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.207e-05/0.4171, allocations: 325.3 kB / 0.566 GB, free: 30.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.971e-05/0.4171, allocations: 23.61 kB / 0.566 GB, free: 30.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.494e-05/0.4172, allocations: 84.45 kB / 0.5661 GB, free: 30.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.81e-05/0.4173, allocations: 123.4 kB / 0.5662 GB, free: 30.39 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4173, allocations: 0 / 0.5662 GB, free: 30.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002145/0.4175, allocations: 163.2 kB / 0.5663 GB, free: 30.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.4175, allocations: 6.125 kB / 0.5663 GB, free: 30.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.4175, allocations: 0 / 0.5663 GB, free: 30.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001722/0.4177, allocations: 46.78 kB / 0.5664 GB, free: 30.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.16e-05/0.4177, allocations: 26.06 kB / 0.5664 GB, free: 30.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001308/0.4191, allocations: 2.734 MB / 0.5691 GB, free: 27.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.667e-05/0.4191, allocations: 10.83 kB / 0.5691 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.4191, allocations: 13.94 kB / 0.5691 GB, free: 27.43 MB / 446.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 7.55e-05/0.4192, allocations: 124 kB / 0.5692 GB, free: 27.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.472e-05/0.4192, allocations: 13.17 kB / 0.5692 GB, free: 27.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.36e-05/0.4193, allocations: 11.84 kB / 0.5693 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.4193, allocations: 2.656 kB / 0.5693 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.4193, allocations: 0 / 0.5693 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.4193, allocations: 0 / 0.5693 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002041/0.4195, allocations: 198.4 kB / 0.5694 GB, free: 27.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.4195, allocations: 3.516 kB / 0.5694 GB, free: 27.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.1e-05/0.4196, allocations: 24.5 kB / 0.5695 GB, free: 27.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-05/0.4196, allocations: 38.05 kB / 0.5695 GB, free: 27.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.4197, allocations: 7.25 kB / 0.5695 GB, free: 27.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001157/0.4208, allocations: 2.732 MB / 0.5722 GB, free: 24.21 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4208, allocations: 0 / 0.5722 GB, free: 24.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.421, allocations: 306 kB / 0.5725 GB, free: 23.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.556e-05/0.4211, allocations: 80.78 kB / 0.5726 GB, free: 23.86 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.4211, allocations: 4.672 kB / 0.5726 GB, free: 23.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.008e-05/0.4212, allocations: 11.25 kB / 0.5726 GB, free: 23.85 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.145e-05/0.4212, allocations: 7.438 kB / 0.5726 GB, free: 23.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.199e-06/0.4212, allocations: 2.938 kB / 0.5726 GB, free: 23.85 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.199e-05/0.4213, allocations: 95.02 kB / 0.5727 GB, free: 23.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 5e-08/0.4213, allocations: 0 / 0.5727 GB, free: 23.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003441/0.4216, allocations: 40.11 kB / 0.5727 GB, free: 23.76 MB / 446.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 9.916e-05/0.4217, allocations: 101.4 kB / 0.5728 GB, free: 23.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003907/0.4221, allocations: 302.4 kB / 0.5731 GB, free: 23.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4221, allocations: 0 / 0.5731 GB, free: 23.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001844/0.4223, allocations: 258.6 kB / 0.5733 GB, free: 23.17 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004789/0.4228, allocations: 31.89 kB / 0.5734 GB, free: 23.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006416/0.4234, allocations: 479 kB / 0.5738 GB, free: 22.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001284/0.4235, allocations: 0.7127 MB / 0.5745 GB, free: 22.09 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.005e-05/0.4236, allocations: 7.969 kB / 0.5745 GB, free: 22.08 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.984e-05/0.4236, allocations: 13.53 kB / 0.5745 GB, free: 22.07 MB / 446.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4236, allocations: 0 / 0.5745 GB, free: 22.07 MB / 446.1 MB Notification: Performance of Templates: time 0.004296/0.4279, allocations: 1.58 MB / 0.5761 GB, free: 21.93 MB / 446.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 cvode -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.464305852074176]