Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001339/0.001339, allocations: 73.64 kB / 21.24 MB, free: 0.5547 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.001436/0.001436, allocations: 160 kB / 24.5 MB, free: 3.715 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.443/1.443, allocations: 177.2 MB / 204.9 MB, free: 8.992 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2248/0.2248, allocations: 32.8 MB / 294.1 MB, free: 8 kB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002262/0.002262, allocations: 63.91 kB / 440.5 MB, free: 9.445 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3206, allocations: 65.44 MB / 0.4941 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003023/0.3236, allocations: 1.617 MB / 0.4957 GB, free: 30.28 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000365/0.324, allocations: 112.6 kB / 0.4958 GB, free: 30.2 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.3241, allocations: 7.375 kB / 0.4958 GB, free: 30.19 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.488e-05/0.3241, allocations: 11.39 kB / 0.4958 GB, free: 30.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001236/0.3242, allocations: 37.67 kB / 0.4959 GB, free: 30.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001192/0.3244, allocations: 29.83 kB / 0.4959 GB, free: 30.14 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.3245, allocations: 127.2 kB / 0.496 GB, free: 30.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.3246, allocations: 25.92 kB / 0.496 GB, free: 30.06 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.835e-05/0.3247, allocations: 55.3 kB / 0.4961 GB, free: 30.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.63e-05/0.3248, allocations: 41.38 kB / 0.4961 GB, free: 30.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.3248, allocations: 9.5 kB / 0.4961 GB, free: 30.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.213e-05/0.3248, allocations: 9.219 kB / 0.4962 GB, free: 30.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.442e-05/0.3249, allocations: 22.5 kB / 0.4962 GB, free: 30 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.344e-05/0.3249, allocations: 48.78 kB / 0.4962 GB, free: 29.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.3251, allocations: 126.8 kB / 0.4963 GB, free: 29.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3251, allocations: 4 kB / 0.4963 GB, free: 29.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3251, allocations: 0 / 0.4963 GB, free: 29.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.283e-06/0.3251, allocations: 3.938 kB / 0.4964 GB, free: 29.92 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.0004434/0.3255, allocations: 337.5 kB / 0.4967 GB, free: 29.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.3255, allocations: 9.125 kB / 0.4967 GB, free: 29.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.633e-05/0.3256, allocations: 10.83 kB / 0.4967 GB, free: 29.6 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.3257, allocations: 134.1 kB / 0.4968 GB, free: 29.46 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.3258, allocations: 10.55 kB / 0.4968 GB, free: 29.46 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.248e-05/0.3258, allocations: 10.47 kB / 0.4968 GB, free: 29.45 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.326, allocations: 137 kB / 0.497 GB, free: 29.37 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.326, allocations: 4.141 kB / 0.497 GB, free: 29.36 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.326, allocations: 10.97 kB / 0.497 GB, free: 29.36 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.326, allocations: 6.844 kB / 0.497 GB, free: 29.35 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.3261, allocations: 56.56 kB / 0.497 GB, free: 29.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006372/0.3268, allocations: 440 kB / 0.4975 GB, free: 28.97 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.3269, allocations: 86.83 kB / 0.4976 GB, free: 28.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.798e-05/0.3269, allocations: 19.97 kB / 0.4976 GB, free: 28.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.699e-06/0.3269, allocations: 6.875 kB / 0.4976 GB, free: 28.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.327, allocations: 44.7 kB / 0.4976 GB, free: 28.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.352e-06/0.327, allocations: 0 / 0.4976 GB, free: 28.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005366/0.3275, allocations: 142 kB / 0.4978 GB, free: 28.76 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.3275, allocations: 81.05 kB / 0.4978 GB, free: 28.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.3276, allocations: 128.6 kB / 0.498 GB, free: 28.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.3277, allocations: 29.7 kB / 0.498 GB, free: 28.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.463e-05/0.3277, allocations: 117.5 kB / 0.4981 GB, free: 28.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.3277, allocations: 30.28 kB / 0.4981 GB, free: 28.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-05/0.3278, allocations: 38.64 kB / 0.4982 GB, free: 28.35 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.058e-05/0.3278, allocations: 324.9 kB / 0.4985 GB, free: 28.03 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.055e-05/0.3279, allocations: 16 kB / 0.4985 GB, free: 28.03 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.696e-05/0.3279, allocations: 87.84 kB / 0.4986 GB, free: 27.94 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.3281, allocations: 124.4 kB / 0.4987 GB, free: 27.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.3281, allocations: 0 / 0.4987 GB, free: 27.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002462/0.3283, allocations: 166.4 kB / 0.4988 GB, free: 27.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.3283, allocations: 6.312 kB / 0.4989 GB, free: 27.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.3283, allocations: 3.312 kB / 0.4989 GB, free: 27.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001719/0.3285, allocations: 37.39 kB / 0.4989 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.713e-05/0.3286, allocations: 34.95 kB / 0.4989 GB, free: 27.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00128/0.3299, allocations: 2.481 MB / 0.5013 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.577e-05/0.3299, allocations: 18.48 kB / 0.5014 GB, free: 25.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.33, allocations: 11.19 kB / 0.5014 GB, free: 25.18 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.545e-05/0.33, allocations: 130.4 kB / 0.5015 GB, free: 25.06 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.39e-05/0.3301, allocations: 7.266 kB / 0.5015 GB, free: 25.06 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.356e-05/0.3301, allocations: 11.94 kB / 0.5015 GB, free: 25.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.3301, allocations: 11.03 kB / 0.5015 GB, free: 25.03 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3301, allocations: 0 / 0.5015 GB, free: 25.03 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/0.3301, allocations: 7.125 kB / 0.5015 GB, free: 25.03 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.3303, allocations: 139.3 kB / 0.5017 GB, free: 24.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3303, allocations: 4 kB / 0.5017 GB, free: 24.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.199e-05/0.3304, allocations: 12.97 kB / 0.5017 GB, free: 24.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.37e-05/0.3305, allocations: 33.02 kB / 0.5017 GB, free: 24.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.3305, allocations: 7.516 kB / 0.5017 GB, free: 24.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001039/0.3315, allocations: 2.476 MB / 0.5041 GB, free: 22.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3315, allocations: 0 / 0.5041 GB, free: 22.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002033/0.3317, allocations: 306.5 kB / 0.5044 GB, free: 22.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.799e-06/0.3317, allocations: 3.031 kB / 0.5044 GB, free: 22.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.3317, allocations: 10.78 kB / 0.5044 GB, free: 22.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.087e-05/0.3318, allocations: 3.938 kB / 0.5044 GB, free: 22.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.749e-05/0.3318, allocations: 6.547 kB / 0.5045 GB, free: 22.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.9e-06/0.3318, allocations: 3.062 kB / 0.5045 GB, free: 22.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.113e-05/0.3319, allocations: 96.48 kB / 0.5046 GB, free: 22.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3319, allocations: 4 kB / 0.5046 GB, free: 22.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003523/0.3322, allocations: 40.83 kB / 0.5046 GB, free: 22.01 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 6.613e-05/0.3323, allocations: 91.69 kB / 0.5047 GB, free: 21.92 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003649/0.3327, allocations: 306 kB / 0.505 GB, free: 21.67 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3327, allocations: 4.125 kB / 0.505 GB, free: 21.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001704/0.3328, allocations: 259.2 kB / 0.5052 GB, free: 21.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004868/0.3333, allocations: 29.83 kB / 0.5053 GB, free: 21.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006317/0.334, allocations: 470.3 kB / 0.5057 GB, free: 21.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.705e-05/0.334, allocations: 92.95 kB / 0.5058 GB, free: 20.97 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.312e-05/0.3341, allocations: 14.55 kB / 0.5058 GB, free: 20.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.967e-05/0.3341, allocations: 15.56 kB / 0.5058 GB, free: 20.95 MB / 446.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3341, allocations: 0 / 0.5058 GB, free: 20.95 MB / 446.1 MB Notification: Performance of Templates: time 0.004132/0.3382, allocations: 1.633 MB / 0.5074 GB, free: 20.73 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 4.912813236005604]