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.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.0008795/0.0008795, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0009789/0.0009789, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8524/0.8524, allocations: 158.6 MB / 185 MB, free: 3.023 MB / 170.7 MB " [Timeout remaining time 179] 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.1256/0.1256, allocations: 32.37 MB / 269.6 MB, free: 14.94 MB / 266.7 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.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: "" <> 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: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 406.8 MB, free: 2.27 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.039e-05/2.171e-05, allocations: 9.938 kB / 406.8 MB, free: 2.262 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002207/0.002229, allocations: 1.604 MB / 408.4 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002145/0.002443, allocations: 115.6 kB / 408.5 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.783e-05/0.002491, allocations: 4 kB / 408.5 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 4.267e-05/0.002534, allocations: 11.86 kB / 408.6 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 8.346e-05/0.002617, allocations: 43.58 kB / 408.6 MB, free: 488 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001018/0.002719, allocations: 19.97 kB / 408.6 MB, free: 468 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001162/0.002835, allocations: 135.3 kB / 408.7 MB, free: 332 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.002949, allocations: 33.28 kB / 408.8 MB, free: 296 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.212e-05/0.003031, allocations: 63.89 kB / 408.8 MB, free: 232 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.481e-05/0.003086, allocations: 35.89 kB / 408.9 MB, free: 196 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.346e-05/0.00311, allocations: 8 kB / 408.9 MB, free: 188 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.414e-05/0.003124, allocations: 12 kB / 408.9 MB, free: 176 kB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.094e-05/0.003145, allocations: 27.91 kB / 408.9 MB, free: 148 kB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.458e-05/0.003179, allocations: 39.91 kB / 409 MB, free: 108 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001452/0.003324, allocations: 127.6 kB / 409.1 MB, free: 15.98 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.003326, allocations: 3.938 kB / 409.1 MB, free: 15.97 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.003328, allocations: 0 / 409.1 MB, free: 15.97 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.003332, allocations: 3.938 kB / 409.1 MB, free: 15.97 MB / 394.7 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.0003369/0.003669, allocations: 330.2 kB / 409.4 MB, free: 15.61 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.003707, allocations: 12.03 kB / 409.4 MB, free: 15.6 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.617e-05/0.003743, allocations: 46.73 kB / 409.5 MB, free: 15.54 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.67e-05/0.00377, allocations: 16.78 kB / 409.5 MB, free: 15.53 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.003904, allocations: 133.6 kB / 409.6 MB, free: 15.37 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.003915, allocations: 12.61 kB / 409.6 MB, free: 15.36 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.003938, allocations: 16.33 kB / 409.7 MB, free: 15.34 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.004093, allocations: 129.5 kB / 409.8 MB, free: 15.21 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.004105, allocations: 192 / 409.8 MB, free: 15.21 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.004117, allocations: 8.375 kB / 409.8 MB, free: 15.2 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.004124, allocations: 12.12 kB / 409.8 MB, free: 15.19 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.759e-05/0.004201, allocations: 59.89 kB / 409.9 MB, free: 15.13 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004663/0.004667, allocations: 467.6 kB / 410.3 MB, free: 14.63 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.004768, allocations: 81.08 kB / 410.4 MB, free: 14.53 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.958e-05/0.004798, allocations: 25.89 kB / 410.4 MB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/0.004808, allocations: 7.984 kB / 410.4 MB, free: 14.49 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.004826, allocations: 34.56 kB / 410.5 MB, free: 14.45 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 1.603e-06/0.004827, allocations: 0 / 410.5 MB, free: 14.45 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003338/0.005161, allocations: 155.1 kB / 410.6 MB, free: 14.29 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.0052, allocations: 77.11 kB / 410.7 MB, free: 14.19 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.49e-05/0.005274, allocations: 129.8 kB / 410.8 MB, free: 14.05 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.005285, allocations: 29.7 kB / 410.8 MB, free: 14.02 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.819e-05/0.005334, allocations: 119.7 kB / 411 MB, free: 13.9 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.917e-05/0.005353, allocations: 31.73 kB / 411 MB, free: 13.87 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.308e-05/0.005386, allocations: 33.67 kB / 411 MB, free: 13.83 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.481e-05/0.005461, allocations: 318.8 kB / 411.3 MB, free: 13.51 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.952e-05/0.00549, allocations: 31.98 kB / 411.4 MB, free: 13.48 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.545e-05/0.005546, allocations: 92.45 kB / 411.5 MB, free: 13.36 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.554e-05/0.005641, allocations: 120.4 kB / 411.6 MB, free: 13.21 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.005644, allocations: 4 kB / 411.6 MB, free: 13.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001626/0.005807, allocations: 167.1 kB / 411.7 MB, free: 13.03 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.005819, allocations: 8 kB / 411.7 MB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.005824, allocations: 0 / 411.7 MB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001314/0.005955, allocations: 37.7 kB / 411.8 MB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.237e-05/0.006018, allocations: 23.98 kB / 411.8 MB, free: 12.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001153/0.007171, allocations: 2.524 MB / 414.3 MB, free: 10.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.863e-05/0.007209, allocations: 15.92 kB / 414.3 MB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.007216, allocations: 8 kB / 414.4 MB, free: 10.18 MB / 394.7 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.256e-05/0.007289, allocations: 130.1 kB / 414.5 MB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.247e-05/0.007312, allocations: 7.953 kB / 414.5 MB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.501e-05/0.007327, allocations: 8 kB / 414.5 MB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.007328, allocations: 0 / 414.5 MB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.007331, allocations: 7.938 kB / 414.5 MB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.007335, allocations: 3.984 kB / 414.5 MB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.007486, allocations: 164.7 kB / 414.7 MB, free: 9.809 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.007488, allocations: 0 / 414.7 MB, free: 9.809 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.621e-05/0.007544, allocations: 15.98 kB / 414.7 MB, free: 9.793 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.946e-05/0.007614, allocations: 41.64 kB / 414.7 MB, free: 9.746 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.007623, allocations: 4 kB / 414.7 MB, free: 9.742 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001206/0.008829, allocations: 2.523 MB / 417.3 MB, free: 6.992 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.008831, allocations: 4.031 kB / 417.3 MB, free: 6.988 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001746/0.009005, allocations: 312.3 kB / 417.6 MB, free: 6.66 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.4e-06/0.009011, allocations: 3.953 kB / 417.6 MB, free: 6.656 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.466e-06/0.009019, allocations: 8.031 kB / 417.6 MB, free: 6.648 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.296e-05/0.009072, allocations: 0 / 417.6 MB, free: 6.648 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.021e-05/0.009092, allocations: 15.92 kB / 417.6 MB, free: 6.633 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.009095, allocations: 0 / 417.6 MB, free: 6.633 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.369e-05/0.009129, allocations: 95.27 kB / 417.7 MB, free: 6.539 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009129, allocations: 0 / 417.7 MB, free: 6.539 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002247/0.009354, allocations: 35.94 kB / 417.7 MB, free: 6.504 MB / 394.7 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.0003497/0.009704, allocations: 0.8305 MB / 418.5 MB, free: 5.641 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002933/0.009997, allocations: 301.2 kB / 418.8 MB, free: 5.32 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.009999, allocations: 0 / 418.8 MB, free: 5.32 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.01012, allocations: 257.9 kB / 419.1 MB, free: 5.043 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.01046, allocations: 27.92 kB / 419.1 MB, free: 5.016 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.01175, allocations: 1.89 MB / 421 MB, free: 2.973 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.628e-05/0.01182, allocations: 93.8 kB / 421.1 MB, free: 2.859 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.141e-05/0.01185, allocations: 8.984 kB / 421.1 MB, free: 2.844 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.269e-05/0.01189, allocations: 28.48 kB / 421.1 MB, free: 2.816 MB / 394.7 MB Notification: Performance of SimCode: time 5.81e-07/0.0119, allocations: 0 / 421.1 MB, free: 2.816 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02196/0.03386, allocations: 3.784 MB / 424.9 MB, free: 15.02 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.76/6.794, allocations: 0 / 424.9 MB, free: 15.02 MB / 410.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.72474448941648]