Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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.0008263/0.0008263, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009101/0.0009101, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8854/0.8854, allocations: 173.4 MB / 200.5 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 318.4 MB, free: 6.363 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.145e-05/2.304e-05, allocations: 2.281 kB / 318.4 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.002472/0.002495, allocations: 1.59 MB / 320 MB, free: 4.754 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007524/0.003248, allocations: 486.6 kB / 320.5 MB, free: 4.273 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.489e-05/0.003343, allocations: 8 kB / 320.5 MB, free: 4.266 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.285e-05/0.003395, allocations: 7.875 kB / 320.5 MB, free: 4.258 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001663/0.003562, allocations: 15.8 kB / 320.5 MB, free: 4.242 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003441/0.003906, allocations: 55.75 kB / 320.6 MB, free: 4.188 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.004066, allocations: 51.8 kB / 320.6 MB, free: 4.137 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001714/0.004238, allocations: 19.97 kB / 320.7 MB, free: 4.117 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.00438, allocations: 35.89 kB / 320.7 MB, free: 4.082 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.58e-05/0.004466, allocations: 15.92 kB / 320.7 MB, free: 4.066 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.585e-05/0.004502, allocations: 4 kB / 320.7 MB, free: 4.062 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.516e-05/0.004517, allocations: 8 kB / 320.7 MB, free: 4.055 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.249e-05/0.004599, allocations: 19.91 kB / 320.7 MB, free: 4.035 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.129e-05/0.004641, allocations: 15.94 kB / 320.8 MB, free: 4.02 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002055/0.004846, allocations: 59.78 kB / 320.8 MB, free: 3.961 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.004853, allocations: 0 / 320.8 MB, free: 3.961 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.504e-06/0.004855, allocations: 0 / 320.8 MB, free: 3.961 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.575e-06/0.004863, allocations: 4 kB / 320.8 MB, free: 3.957 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005214/0.005384, allocations: 313.1 kB / 321.1 MB, free: 3.625 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.005428, allocations: 8.922 kB / 321.1 MB, free: 3.617 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.435e-05/0.005462, allocations: 38.75 kB / 321.2 MB, free: 3.57 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.025e-05/0.005492, allocations: 16.88 kB / 321.2 MB, free: 3.555 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.005717, allocations: 145.4 kB / 321.3 MB, free: 3.391 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.258e-06/0.005727, allocations: 4.375 kB / 321.3 MB, free: 3.387 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.005737, allocations: 4.375 kB / 321.3 MB, free: 3.383 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002713/0.006008, allocations: 139 kB / 321.5 MB, free: 3.223 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.006017, allocations: 0 / 321.5 MB, free: 3.223 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.006026, allocations: 0 / 321.5 MB, free: 3.223 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.006031, allocations: 4 kB / 321.5 MB, free: 3.219 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.813e-05/0.006089, allocations: 27.92 kB / 321.5 MB, free: 3.191 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000323/0.006412, allocations: 258.5 kB / 321.8 MB, free: 2.887 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.784e-05/0.00651, allocations: 90.42 kB / 321.9 MB, free: 2.762 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.029e-05/0.00656, allocations: 47.42 kB / 321.9 MB, free: 2.703 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.006581, allocations: 0 / 321.9 MB, free: 2.703 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.006605, allocations: 46.5 kB / 321.9 MB, free: 2.648 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 2.926e-06/0.006608, allocations: 3.984 kB / 321.9 MB, free: 2.645 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002137/0.006821, allocations: 101.5 kB / 322 MB, free: 2.539 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.312e-05/0.006884, allocations: 132.5 kB / 322.2 MB, free: 2.379 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.828e-05/0.006983, allocations: 145.8 kB / 322.3 MB, free: 2.227 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.006993, allocations: 25.7 kB / 322.3 MB, free: 2.195 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.393e-05/0.007037, allocations: 92.58 kB / 322.4 MB, free: 2.102 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.635e-05/0.007053, allocations: 11.89 kB / 322.4 MB, free: 2.09 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.013e-05/0.007083, allocations: 21.7 kB / 322.5 MB, free: 2.062 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003353/0.007418, allocations: 318.8 kB / 322.8 MB, free: 1.742 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.942e-05/0.007448, allocations: 8 kB / 322.8 MB, free: 1.734 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.473e-05/0.007473, allocations: 21.64 kB / 322.8 MB, free: 1.707 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.131e-05/0.007524, allocations: 29.7 kB / 322.8 MB, free: 1.672 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.007526, allocations: 0 / 322.8 MB, free: 1.672 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.861e-05/0.007604, allocations: 65.64 kB / 322.9 MB, free: 1.602 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.007619, allocations: 7.984 kB / 322.9 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.007624, allocations: 0 / 322.9 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.007637, allocations: 0 / 322.9 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.351e-05/0.007701, allocations: 4 kB / 322.9 MB, free: 1.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.007705, allocations: 4 kB / 322.9 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.057e-05/0.007726, allocations: 4 kB / 322.9 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.007733, allocations: 4 kB / 322.9 MB, free: 1.578 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 6.278e-05/0.007796, allocations: 121.8 kB / 323 MB, free: 1.449 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.341e-05/0.00785, allocations: 61.64 kB / 323.1 MB, free: 1.383 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.868e-05/0.007878, allocations: 15.92 kB / 323.1 MB, free: 1.363 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.007881, allocations: 4 kB / 323.1 MB, free: 1.359 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.007886, allocations: 0 / 323.1 MB, free: 1.359 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.007889, allocations: 0 / 323.1 MB, free: 1.359 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001242/0.008013, allocations: 144.7 kB / 323.3 MB, free: 1.176 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.008015, allocations: 4 kB / 323.3 MB, free: 1.172 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.735e-05/0.008052, allocations: 11.98 kB / 323.3 MB, free: 1.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.008054, allocations: 4 kB / 323.3 MB, free: 1.156 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.008063, allocations: 4.062 kB / 323.3 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.008065, allocations: 8 kB / 323.3 MB, free: 1.145 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.008067, allocations: 7.938 kB / 323.3 MB, free: 1.137 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.008197, allocations: 190 kB / 323.5 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.571e-05/0.008232, allocations: 27.83 kB / 323.5 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/0.008243, allocations: 0 / 323.5 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.104e-05/0.008285, allocations: 4 kB / 323.5 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.591e-05/0.00831, allocations: 3.984 kB / 323.5 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.008315, allocations: 4 kB / 323.5 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.526e-05/0.00837, allocations: 122.2 kB / 323.6 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00837, allocations: 4 kB / 323.6 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001536/0.008524, allocations: 4 kB / 323.7 MB, free: 0.7617 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (6): * Single equations (assignments): 6 * 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.0002974/0.008822, allocations: 0.7188 MB / 324.4 MB, free: 8 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001099/0.008931, allocations: 35.91 kB / 324.4 MB, free: 15.97 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.008933, allocations: 0 / 324.4 MB, free: 15.97 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.349e-05/0.008956, allocations: 12.19 kB / 324.4 MB, free: 15.96 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.009254, allocations: 45.45 kB / 324.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009048/0.01016, allocations: 1.38 MB / 325.8 MB, free: 14.44 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.336e-05/0.01022, allocations: 83.53 kB / 325.9 MB, free: 14.33 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.899e-05/0.01025, allocations: 8.219 kB / 325.9 MB, free: 14.32 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.18e-05/0.01029, allocations: 16.5 kB / 325.9 MB, free: 14.31 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01029, allocations: 0 / 325.9 MB, free: 14.31 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01648/0.02677, allocations: 2.535 MB / 328.5 MB, free: 11.9 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.946/6.973, allocations: 14.69 kB / 328.5 MB, free: 11.89 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Hold_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Hold.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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.667633679695427]