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.002171/0.002171, allocations: 73.72 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.002658/0.002658, allocations: 160.8 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.491/1.491, allocations: 177.2 MB / 204.9 MB, free: 9.008 MB / 190.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.2209/0.2209, allocations: 34.28 MB / 295.5 MB, free: 14.56 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+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.002001/0.002001, allocations: 67.89 kB / 443.1 MB, free: 6.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3364, allocations: 66.01 MB / 0.4972 GB, free: 29.85 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002124/0.3385, allocations: 1.622 MB / 0.4988 GB, free: 28.74 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001769/0.3387, allocations: 105.2 kB / 0.4989 GB, free: 28.67 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.178e-05/0.3388, allocations: 4 kB / 0.4989 GB, free: 28.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.33e-05/0.3388, allocations: 14.55 kB / 0.4989 GB, free: 28.66 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.854e-05/0.3389, allocations: 38.39 kB / 0.499 GB, free: 28.62 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.647e-05/0.3389, allocations: 25.86 kB / 0.499 GB, free: 28.61 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.339, allocations: 132.8 kB / 0.4991 GB, free: 28.54 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.3392, allocations: 26.22 kB / 0.4991 GB, free: 28.53 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.921e-05/0.3392, allocations: 52.89 kB / 0.4992 GB, free: 28.5 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.424e-05/0.3393, allocations: 45.73 kB / 0.4992 GB, free: 28.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.3393, allocations: 6.406 kB / 0.4992 GB, free: 28.48 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.946e-05/0.3393, allocations: 13.5 kB / 0.4992 GB, free: 28.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.323e-05/0.3393, allocations: 21.91 kB / 0.4993 GB, free: 28.47 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.685e-05/0.3394, allocations: 49.83 kB / 0.4993 GB, free: 28.44 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.3395, allocations: 120.2 kB / 0.4994 GB, free: 28.4 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.3395, allocations: 0 / 0.4994 GB, free: 28.4 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3395, allocations: 7.156 kB / 0.4994 GB, free: 28.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.3395, allocations: 0 / 0.4994 GB, free: 28.39 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.0003451/0.3399, allocations: 334.5 kB / 0.4998 GB, free: 28.08 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.3399, allocations: 9.562 kB / 0.4998 GB, free: 28.08 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.395e-05/0.3399, allocations: 11.33 kB / 0.4998 GB, free: 28.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.3401, allocations: 142.7 kB / 0.4999 GB, free: 27.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.3401, allocations: 11.05 kB / 0.4999 GB, free: 27.92 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.011e-05/0.3401, allocations: 10.69 kB / 0.4999 GB, free: 27.92 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.3403, allocations: 128.3 kB / 0.5001 GB, free: 27.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.3403, allocations: 7.391 kB / 0.5001 GB, free: 27.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.3403, allocations: 7.938 kB / 0.5001 GB, free: 27.83 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.3403, allocations: 3.312 kB / 0.5001 GB, free: 27.83 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.629e-05/0.3404, allocations: 59.05 kB / 0.5001 GB, free: 27.81 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005215/0.3409, allocations: 438.9 kB / 0.5005 GB, free: 27.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.341, allocations: 85.31 kB / 0.5006 GB, free: 27.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.07e-05/0.3411, allocations: 27.31 kB / 0.5007 GB, free: 27.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.3411, allocations: 0 / 0.5007 GB, free: 27.36 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.307e-05/0.3411, allocations: 40.88 kB / 0.5007 GB, free: 27.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 8.62e-07/0.3411, allocations: 0 / 0.5007 GB, free: 27.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004534/0.3416, allocations: 143.9 kB / 0.5008 GB, free: 27.24 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/0.3416, allocations: 88.42 kB / 0.5009 GB, free: 27.14 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.993e-05/0.3417, allocations: 124.4 kB / 0.501 GB, free: 27.03 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.727e-06/0.3417, allocations: 29.7 kB / 0.5011 GB, free: 26.99 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.341e-05/0.3417, allocations: 122.1 kB / 0.5012 GB, free: 26.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.3417, allocations: 34.5 kB / 0.5012 GB, free: 26.85 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-05/0.3418, allocations: 30.38 kB / 0.5012 GB, free: 26.83 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.096e-05/0.3418, allocations: 322.1 kB / 0.5015 GB, free: 26.51 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.541e-05/0.3418, allocations: 24.38 kB / 0.5016 GB, free: 26.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.34e-05/0.3419, allocations: 83.22 kB / 0.5017 GB, free: 26.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.512e-05/0.342, allocations: 125 kB / 0.5018 GB, free: 26.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.342, allocations: 3.031 kB / 0.5018 GB, free: 26.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002115/0.3422, allocations: 164.3 kB / 0.5019 GB, free: 26.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.3422, allocations: 6.719 kB / 0.5019 GB, free: 26.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.3422, allocations: 7.219 kB / 0.5019 GB, free: 26.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001615/0.3424, allocations: 37.05 kB / 0.502 GB, free: 26.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.652e-05/0.3425, allocations: 26.69 kB / 0.502 GB, free: 26.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001138/0.3436, allocations: 2.487 MB / 0.5044 GB, free: 23.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.698e-05/0.3437, allocations: 18.89 kB / 0.5044 GB, free: 23.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.3437, allocations: 6.156 kB / 0.5045 GB, free: 23.66 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 6.61e-05/0.3437, allocations: 127.8 kB / 0.5046 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.166e-05/0.3438, allocations: 7.141 kB / 0.5046 GB, free: 23.53 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.351e-05/0.3438, allocations: 15.41 kB / 0.5046 GB, free: 23.51 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.3438, allocations: 3.281 kB / 0.5046 GB, free: 23.51 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.3438, allocations: 4 kB / 0.5046 GB, free: 23.51 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.3438, allocations: 7.25 kB / 0.5046 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/0.344, allocations: 132.3 kB / 0.5047 GB, free: 23.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.344, allocations: 0 / 0.5047 GB, free: 23.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.566e-05/0.344, allocations: 16.11 kB / 0.5048 GB, free: 23.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.991e-05/0.3441, allocations: 36.44 kB / 0.5048 GB, free: 23.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-06/0.3441, allocations: 0 / 0.5048 GB, free: 23.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001046/0.3452, allocations: 2.481 MB / 0.5072 GB, free: 20.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3452, allocations: 7.219 kB / 0.5072 GB, free: 20.85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002061/0.3454, allocations: 312.6 kB / 0.5075 GB, free: 20.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.065e-05/0.3454, allocations: 7.125 kB / 0.5075 GB, free: 20.58 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.072e-05/0.3454, allocations: 0 / 0.5075 GB, free: 20.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.22e-05/0.3455, allocations: 11.53 kB / 0.5075 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.945e-05/0.3455, allocations: 10.83 kB / 0.5075 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-06/0.3455, allocations: 0 / 0.5075 GB, free: 20.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.783e-05/0.3456, allocations: 94.41 kB / 0.5076 GB, free: 20.49 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3456, allocations: 0 / 0.5076 GB, free: 20.49 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003565/0.3459, allocations: 39.48 kB / 0.5077 GB, free: 20.48 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 8.418e-05/0.346, allocations: 95.67 kB / 0.5078 GB, free: 20.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003724/0.3464, allocations: 308.5 kB / 0.5081 GB, free: 20.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3464, allocations: 0 / 0.5081 GB, free: 20.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001765/0.3466, allocations: 255.1 kB / 0.5083 GB, free: 19.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004982/0.3471, allocations: 30.8 kB / 0.5083 GB, free: 19.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006041/0.3477, allocations: 468.8 kB / 0.5088 GB, free: 19.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.833e-05/0.3477, allocations: 97.08 kB / 0.5089 GB, free: 19.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.931e-05/0.3478, allocations: 4.234 kB / 0.5089 GB, free: 19.44 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.018e-05/0.3478, allocations: 14.91 kB / 0.5089 GB, free: 19.43 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3478, allocations: 0 / 0.5089 GB, free: 19.43 MB / 446.1 MB Notification: Performance of Templates: time 0.004309/0.3521, allocations: 1.638 MB / 0.5105 GB, free: 19.21 MB / 446.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 -s ida -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: 5.00115096301306]