Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001139/0.001139, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008499/0.0008499, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9013/0.9013, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2467/0.2467, allocations: 32.79 MB / 293.5 MB, free: 1.227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 439.6 MB, free: 4.281 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.76e-05/1.926e-05, allocations: 2.281 kB / 439.6 MB, free: 4.277 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.001983/0.002002, allocations: 1.619 MB / 441.2 MB, free: 2.648 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002255/0.002228, allocations: 99.62 kB / 441.3 MB, free: 2.551 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.477e-05/0.002283, allocations: 3.938 kB / 441.3 MB, free: 2.547 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.499e-05/0.002328, allocations: 19.86 kB / 441.3 MB, free: 2.527 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.686e-05/0.002415, allocations: 39.62 kB / 441.3 MB, free: 2.488 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001042/0.002519, allocations: 23.97 kB / 441.4 MB, free: 2.465 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.002628, allocations: 135.3 kB / 441.5 MB, free: 2.332 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.002736, allocations: 25.28 kB / 441.5 MB, free: 2.309 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.503e-05/0.002831, allocations: 75.8 kB / 441.6 MB, free: 2.234 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.342e-05/0.002885, allocations: 35.89 kB / 441.6 MB, free: 2.199 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.002908, allocations: 12 kB / 441.6 MB, free: 2.188 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.345e-05/0.002921, allocations: 8 kB / 441.7 MB, free: 2.18 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.199e-05/0.002943, allocations: 31.91 kB / 441.7 MB, free: 2.148 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.377e-05/0.002977, allocations: 35.92 kB / 441.7 MB, free: 2.113 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.003112, allocations: 127.6 kB / 441.8 MB, free: 1.988 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.003114, allocations: 3.938 kB / 441.9 MB, free: 1.984 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.003115, allocations: 0 / 441.9 MB, free: 1.984 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.003119, allocations: 0 / 441.9 MB, free: 1.984 MB / 410.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.0003623/0.003481, allocations: 330.2 kB / 442.2 MB, free: 1.625 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.00352, allocations: 8.031 kB / 442.2 MB, free: 1.617 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.642e-05/0.003556, allocations: 46.73 kB / 442.2 MB, free: 1.562 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.574e-05/0.003582, allocations: 8.891 kB / 442.2 MB, free: 1.555 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.003729, allocations: 145.6 kB / 442.4 MB, free: 1.387 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.00374, allocations: 8.609 kB / 442.4 MB, free: 1.379 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/0.003766, allocations: 12.38 kB / 442.4 MB, free: 1.367 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.003939, allocations: 129.5 kB / 442.5 MB, free: 1.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.003954, allocations: 12.14 kB / 442.5 MB, free: 1.219 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.003964, allocations: 384 / 442.5 MB, free: 1.219 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.003971, allocations: 8.125 kB / 442.5 MB, free: 1.211 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.865e-05/0.004049, allocations: 55.91 kB / 442.6 MB, free: 1.156 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004814/0.004531, allocations: 479.6 kB / 443.1 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.887e-05/0.00463, allocations: 89.2 kB / 443.2 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.002e-05/0.00466, allocations: 29.66 kB / 443.2 MB, free: 0.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.004674, allocations: 4 kB / 443.2 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000252/0.004926, allocations: 34.64 kB / 443.2 MB, free: 464 kB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 9.52e-07/0.004927, allocations: 0 / 443.2 MB, free: 464 kB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003424/0.005269, allocations: 147.2 kB / 443.4 MB, free: 304 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.005302, allocations: 81.11 kB / 443.4 MB, free: 204 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.882e-05/0.005371, allocations: 121.8 kB / 443.6 MB, free: 72 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.00538, allocations: 29.7 kB / 443.6 MB, free: 36 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1642/0.1696, allocations: 118.4 kB / 443.7 MB, free: 46.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.35e-05/0.1696, allocations: 33.62 kB / 443.7 MB, free: 46.26 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.673e-05/0.1697, allocations: 30.95 kB / 443.8 MB, free: 46.24 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.329e-05/0.1697, allocations: 325.1 kB / 444.1 MB, free: 45.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.674e-05/0.1697, allocations: 22.05 kB / 444.1 MB, free: 45.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.443e-05/0.1698, allocations: 90.28 kB / 444.2 MB, free: 45.85 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.329e-05/0.1699, allocations: 115.1 kB / 444.3 MB, free: 45.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.1699, allocations: 2.938 kB / 444.3 MB, free: 45.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002321/0.1701, allocations: 170.1 kB / 444.5 MB, free: 45.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.1701, allocations: 5.344 kB / 444.5 MB, free: 45.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.1701, allocations: 2.906 kB / 444.5 MB, free: 45.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001569/0.1703, allocations: 35.7 kB / 444.5 MB, free: 45.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.136e-05/0.1704, allocations: 29.69 kB / 444.6 MB, free: 45.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008725/0.1712, allocations: 2.526 MB / 447.1 MB, free: 43.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.827e-05/0.1713, allocations: 13.69 kB / 447.1 MB, free: 43.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.1713, allocations: 8.844 kB / 447.1 MB, free: 43.25 MB / 410.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 5.927e-05/0.1713, allocations: 127.6 kB / 447.2 MB, free: 43.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.1714, allocations: 13.17 kB / 447.2 MB, free: 43.13 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.417e-05/0.1714, allocations: 7.938 kB / 447.2 MB, free: 43.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1714, allocations: 2.844 kB / 447.2 MB, free: 43.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.1714, allocations: 0 / 447.2 MB, free: 43.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1714, allocations: 2.781 kB / 447.3 MB, free: 43.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.1715, allocations: 173.6 kB / 447.4 MB, free: 42.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1715, allocations: 0 / 447.4 MB, free: 42.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.012e-05/0.1716, allocations: 18.33 kB / 447.4 MB, free: 42.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.489e-05/0.1717, allocations: 34.39 kB / 447.5 MB, free: 42.95 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.1717, allocations: 2.188 kB / 447.5 MB, free: 42.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000594/0.1723, allocations: 2.521 MB / 450 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1723, allocations: 3.125 kB / 450 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/0.1724, allocations: 307.5 kB / 450.3 MB, free: 40.19 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.901e-06/0.1724, allocations: 8.516 kB / 450.3 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.284e-06/0.1724, allocations: 2.938 kB / 450.3 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.58e-05/0.1725, allocations: 7.234 kB / 450.3 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.27e-05/0.1725, allocations: 9.5 kB / 450.3 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.1725, allocations: 2.781 kB / 450.3 MB, free: 40.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.394e-05/0.1725, allocations: 99.62 kB / 450.4 MB, free: 40.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1725, allocations: 0 / 450.4 MB, free: 40.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00024/0.1728, allocations: 38 kB / 450.5 MB, free: 40.09 MB / 410.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.0002535/0.173, allocations: 0.8414 MB / 451.3 MB, free: 39.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002636/0.1733, allocations: 293.9 kB / 451.6 MB, free: 39.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1733, allocations: 0 / 451.6 MB, free: 39.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.481e-05/0.1734, allocations: 260.5 kB / 451.8 MB, free: 38.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003854/0.1737, allocations: 26.56 kB / 451.9 MB, free: 38.83 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.1748, allocations: 1.884 MB / 453.8 MB, free: 37.17 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.496e-05/0.1749, allocations: 90.64 kB / 453.8 MB, free: 37.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.793e-05/0.1749, allocations: 8.844 kB / 453.9 MB, free: 37.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.758e-05/0.1749, allocations: 38.19 kB / 453.9 MB, free: 37.06 MB / 410.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1749, allocations: 0 / 453.9 MB, free: 37.06 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02/0.1949, allocations: 3.791 MB / 457.7 MB, free: 35.97 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.848/7.043, allocations: 2.906 kB / 457.7 MB, free: 35.97 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions3_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions3.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 9.018776503391564]