Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 119.9 kB / 17.13 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001808/0.001808, allocations: 191.7 kB / 20.07 MB, free: 2.992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.57/1.57, allocations: 207.6 MB / 230.5 MB, free: 4.039 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3517/0.3517, allocations: 44.24 MB / 326.5 MB, free: 6.848 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 79.81 kB / 462.2 MB, free: 0.9453 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3408, allocations: 60.99 MB / 0.5109 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002841/0.3437, allocations: 1.665 MB / 0.5125 GB, free: 11.87 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002649/0.3439, allocations: 118.4 kB / 0.5126 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.967e-05/0.344, allocations: 2.312 kB / 0.5126 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.636e-05/0.3441, allocations: 13.73 kB / 0.5126 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001105/0.3442, allocations: 32.48 kB / 0.5127 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001269/0.3443, allocations: 31.41 kB / 0.5127 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000149/0.3444, allocations: 127.4 kB / 0.5128 GB, free: 11.63 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.3446, allocations: 25.19 kB / 0.5129 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.934e-05/0.3446, allocations: 54.88 kB / 0.5129 GB, free: 11.58 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.986e-05/0.3447, allocations: 48.62 kB / 0.5129 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.3447, allocations: 9.312 kB / 0.513 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.25e-05/0.3448, allocations: 8.125 kB / 0.513 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.511e-05/0.3448, allocations: 22.98 kB / 0.513 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.18e-05/0.3448, allocations: 56.89 kB / 0.513 GB, free: 11.49 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.345, allocations: 124.7 kB / 0.5132 GB, free: 11.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.345, allocations: 0 / 0.5132 GB, free: 11.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.345, allocations: 1.094 kB / 0.5132 GB, free: 11.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.345, allocations: 4 kB / 0.5132 GB, free: 11.41 MB / 382.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.0004719/0.3455, allocations: 411.5 kB / 0.5136 GB, free: 10.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.3455, allocations: 13.92 kB / 0.5136 GB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.833e-05/0.3456, allocations: 49.8 kB / 0.5136 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.65e-05/0.3456, allocations: 15.81 kB / 0.5136 GB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.3458, allocations: 189.1 kB / 0.5138 GB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.3458, allocations: 8.984 kB / 0.5138 GB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.828e-05/0.3458, allocations: 21.42 kB / 0.5138 GB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.346, allocations: 130 kB / 0.514 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.3461, allocations: 5.75 kB / 0.514 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.3461, allocations: 5.781 kB / 0.514 GB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.3461, allocations: 5.766 kB / 0.514 GB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.796e-05/0.3462, allocations: 61.31 kB / 0.514 GB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000657/0.3468, allocations: 0.5401 MB / 0.5146 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00014/0.347, allocations: 86.69 kB / 0.5147 GB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.62e-05/0.347, allocations: 25.81 kB / 0.5147 GB, free: 9.926 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.347, allocations: 96 / 0.5147 GB, free: 9.926 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.3471, allocations: 44.67 kB / 0.5147 GB, free: 9.875 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.3471, allocations: 3.984 kB / 0.5147 GB, free: 9.871 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005346/0.3476, allocations: 294.5 kB / 0.515 GB, free: 9.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.3476, allocations: 82.08 kB / 0.5151 GB, free: 9.492 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.631e-05/0.3477, allocations: 125.4 kB / 0.5152 GB, free: 9.375 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.848e-06/0.3477, allocations: 29.7 kB / 0.5152 GB, free: 9.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.656e-05/0.3478, allocations: 125.2 kB / 0.5153 GB, free: 9.219 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.3478, allocations: 32.23 kB / 0.5154 GB, free: 9.191 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.445e-05/0.3479, allocations: 30.97 kB / 0.5154 GB, free: 9.164 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.106e-05/0.3479, allocations: 324.9 kB / 0.5157 GB, free: 8.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.2e-05/0.348, allocations: 20.7 kB / 0.5157 GB, free: 8.832 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.094e-05/0.348, allocations: 86.3 kB / 0.5158 GB, free: 8.734 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.3482, allocations: 122.4 kB / 0.5159 GB, free: 8.617 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3482, allocations: 0 / 0.5159 GB, free: 8.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002458/0.3484, allocations: 172.5 kB / 0.5161 GB, free: 8.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.3484, allocations: 5.906 kB / 0.5161 GB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.3484, allocations: 7.469 kB / 0.5161 GB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001874/0.3486, allocations: 42.27 kB / 0.5162 GB, free: 8.465 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.822e-05/0.3487, allocations: 21.67 kB / 0.5162 GB, free: 8.461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001442/0.3502, allocations: 2.741 MB / 0.5189 GB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.882e-05/0.3502, allocations: 12.08 kB / 0.5189 GB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.3502, allocations: 5.5 kB / 0.5189 GB, free: 5.582 MB / 382.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 9.48e-05/0.3503, allocations: 132.7 kB / 0.519 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.877e-05/0.3504, allocations: 12.02 kB / 0.519 GB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.514e-05/0.3504, allocations: 9.281 kB / 0.519 GB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.3504, allocations: 1.375 kB / 0.519 GB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.3504, allocations: 1.375 kB / 0.519 GB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3504, allocations: 9.297 kB / 0.519 GB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002149/0.3506, allocations: 199.6 kB / 0.5192 GB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.3506, allocations: 1.375 kB / 0.5192 GB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.863e-05/0.3507, allocations: 18.98 kB / 0.5192 GB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001008/0.3508, allocations: 35.39 kB / 0.5193 GB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.3508, allocations: 5.375 kB / 0.5193 GB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001179/0.352, allocations: 2.73 MB / 0.5219 GB, free: 2.289 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.352, allocations: 1.375 kB / 0.5219 GB, free: 2.289 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002453/0.3523, allocations: 309.9 kB / 0.5222 GB, free: 2.012 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.969e-05/0.3523, allocations: 83.81 kB / 0.5223 GB, free: 1.914 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.3523, allocations: 5.406 kB / 0.5223 GB, free: 1.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.789e-05/0.3524, allocations: 1.375 kB / 0.5223 GB, free: 1.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/0.3524, allocations: 8.125 kB / 0.5223 GB, free: 1.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.3524, allocations: 1.375 kB / 0.5223 GB, free: 1.906 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.137e-05/0.3525, allocations: 92.89 kB / 0.5224 GB, free: 1.824 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3525, allocations: 0 / 0.5224 GB, free: 1.824 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003837/0.3529, allocations: 40.81 kB / 0.5225 GB, free: 1.812 MB / 382.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.0005069/0.3534, allocations: 0.8373 MB / 0.5233 GB, free: 1.004 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004835/0.3539, allocations: 309.6 kB / 0.5236 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/0.3539, allocations: 3.938 kB / 0.5236 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002096/0.3541, allocations: 253.2 kB / 0.5238 GB, free: 496 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005612/0.3546, allocations: 31.33 kB / 0.5239 GB, free: 476 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002565/0.3572, allocations: 1.963 MB / 0.5258 GB, free: 14.49 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004076/0.3576, allocations: 0.7084 MB / 0.5265 GB, free: 13.76 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.781e-05/0.3577, allocations: 12.81 kB / 0.5265 GB, free: 13.74 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.25e-05/0.3577, allocations: 27.44 kB / 0.5265 GB, free: 13.71 MB / 398.1 MB Notification: Performance of SimCode: time 2.034e-06/0.3577, allocations: 3.938 kB / 0.5265 GB, free: 13.71 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03441/0.3921, allocations: 3.025 MB / 0.5295 GB, free: 10.68 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.45/10.84, allocations: 7.984 kB / 0.5295 GB, free: 10.68 MB / 398.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions3_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions3.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 13.805662051774561]