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.00174/0.00174, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002135/0.002135, allocations: 213.2 kB / 24.48 MB, free: 3.844 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.646/1.646, allocations: 230.6 MB / 258.2 MB, free: 7.816 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.2362/0.2362, allocations: 46.96 MB / 361.6 MB, free: 4.059 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.002215/0.002215, allocations: 72.14 kB / 0.4973 GB, free: 7.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3332, allocations: 66.04 MB / 0.5618 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002921/0.3361, allocations: 1.623 MB / 0.5634 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002812/0.3364, allocations: 103.6 kB / 0.5635 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.283e-05/0.3365, allocations: 0 / 0.5635 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.763e-05/0.3365, allocations: 23.86 kB / 0.5635 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000111/0.3366, allocations: 35.64 kB / 0.5635 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001139/0.3367, allocations: 23.97 kB / 0.5636 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.3369, allocations: 127.4 kB / 0.5637 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.337, allocations: 29.28 kB / 0.5637 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.81e-05/0.3371, allocations: 47.86 kB / 0.5638 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.18e-05/0.3372, allocations: 39.78 kB / 0.5638 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.3372, allocations: 8 kB / 0.5638 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.276e-05/0.3373, allocations: 8 kB / 0.5638 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.165e-05/0.3373, allocations: 35.84 kB / 0.5638 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.896e-05/0.3373, allocations: 47.8 kB / 0.5639 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.3375, allocations: 129.9 kB / 0.564 GB, free: 1.926 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3375, allocations: 0 / 0.564 GB, free: 1.926 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3375, allocations: 0 / 0.564 GB, free: 1.926 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.271e-06/0.3375, allocations: 4 kB / 0.564 GB, free: 1.922 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.0004862/0.338, allocations: 330.1 kB / 0.5643 GB, free: 1.562 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.3381, allocations: 8.031 kB / 0.5643 GB, free: 1.555 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.531e-05/0.3381, allocations: 12.89 kB / 0.5644 GB, free: 1.543 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.3383, allocations: 142.3 kB / 0.5645 GB, free: 1.379 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.3383, allocations: 12.61 kB / 0.5645 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.379e-05/0.3383, allocations: 12.38 kB / 0.5645 GB, free: 1.355 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.3386, allocations: 125.6 kB / 0.5646 GB, free: 1.223 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.3386, allocations: 8.141 kB / 0.5646 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.3386, allocations: 3.938 kB / 0.5646 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.3386, allocations: 4 kB / 0.5647 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.3387, allocations: 63.89 kB / 0.5647 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006791/0.3394, allocations: 436.3 kB / 0.5651 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.3395, allocations: 93.16 kB / 0.5652 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.195e-05/0.3396, allocations: 21.72 kB / 0.5652 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.864e-06/0.3396, allocations: 0 / 0.5652 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.3396, allocations: 38.5 kB / 0.5653 GB, free: 0.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.3396, allocations: 0 / 0.5653 GB, free: 0.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005211/0.3402, allocations: 155.2 kB / 0.5654 GB, free: 344 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.3402, allocations: 77.11 kB / 0.5655 GB, free: 248 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.3403, allocations: 125.7 kB / 0.5656 GB, free: 112 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.851e-05/0.3403, allocations: 29.7 kB / 0.5656 GB, free: 76 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.55e-05/0.3404, allocations: 127.8 kB / 0.5658 GB, free: 15.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.842e-05/0.3405, allocations: 31.73 kB / 0.5658 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.967e-05/0.3405, allocations: 29.7 kB / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.3407, allocations: 326.7 kB / 0.5661 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.622e-05/0.3407, allocations: 23.98 kB / 0.5662 GB, free: 15.53 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.109e-05/0.3408, allocations: 84.58 kB / 0.5662 GB, free: 15.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.341, allocations: 128.4 kB / 0.5664 GB, free: 15.26 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.341, allocations: 0 / 0.5664 GB, free: 15.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002848/0.3413, allocations: 163.1 kB / 0.5665 GB, free: 15.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.3413, allocations: 4 kB / 0.5665 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.3413, allocations: 4.25 kB / 0.5665 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001868/0.3415, allocations: 45.64 kB / 0.5666 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.503e-05/0.3416, allocations: 19.94 kB / 0.5666 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002019/0.3436, allocations: 2.494 MB / 0.569 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.529e-05/0.3436, allocations: 15.83 kB / 0.569 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.3437, allocations: 4 kB / 0.569 GB, free: 12.29 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.000119/0.3438, allocations: 125.8 kB / 0.5692 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.58e-05/0.3438, allocations: 7.953 kB / 0.5692 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.722e-05/0.3438, allocations: 8 kB / 0.5692 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.3438, allocations: 7.984 kB / 0.5692 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3439, allocations: 0 / 0.5692 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.3439, allocations: 8.031 kB / 0.5692 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002245/0.3441, allocations: 145.2 kB / 0.5693 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3441, allocations: 0 / 0.5693 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.562e-05/0.3442, allocations: 12 kB / 0.5693 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001019/0.3443, allocations: 33.7 kB / 0.5694 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.3443, allocations: 0 / 0.5694 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001972/0.3463, allocations: 2.477 MB / 0.5718 GB, free: 9.219 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.3463, allocations: 4.031 kB / 0.5718 GB, free: 9.215 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003362/0.3466, allocations: 312.3 kB / 0.5721 GB, free: 8.887 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.072e-05/0.3466, allocations: 0 / 0.5721 GB, free: 8.887 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.3466, allocations: 4 kB / 0.5721 GB, free: 8.883 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.92e-05/0.3467, allocations: 7.938 kB / 0.5721 GB, free: 8.875 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.544e-05/0.3467, allocations: 8.234 kB / 0.5721 GB, free: 8.867 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.3467, allocations: 7.938 kB / 0.5721 GB, free: 8.859 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.497e-05/0.3468, allocations: 95.27 kB / 0.5722 GB, free: 8.766 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3468, allocations: 0 / 0.5722 GB, free: 8.766 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003658/0.3472, allocations: 39.89 kB / 0.5723 GB, free: 8.727 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.0001245/0.3473, allocations: 99.19 kB / 0.5723 GB, free: 8.621 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004748/0.3478, allocations: 301.8 kB / 0.5726 GB, free: 8.301 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3478, allocations: 0 / 0.5726 GB, free: 8.301 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002862/0.3481, allocations: 261.2 kB / 0.5729 GB, free: 8.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004793/0.3485, allocations: 27.42 kB / 0.5729 GB, free: 7.996 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008677/0.3494, allocations: 0.4915 MB / 0.5734 GB, free: 7.469 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/0.3495, allocations: 93.61 kB / 0.5735 GB, free: 7.359 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.746e-05/0.3495, allocations: 11.44 kB / 0.5735 GB, free: 7.348 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3495, allocations: 0 / 0.5735 GB, free: 7.348 MB / 414.1 MB Notification: Performance of Templates: time 0.00497/0.3545, allocations: 2.508 MB / 0.5759 GB, free: 4.84 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.69801134802401]