Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008606/0.0008606, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008279/0.0008279, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9167/0.9167, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2527/0.2527, allocations: 34.24 MB / 294.8 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 3.938 kB / 442.1 MB, free: 1.602 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.243e-05/2.418e-05, allocations: 9.094 kB / 442.1 MB, free: 1.594 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.1832/0.1832, allocations: 2.476 MB / 444.6 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008634/0.1841, allocations: 0.6977 MB / 445.3 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.1842, allocations: 9.875 kB / 445.3 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001252/0.1843, allocations: 40.27 kB / 445.4 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001138/0.1844, allocations: 93.23 kB / 445.4 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002413/0.1847, allocations: 108.9 kB / 445.6 MB, free: 42.72 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001972/0.1849, allocations: 350.3 kB / 445.9 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.185, allocations: 57.2 kB / 446 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001861/0.1852, allocations: 188.9 kB / 446.1 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.417e-05/0.1853, allocations: 102 kB / 446.2 MB, free: 42.57 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.729e-05/0.1853, allocations: 26.91 kB / 446.3 MB, free: 42.56 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.515e-05/0.1854, allocations: 27.05 kB / 446.3 MB, free: 42.56 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.415e-05/0.1854, allocations: 60.75 kB / 446.3 MB, free: 42.54 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.215e-05/0.1855, allocations: 92.59 kB / 446.4 MB, free: 42.53 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002238/0.1857, allocations: 311.8 kB / 446.7 MB, free: 42.42 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1857, allocations: 0 / 446.7 MB, free: 42.42 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1857, allocations: 0 / 446.7 MB, free: 42.42 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.1857, allocations: 0 / 446.7 MB, free: 42.42 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0005258/0.1862, allocations: 0.5188 MB / 447.3 MB, free: 42.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.1862, allocations: 12.84 kB / 447.3 MB, free: 42.01 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.686e-05/0.1863, allocations: 62.05 kB / 447.3 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001499/0.1864, allocations: 54.81 kB / 447.4 MB, free: 41.94 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/0.1867, allocations: 208 kB / 447.6 MB, free: 41.76 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.1867, allocations: 19.53 kB / 447.6 MB, free: 41.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.556e-05/0.1868, allocations: 31.3 kB / 447.6 MB, free: 41.74 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002772/0.187, allocations: 289.9 kB / 447.9 MB, free: 41.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.187, allocations: 3.062 kB / 447.9 MB, free: 41.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.1871, allocations: 12.12 kB / 447.9 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.1871, allocations: 16.09 kB / 448 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002301/0.1873, allocations: 176.5 kB / 448.1 MB, free: 41.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008132/0.1881, allocations: 1.202 MB / 449.3 MB, free: 40.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002411/0.1884, allocations: 236.3 kB / 449.6 MB, free: 40.37 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.987e-05/0.1885, allocations: 96.88 kB / 449.7 MB, free: 40.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.1885, allocations: 12.98 kB / 449.7 MB, free: 40.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.543e-05/0.1885, allocations: 37.34 kB / 449.7 MB, free: 40.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=26): time 1.403e-06/0.1885, allocations: 0 / 449.7 MB, free: 40.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.001237/0.1897, allocations: 1.203 MB / 450.9 MB, free: 39.42 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.1898, allocations: 131.4 kB / 451 MB, free: 39.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.1899, allocations: 234.8 kB / 451.3 MB, free: 39.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.1899, allocations: 33.64 kB / 451.3 MB, free: 39.08 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.259e-05/0.1899, allocations: 176.3 kB / 451.5 MB, free: 38.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.795e-05/0.19, allocations: 128.6 kB / 451.6 MB, free: 38.83 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.805e-05/0.19, allocations: 71.02 kB / 451.7 MB, free: 38.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.659e-05/0.1901, allocations: 338.7 kB / 452 MB, free: 38.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.1902, allocations: 102.9 kB / 452.1 MB, free: 38.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/0.1904, allocations: 237.8 kB / 452.3 MB, free: 38.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003237/0.1907, allocations: 369.4 kB / 452.7 MB, free: 37.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1907, allocations: 1.5 kB / 452.7 MB, free: 37.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004053/0.1911, allocations: 389.3 kB / 453.1 MB, free: 37.83 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.1911, allocations: 9.844 kB / 453.1 MB, free: 37.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.1911, allocations: 8.938 kB / 453.1 MB, free: 37.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.1911, allocations: 5.75 kB / 453.1 MB, free: 37.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002386/0.1914, allocations: 102.1 kB / 453.2 MB, free: 37.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.1914, allocations: 8.375 kB / 453.2 MB, free: 37.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.1915, allocations: 29.06 kB / 453.2 MB, free: 37.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.1915, allocations: 17.84 kB / 453.2 MB, free: 37.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (48): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.785e-05/0.1916, allocations: 156.1 kB / 453.4 MB, free: 37.65 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.108e-05/0.1916, allocations: 35.47 kB / 453.4 MB, free: 37.63 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.137e-05/0.1917, allocations: 33.89 kB / 453.5 MB, free: 37.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.1917, allocations: 5.531 kB / 453.5 MB, free: 37.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.1917, allocations: 0 / 453.5 MB, free: 37.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.1917, allocations: 6.203 kB / 453.5 MB, free: 37.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007575/0.1924, allocations: 0.9257 MB / 454.4 MB, free: 36.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1924, allocations: 3 kB / 454.4 MB, free: 36.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001763/0.1926, allocations: 73.94 kB / 454.5 MB, free: 36.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.1926, allocations: 2.938 kB / 454.5 MB, free: 36.94 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.1926, allocations: 14.27 kB / 454.5 MB, free: 36.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1926, allocations: 6.812 kB / 454.5 MB, free: 36.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1926, allocations: 6.844 kB / 454.5 MB, free: 36.92 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000508/0.1932, allocations: 0.729 MB / 455.2 MB, free: 36.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.372e-05/0.1932, allocations: 30.09 kB / 455.3 MB, free: 36.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.1932, allocations: 14.94 kB / 455.3 MB, free: 36.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.1934, allocations: 16.09 kB / 455.3 MB, free: 36.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.022e-05/0.1934, allocations: 32.7 kB / 455.3 MB, free: 36.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.1934, allocations: 5.375 kB / 455.3 MB, free: 36.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.099e-05/0.1935, allocations: 164.8 kB / 455.5 MB, free: 36.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1935, allocations: 0 / 455.5 MB, free: 36.29 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003106/0.1938, allocations: 65.84 kB / 455.6 MB, free: 36.28 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006081/0.1944, allocations: 1.271 MB / 456.8 MB, free: 35.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003671/0.1948, allocations: 271.4 kB / 457.1 MB, free: 35.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1948, allocations: 3.938 kB / 457.1 MB, free: 35.17 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001467/0.1949, allocations: 123.5 kB / 457.2 MB, free: 35.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004573/0.1954, allocations: 41.84 kB / 457.3 MB, free: 35.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002252/0.1976, allocations: 3.368 MB / 460.6 MB, free: 32.65 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.506e-05/0.1977, allocations: 167.6 kB / 460.8 MB, free: 32.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.303e-05/0.1978, allocations: 33.45 kB / 460.8 MB, free: 32.56 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.383e-05/0.1979, allocations: 101.4 kB / 460.9 MB, free: 32.49 MB / 410.7 MB Notification: Performance of SimCode: time 1.273e-06/0.1979, allocations: 0 / 460.9 MB, free: 32.49 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01788/0.2158, allocations: 6.135 MB / 467.1 MB, free: 31.19 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.004/7.219, allocations: 14.3 kB / 467.1 MB, free: 31.18 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219824 ModelicaTest_trunk_ModelicaTest_Rotational_TestSpeed.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable speed4.s in file ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed_res.csv. Warning: Get data of variable speed4.s from file ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.356544520705938]