Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.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.000936/0.000936, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.0008677/0.0008677, allocations: 156.9 kB / 23.94 MB, free: 0.6172 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.8911/0.8911, allocations: 177 MB / 204.1 MB, free: 5.738 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.2408/0.2408, allocations: 34.23 MB / 294.8 MB, free: 0.6875 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.GenerationOfFMUs,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.GenerationOfFMUs,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 442.1 MB, free: 1.598 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.314e-05/2.48e-05, allocations: 8.391 kB / 442.1 MB, free: 1.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.1703/0.1704, allocations: 5.14 MB / 447.3 MB, free: 41.51 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002564/0.1729, allocations: 2.259 MB / 449.5 MB, free: 40.22 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004316/0.1734, allocations: 53.34 kB / 449.6 MB, free: 40.19 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000326/0.1737, allocations: 235.1 kB / 449.8 MB, free: 40.04 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000263/0.1739, allocations: 193.1 kB / 450 MB, free: 39.89 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000791/0.1747, allocations: 476 kB / 450.5 MB, free: 39.61 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006065/0.1753, allocations: 1.139 MB / 451.6 MB, free: 39.01 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003981/0.1757, allocations: 398.8 kB / 452 MB, free: 38.78 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004196/0.1762, allocations: 0.5649 MB / 452.6 MB, free: 38.52 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002141/0.1764, allocations: 273.6 kB / 452.8 MB, free: 38.42 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.25e-05/0.1764, allocations: 99.47 kB / 452.9 MB, free: 38.42 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000179/0.1766, allocations: 161.2 kB / 453.1 MB, free: 38.39 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.1767, allocations: 216.4 kB / 453.3 MB, free: 38.24 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001604/0.1769, allocations: 307 kB / 453.6 MB, free: 38.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007308/0.1776, allocations: 1.288 MB / 454.9 MB, free: 37.58 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1776, allocations: 0 / 454.9 MB, free: 37.58 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.1776, allocations: 3.938 kB / 454.9 MB, free: 37.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.1776, allocations: 0 / 454.9 MB, free: 37.57 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.000901/0.1785, allocations: 1.072 MB / 456 MB, free: 36.83 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.1786, allocations: 8.156 kB / 456 MB, free: 36.83 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.499e-05/0.1787, allocations: 144.8 kB / 456.1 MB, free: 36.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001814/0.1789, allocations: 119.9 kB / 456.2 MB, free: 36.67 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005648/0.1794, allocations: 0.516 MB / 456.7 MB, free: 36.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.127e-05/0.1795, allocations: 74.94 kB / 456.8 MB, free: 36.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.945e-05/0.1795, allocations: 86.53 kB / 456.9 MB, free: 36.26 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008229/0.1803, allocations: 0.8937 MB / 457.8 MB, free: 35.78 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.594e-05/0.1804, allocations: 10.23 kB / 457.8 MB, free: 35.78 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.809e-05/0.1804, allocations: 40.72 kB / 457.8 MB, free: 35.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.1804, allocations: 23.16 kB / 457.9 MB, free: 35.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005705/0.181, allocations: 0.5268 MB / 458.4 MB, free: 35.56 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001974/0.183, allocations: 3.314 MB / 461.7 MB, free: 32.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003599/0.1833, allocations: 210.7 kB / 461.9 MB, free: 32.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.1834, allocations: 95.73 kB / 462 MB, free: 32.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001065/0.1835, allocations: 22.47 kB / 462 MB, free: 32.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.167e-05/0.1836, allocations: 30.56 kB / 462.1 MB, free: 32.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 1.814e-06/0.1836, allocations: 0 / 462.1 MB, free: 32.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.001501/0.1851, allocations: 1.16 MB / 463.2 MB, free: 32.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/0.1851, allocations: 54.59 kB / 463.3 MB, free: 32.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.1853, allocations: 412.9 kB / 463.7 MB, free: 31.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.1853, allocations: 29.7 kB / 463.7 MB, free: 31.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.1855, allocations: 486.9 kB / 464.2 MB, free: 31.42 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.48e-05/0.1855, allocations: 136.6 kB / 464.3 MB, free: 31.31 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.612e-05/0.1856, allocations: 99.08 kB / 464.4 MB, free: 31.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.037e-05/0.1856, allocations: 362.2 kB / 464.8 MB, free: 30.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.1858, allocations: 114.7 kB / 464.9 MB, free: 30.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001701/0.1859, allocations: 305.3 kB / 465.2 MB, free: 30.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003105/0.1862, allocations: 463.2 kB / 465.6 MB, free: 30.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1863, allocations: 3.344 kB / 465.6 MB, free: 30.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004542/0.1867, allocations: 0.5108 MB / 466.1 MB, free: 29.99 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.1867, allocations: 9.156 kB / 466.1 MB, free: 29.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.1867, allocations: 7.125 kB / 466.1 MB, free: 29.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001546/0.1869, allocations: 38.75 kB / 466.2 MB, free: 29.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/0.1871, allocations: 133 kB / 466.3 MB, free: 29.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002/0.1873, allocations: 0.5578 MB / 466.9 MB, free: 29.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.1874, allocations: 17.19 kB / 466.9 MB, free: 29.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.463e-05/0.1874, allocations: 29.47 kB / 466.9 MB, free: 29.41 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (68): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001803/0.1876, allocations: 228.8 kB / 467.1 MB, free: 29.22 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.752e-05/0.1877, allocations: 57.05 kB / 467.2 MB, free: 29.19 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003607/0.188, allocations: 328.5 kB / 467.5 MB, free: 29.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.188, allocations: 3.312 kB / 467.5 MB, free: 29.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.188, allocations: 0 / 467.5 MB, free: 29.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.188, allocations: 7.266 kB / 467.5 MB, free: 29.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008374/0.1889, allocations: 0.9901 MB / 468.5 MB, free: 28.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.1889, allocations: 7.156 kB / 468.5 MB, free: 28.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001985/0.1891, allocations: 75.81 kB / 468.6 MB, free: 28.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.137e-05/0.1892, allocations: 36.23 kB / 468.6 MB, free: 28.42 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.1892, allocations: 11.78 kB / 468.6 MB, free: 28.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000141/0.1893, allocations: 0.551 MB / 469.2 MB, free: 27.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.1893, allocations: 0 / 469.2 MB, free: 27.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003991/0.1897, allocations: 0.5592 MB / 469.8 MB, free: 27.53 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.514e-05/0.1898, allocations: 44.81 kB / 469.8 MB, free: 27.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.872e-05/0.1898, allocations: 7.25 kB / 469.8 MB, free: 27.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.766e-05/0.1899, allocations: 11.53 kB / 469.8 MB, free: 27.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.1899, allocations: 30.77 kB / 469.9 MB, free: 27.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.1899, allocations: 9.812 kB / 469.9 MB, free: 27.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001577/0.1901, allocations: 277.7 kB / 470.1 MB, free: 27.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1901, allocations: 0 / 470.1 MB, free: 27.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003665/0.1904, allocations: 127.2 kB / 470.3 MB, free: 27.32 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (directInertia.inertia.w,directInertia.torqueToAngle.phi,inertia2a.w,torqueToAngle2a.y,inertia2b.w,torqueToAngle2b.y,inertia3a.phi,inertia3a.w,inertia3b.phi,inertia3b.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 (33): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006131/0.1911, allocations: 1.117 MB / 471.4 MB, free: 26.44 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004069/0.1915, allocations: 316.4 kB / 471.7 MB, free: 26.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1915, allocations: 3.938 kB / 471.7 MB, free: 26.33 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.1916, allocations: 136 kB / 471.8 MB, free: 26.29 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.192, allocations: 86.41 kB / 471.9 MB, free: 26.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003397/0.1954, allocations: 4.662 MB / 476.6 MB, free: 23.17 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002126/0.1956, allocations: 360.6 kB / 476.9 MB, free: 23.05 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001326/0.1957, allocations: 69.27 kB / 477 MB, free: 23.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001859/0.1959, allocations: 296.3 kB / 477.3 MB, free: 22.81 MB / 410.7 MB Notification: Performance of SimCode: time 9.42e-07/0.1959, allocations: 0 / 477.3 MB, free: 22.81 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03084/0.2267, allocations: 10.16 MB / 487.4 MB, free: 20.97 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.068/8.295, allocations: 4.391 kB / 487.4 MB, free: 20.97 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_trunk_ModelicaTest_Rotational_GenerationOfFMUs.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable directInertia.inertia.phi in file ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs_res.csv. Warning: Get data of variable directInertia.inertia.phi from file ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs_res.csv failed! Error: Could not read variable inertia2a.phi in file ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs_res.csv. Warning: Get data of variable inertia2a.phi from file ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs_res.csv failed! Error: Could not read variable inertia2b.phi in file ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs_res.csv. Warning: Get data of variable inertia2b.phi from file ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs_res.csv failed! Error: Could not read variable inertia3a.w in file ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs_res.csv. Warning: Get data of variable inertia3a.w from file ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs_res.csv failed! Error: Could not read variable inertia3b.phi in file ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs_res.csv. Warning: Get data of variable inertia3b.phi from file ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs_res.csv failed! Error: Could not read variable inertia3b.w in file ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs_res.csv. Warning: Get data of variable inertia3b.w from file ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.362812125124037]