Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.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.001673/0.001673, allocations: 119.3 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.001831/0.001831, 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.448/1.448, allocations: 207.6 MB / 230.5 MB, free: 4.055 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.3702/0.3702, allocations: 44.24 MB / 326.5 MB, free: 6.855 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.Directions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions",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.002214/0.002214, allocations: 75.91 kB / 462.2 MB, free: 0.9453 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2624, allocations: 60.99 MB / 0.5109 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.003282/0.2656, allocations: 2.857 MB / 0.5137 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.2667, allocations: 0.7625 MB / 0.5144 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001886/0.2669, allocations: 7.938 kB / 0.5144 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002022/0.2671, allocations: 62.23 kB / 0.5145 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002165/0.2673, allocations: 125.5 kB / 0.5146 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002541/0.2676, allocations: 98.62 kB / 0.5147 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003665/0.2679, allocations: 443.3 kB / 0.5151 GB, free: 9.867 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002415/0.2682, allocations: 141 kB / 0.5153 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001903/0.2684, allocations: 170.9 kB / 0.5154 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001876/0.2685, allocations: 195.5 kB / 0.5156 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.984e-05/0.2686, allocations: 35.75 kB / 0.5156 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.767e-05/0.2686, allocations: 35.75 kB / 0.5157 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.516e-05/0.2687, allocations: 77.33 kB / 0.5158 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00014/0.2688, allocations: 206.4 kB / 0.516 GB, free: 9.332 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003754/0.2692, allocations: 457.6 kB / 0.5164 GB, free: 9.004 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2692, allocations: 0 / 0.5164 GB, free: 9.004 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2692, allocations: 1.375 kB / 0.5164 GB, free: 9.004 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.2692, allocations: 0 / 0.5164 GB, free: 9.004 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.000851/0.2701, allocations: 0.6648 MB / 0.517 GB, free: 8.418 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.2701, allocations: 14.39 kB / 0.5171 GB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.456e-05/0.2702, allocations: 85.89 kB / 0.5171 GB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.845e-05/0.2703, allocations: 46.16 kB / 0.5172 GB, free: 8.309 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003392/0.2706, allocations: 297.4 kB / 0.5175 GB, free: 8.012 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.2706, allocations: 28.59 kB / 0.5175 GB, free: 8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.682e-05/0.2707, allocations: 42.08 kB / 0.5175 GB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005641/0.2712, allocations: 385.8 kB / 0.5179 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.2713, allocations: 7.938 kB / 0.5179 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.556e-05/0.2713, allocations: 16 kB / 0.5179 GB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.2713, allocations: 12 kB / 0.5179 GB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004017/0.2717, allocations: 243.8 kB / 0.5182 GB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001237/0.2729, allocations: 1.101 MB / 0.5192 GB, free: 6.277 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000415/0.2734, allocations: 335.4 kB / 0.5196 GB, free: 5.922 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002238/0.2736, allocations: 159.2 kB / 0.5197 GB, free: 5.758 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/0.2736, allocations: 8 kB / 0.5197 GB, free: 5.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.2736, allocations: 50.44 kB / 0.5198 GB, free: 5.691 MB / 382.1 MB Notification: Performance of pre-optimization done (n=39): time 1.563e-06/0.2736, allocations: 0 / 0.5198 GB, free: 5.691 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.002979/0.2766, allocations: 2.439 MB / 0.5222 GB, free: 2.984 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.2766, allocations: 114.8 kB / 0.5223 GB, free: 2.848 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/0.2768, allocations: 242.6 kB / 0.5225 GB, free: 2.605 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.2768, allocations: 33.7 kB / 0.5225 GB, free: 2.566 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.182e-05/0.2769, allocations: 188.9 kB / 0.5227 GB, free: 2.379 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.373e-05/0.277, allocations: 214.2 kB / 0.5229 GB, free: 2.168 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.201e-05/0.2771, allocations: 82.25 kB / 0.523 GB, free: 2.082 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.851e-05/0.2771, allocations: 354.7 kB / 0.5233 GB, free: 1.727 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002111/0.2773, allocations: 133 kB / 0.5235 GB, free: 1.594 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/0.2776, allocations: 227.8 kB / 0.5237 GB, free: 1.336 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004519/0.278, allocations: 405.9 kB / 0.5241 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.278, allocations: 0 / 0.5241 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0007944/0.2788, allocations: 0.5618 MB / 0.5246 GB, free: 332 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.2788, allocations: 8 kB / 0.5246 GB, free: 324 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.2789, allocations: 4 kB / 0.5246 GB, free: 320 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003021/0.2792, allocations: 114.5 kB / 0.5247 GB, free: 196 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003323/0.2795, allocations: 104 kB / 0.5248 GB, free: 92 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004813/0.2843, allocations: 5.218 MB / 0.5299 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000248/0.2845, allocations: 20.02 kB / 0.5299 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.369e-05/0.2846, allocations: 20 kB / 0.53 GB, free: 10.41 MB / 398.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.00022/0.2848, allocations: 165.8 kB / 0.5301 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.2849, allocations: 35.77 kB / 0.5301 GB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.78e-05/0.285, allocations: 50.17 kB / 0.5302 GB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.285, allocations: 8 kB / 0.5302 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.41e-05/0.285, allocations: 3.938 kB / 0.5302 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.285, allocations: 11.92 kB / 0.5302 GB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002132/0.2872, allocations: 1.312 MB / 0.5315 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.2872, allocations: 4 kB / 0.5315 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004222/0.2876, allocations: 99.92 kB / 0.5316 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002897/0.2879, allocations: 98.45 kB / 0.5317 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.283e-05/0.2879, allocations: 15.98 kB / 0.5317 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003904/0.2918, allocations: 4.423 MB / 0.536 GB, free: 3.672 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.2918, allocations: 0 / 0.536 GB, free: 3.672 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001437/0.2932, allocations: 0.937 MB / 0.5369 GB, free: 2.699 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.2934, allocations: 104.9 kB / 0.537 GB, free: 2.578 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.35e-05/0.2934, allocations: 12.06 kB / 0.5371 GB, free: 2.566 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002631/0.2937, allocations: 19.98 kB / 0.5371 GB, free: 2.547 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.581e-05/0.2938, allocations: 47.88 kB / 0.5371 GB, free: 2.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.429e-05/0.2938, allocations: 16 kB / 0.5371 GB, free: 2.484 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001727/0.294, allocations: 170 kB / 0.5373 GB, free: 2.32 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.294, allocations: 4 kB / 0.5373 GB, free: 2.316 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006989/0.2947, allocations: 120 kB / 0.5374 GB, free: 2.199 MB / 398.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.001764/0.2964, allocations: 1.476 MB / 0.5389 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001379/0.2978, allocations: 0.754 MB / 0.5396 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.2978, allocations: 0 / 0.5396 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008265/0.2986, allocations: 0.5641 MB / 0.5401 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006553/0.2993, allocations: 56.73 kB / 0.5402 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005975/0.3053, allocations: 4.148 MB / 0.5442 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005111/0.3058, allocations: 0.8241 MB / 0.5451 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001483/0.3059, allocations: 39.25 kB / 0.5451 GB, free: 10 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001935/0.3061, allocations: 127.4 kB / 0.5452 GB, free: 9.875 MB / 414.1 MB Notification: Performance of SimCode: time 8.91e-07/0.3061, allocations: 0 / 0.5452 GB, free: 9.875 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04258/0.3487, allocations: 8.373 MB / 0.5534 GB, free: 1.48 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.32, allocations: 7.922 kB / 0.5534 GB, free: 1.473 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 14.255296405870467]