Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.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.002017/0.002017, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.002243/0.002243, allocations: 169.3 kB / 24.5 MB, free: 3.453 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.546/1.546, allocations: 177.2 MB / 204.9 MB, free: 9.07 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.2214/0.2214, allocations: 34.26 MB / 295.5 MB, free: 14.62 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.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003122/0.003122, allocations: 71.88 kB / 443.1 MB, free: 6.73 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3253, allocations: 66.01 MB / 0.4972 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.003023/0.3283, allocations: 2.657 MB / 0.4998 GB, free: 28.08 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.3294, allocations: 0.7672 MB / 0.5006 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001495/0.3295, allocations: 10.22 kB / 0.5006 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001752/0.3297, allocations: 68.69 kB / 0.5006 GB, free: 27.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000203/0.3299, allocations: 120.9 kB / 0.5008 GB, free: 27.41 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003118/0.3302, allocations: 125.6 kB / 0.5009 GB, free: 27.34 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000325/0.3305, allocations: 452.5 kB / 0.5013 GB, free: 27.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00024/0.3308, allocations: 129.2 kB / 0.5014 GB, free: 27.04 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002179/0.331, allocations: 187.2 kB / 0.5016 GB, free: 26.95 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001821/0.3312, allocations: 162.7 kB / 0.5018 GB, free: 26.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.413e-05/0.3312, allocations: 35.12 kB / 0.5018 GB, free: 26.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.27e-05/0.3313, allocations: 41.47 kB / 0.5018 GB, free: 26.88 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.055e-05/0.3314, allocations: 85.45 kB / 0.5019 GB, free: 26.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.3315, allocations: 166.3 kB / 0.5021 GB, free: 26.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003652/0.3318, allocations: 470.5 kB / 0.5025 GB, free: 26.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3318, allocations: 0 / 0.5025 GB, free: 26.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.3318, allocations: 4 kB / 0.5025 GB, free: 26.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.3319, allocations: 0 / 0.5025 GB, free: 26.54 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.000804/0.3327, allocations: 0.6008 MB / 0.5031 GB, free: 26.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.3327, allocations: 9.156 kB / 0.5031 GB, free: 26.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000315/0.333, allocations: 74.86 kB / 0.5032 GB, free: 26.06 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00034/0.3333, allocations: 249.2 kB / 0.5034 GB, free: 25.85 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.3334, allocations: 28.78 kB / 0.5035 GB, free: 25.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.794e-05/0.3334, allocations: 39.38 kB / 0.5035 GB, free: 25.83 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005435/0.334, allocations: 385.8 kB / 0.5039 GB, free: 25.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.334, allocations: 7.141 kB / 0.5039 GB, free: 25.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.664e-05/0.334, allocations: 14.94 kB / 0.5039 GB, free: 25.63 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.334, allocations: 9.5 kB / 0.5039 GB, free: 25.63 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000416/0.3344, allocations: 251.1 kB / 0.5041 GB, free: 25.55 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/0.3357, allocations: 0.9055 MB / 0.505 GB, free: 24.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005937/0.3363, allocations: 333.8 kB / 0.5053 GB, free: 24.76 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002835/0.3366, allocations: 156.1 kB / 0.5055 GB, free: 24.69 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.902e-05/0.3366, allocations: 4.75 kB / 0.5055 GB, free: 24.69 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.3366, allocations: 41.72 kB / 0.5055 GB, free: 24.64 MB / 446.1 MB Notification: Performance of pre-optimization done (n=39): time 2.114e-06/0.3367, allocations: 0 / 0.5055 GB, free: 24.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.003939/0.3406, allocations: 2.014 MB / 0.5075 GB, free: 23.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.743e-05/0.3406, allocations: 111.8 kB / 0.5076 GB, free: 23.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.3408, allocations: 198.1 kB / 0.5078 GB, free: 23.08 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.3409, allocations: 32.92 kB / 0.5078 GB, free: 23.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.394e-05/0.341, allocations: 197.7 kB / 0.508 GB, free: 22.87 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.865e-05/0.3411, allocations: 204.7 kB / 0.5082 GB, free: 22.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.3412, allocations: 85.52 kB / 0.5083 GB, free: 22.66 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.143e-05/0.3412, allocations: 346.1 kB / 0.5086 GB, free: 22.33 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002232/0.3414, allocations: 135.8 kB / 0.5087 GB, free: 22.29 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002604/0.3417, allocations: 233.5 kB / 0.509 GB, free: 22.13 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004832/0.3422, allocations: 401.1 kB / 0.5094 GB, free: 21.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3422, allocations: 3.062 kB / 0.5094 GB, free: 21.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008126/0.343, allocations: 0.5523 MB / 0.5099 GB, free: 21.63 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.343, allocations: 8.344 kB / 0.5099 GB, free: 21.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.343, allocations: 3 kB / 0.5099 GB, free: 21.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003057/0.3433, allocations: 125.8 kB / 0.51 GB, free: 21.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003513/0.3437, allocations: 97.55 kB / 0.5101 GB, free: 21.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002636/0.3463, allocations: 4.813 MB / 0.5148 GB, free: 17.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.3465, allocations: 17.62 kB / 0.5148 GB, free: 17.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.472e-05/0.3466, allocations: 17.47 kB / 0.5149 GB, free: 17.07 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001721/0.3467, allocations: 170.4 kB / 0.515 GB, free: 16.92 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.3468, allocations: 36.64 kB / 0.5151 GB, free: 16.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.884e-05/0.3469, allocations: 50.22 kB / 0.5151 GB, free: 16.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.3469, allocations: 10.66 kB / 0.5151 GB, free: 16.86 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.619e-05/0.347, allocations: 3.938 kB / 0.5151 GB, free: 16.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.347, allocations: 4.281 kB / 0.5151 GB, free: 16.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001625/0.3486, allocations: 1.177 MB / 0.5163 GB, free: 16.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.3486, allocations: 1.188 kB / 0.5163 GB, free: 16.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004123/0.349, allocations: 95.8 kB / 0.5164 GB, free: 16.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002511/0.3493, allocations: 95.48 kB / 0.5164 GB, free: 16.06 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.676e-05/0.3493, allocations: 19.62 kB / 0.5165 GB, free: 16.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002105/0.3514, allocations: 4.046 MB / 0.5204 GB, free: 12.17 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3514, allocations: 9.094 kB / 0.5204 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.3525, allocations: 0.9147 MB / 0.5213 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.99e-05/0.3525, allocations: 26.19 kB / 0.5213 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.622e-05/0.3525, allocations: 16.25 kB / 0.5214 GB, free: 11.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002531/0.3528, allocations: 18.47 kB / 0.5214 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.772e-05/0.3529, allocations: 42.25 kB / 0.5214 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/0.3529, allocations: 15.03 kB / 0.5214 GB, free: 11.56 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.851e-05/0.353, allocations: 144.9 kB / 0.5216 GB, free: 11.47 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.353, allocations: 4 kB / 0.5216 GB, free: 11.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007145/0.3537, allocations: 116.4 kB / 0.5217 GB, free: 11.45 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.w) * 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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001011/0.3538, allocations: 113.7 kB / 0.5218 GB, free: 11.35 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001084/0.3549, allocations: 0.7642 MB / 0.5225 GB, free: 10.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3549, allocations: 0 / 0.5225 GB, free: 10.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006086/0.3555, allocations: 0.558 MB / 0.5231 GB, free: 10.45 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006205/0.3561, allocations: 58.84 kB / 0.5231 GB, free: 10.42 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.3577, allocations: 1.088 MB / 0.5242 GB, free: 9.668 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.3579, allocations: 219.6 kB / 0.5244 GB, free: 9.574 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001193/0.358, allocations: 29.7 kB / 0.5244 GB, free: 9.574 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.017e-05/0.3581, allocations: 29.02 kB / 0.5245 GB, free: 9.566 MB / 446.1 MB Notification: Performance of SimCode: time 4e-07/0.3581, allocations: 7.938 kB / 0.5245 GB, free: 9.559 MB / 446.1 MB Notification: Performance of Templates: time 0.009924/0.368, allocations: 4.358 MB / 0.5287 GB, free: 8.992 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.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.291945269913413]