Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.001906/0.001906, allocations: 111.1 kB / 20.44 MB, free: 1.34 MB / 14.72 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.002139/0.002139, allocations: 211.5 kB / 23.72 MB, free: 4.527 MB / 14.72 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 1.416/1.416, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002404/0.002404, allocations: 59.91 kB / 377.7 MB, free: 3.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3096, allocations: 53.37 MB / 431.1 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003334/0.313, allocations: 1.842 MB / 432.9 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001372/0.3143, allocations: 0.6546 MB / 433.6 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001505/0.3145, allocations: 11.94 kB / 433.6 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001439/0.3146, allocations: 15.8 kB / 433.6 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001298/0.3148, allocations: 31.72 kB / 433.6 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004002/0.3152, allocations: 111.7 kB / 433.8 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002001/0.3154, allocations: 147.5 kB / 433.9 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.3155, allocations: 49.83 kB / 434 MB, free: 3.809 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.3157, allocations: 63.7 kB / 434 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.19e-05/0.3158, allocations: 51.72 kB / 434.1 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.477e-05/0.3158, allocations: 8 kB / 434.1 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.088e-05/0.3158, allocations: 20 kB / 434.1 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.415e-05/0.3159, allocations: 35.84 kB / 434.1 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.59e-05/0.316, allocations: 47.67 kB / 434.2 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002575/0.3162, allocations: 151.7 kB / 434.3 MB, free: 3.441 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3162, allocations: 0 / 434.3 MB, free: 3.441 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3162, allocations: 0 / 434.3 MB, free: 3.441 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.3162, allocations: 0 / 434.3 MB, free: 3.441 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.000644/0.3169, allocations: 381.6 kB / 434.7 MB, free: 3.039 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.3169, allocations: 12.03 kB / 434.7 MB, free: 3.027 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.107e-05/0.317, allocations: 42.75 kB / 434.7 MB, free: 2.977 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001683/0.3171, allocations: 28.83 kB / 434.8 MB, free: 2.949 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003762/0.3175, allocations: 194.2 kB / 435 MB, free: 2.734 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.3175, allocations: 11.94 kB / 435 MB, free: 2.723 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.3176, allocations: 8 kB / 435 MB, free: 2.715 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006101/0.3182, allocations: 303.6 kB / 435.3 MB, free: 2.383 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/0.3182, allocations: 7.938 kB / 435.3 MB, free: 2.375 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.3182, allocations: 4 kB / 435.3 MB, free: 2.371 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.3182, allocations: 4 kB / 435.3 MB, free: 2.367 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000197/0.3184, allocations: 67.88 kB / 435.4 MB, free: 2.301 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000488/0.3189, allocations: 386.6 kB / 435.7 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004434/0.3193, allocations: 208.9 kB / 435.9 MB, free: 1.617 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001856/0.3195, allocations: 100.4 kB / 436 MB, free: 1.504 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/0.3196, allocations: 7.938 kB / 436 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.3196, allocations: 46.5 kB / 436.1 MB, free: 1.441 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.613e-06/0.3196, allocations: 0 / 436.1 MB, free: 1.441 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005527/0.3201, allocations: 217.7 kB / 436.3 MB, free: 1.223 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001461/0.3203, allocations: 196 kB / 436.5 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.3205, allocations: 191.1 kB / 436.7 MB, free: 0.793 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.3205, allocations: 26.08 kB / 436.7 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.329e-05/0.3206, allocations: 108.5 kB / 436.8 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.3206, allocations: 15.94 kB / 436.8 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.19e-05/0.3207, allocations: 41.66 kB / 436.9 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.3208, allocations: 322.8 kB / 437.2 MB, free: 268 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.289e-05/0.3209, allocations: 27.98 kB / 437.2 MB, free: 240 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002068/0.3211, allocations: 169 kB / 437.4 MB, free: 8 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002417/0.3213, allocations: 170.4 kB / 437.5 MB, free: 15.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.3213, allocations: 0 / 437.5 MB, free: 15.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002953/0.3216, allocations: 173.8 kB / 437.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.3216, allocations: 12.09 kB / 437.7 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.3217, allocations: 4 kB / 437.7 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.3217, allocations: 4 kB / 437.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.3218, allocations: 47.89 kB / 437.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.3218, allocations: 7.938 kB / 437.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.3219, allocations: 19.89 kB / 437.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/0.322, allocations: 8 kB / 437.8 MB, free: 15.51 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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 0.0001324/0.3221, allocations: 137.8 kB / 438 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002874/0.3224, allocations: 145.4 kB / 438.1 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.631e-05/0.3224, allocations: 25.39 kB / 438.1 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.3224, allocations: 4 kB / 438.1 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.3225, allocations: 3.938 kB / 438.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.3225, allocations: 4 kB / 438.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002859/0.3227, allocations: 180.6 kB / 438.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3228, allocations: 7.938 kB / 438.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001383/0.3229, allocations: 35.92 kB / 438.4 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.3229, allocations: 4 kB / 438.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.3229, allocations: 7.984 kB / 438.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.3229, allocations: 8.031 kB / 438.4 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3229, allocations: 3.938 kB / 438.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004293/0.3233, allocations: 361.1 kB / 438.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.935e-05/0.3234, allocations: 35.78 kB / 438.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.955e-05/0.3235, allocations: 4 kB / 438.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.3236, allocations: 15.98 kB / 438.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.338e-05/0.3236, allocations: 3.938 kB / 438.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.3236, allocations: 12 kB / 438.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001235/0.3238, allocations: 132.4 kB / 438.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3238, allocations: 0 / 438.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000347/0.3241, allocations: 28 kB / 439 MB, free: 14.29 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0009192/0.325, allocations: 0.9571 MB / 439.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002876/0.3253, allocations: 115.8 kB / 440 MB, free: 13.19 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.3253, allocations: 0 / 440 MB, free: 13.19 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.463e-05/0.3254, allocations: 15.92 kB / 440 MB, free: 13.17 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006669/0.326, allocations: 105 kB / 440.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002404/0.3284, allocations: 2.078 MB / 442.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.3286, allocations: 119.4 kB / 442.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.56e-05/0.3286, allocations: 17.66 kB / 442.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.954e-05/0.3287, allocations: 43.42 kB / 442.4 MB, free: 10.6 MB / 350.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3287, allocations: 0 / 442.4 MB, free: 10.6 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03135/0.3601, allocations: 4.265 MB / 446.7 MB, free: 6.496 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/10.93, allocations: 3.188 kB / 446.7 MB, free: 6.496 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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: 13.385175151983276]