Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.001767/0.001767, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.002148/0.002148, allocations: 207.5 kB / 23.72 MB, free: 4.391 MB / 14.72 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 1.456/1.456, allocations: 230.5 MB / 257.4 MB, free: 7.75 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 59.91 kB / 377.7 MB, free: 2.793 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3275, allocations: 53.41 MB / 431.2 MB, free: 6.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003458/0.331, allocations: 1.838 MB / 433 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.3324, allocations: 0.6546 MB / 433.6 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001307/0.3325, allocations: 7.938 kB / 433.7 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001473/0.3327, allocations: 23.73 kB / 433.7 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001343/0.3328, allocations: 23.8 kB / 433.7 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004134/0.3332, allocations: 111.7 kB / 433.8 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002166/0.3334, allocations: 143.5 kB / 434 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.3336, allocations: 49.88 kB / 434 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001566/0.3338, allocations: 67.72 kB / 434.1 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.036e-05/0.3338, allocations: 47.7 kB / 434.1 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.016e-05/0.3339, allocations: 8 kB / 434.1 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.995e-05/0.3339, allocations: 12 kB / 434.1 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.402e-05/0.334, allocations: 35.86 kB / 434.2 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.911e-05/0.334, allocations: 47.67 kB / 434.2 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002612/0.3343, allocations: 157 kB / 434.4 MB, free: 3.215 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.3343, allocations: 3.938 kB / 434.4 MB, free: 3.211 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.3343, allocations: 0 / 434.4 MB, free: 3.211 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.3343, allocations: 0 / 434.4 MB, free: 3.211 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.0006299/0.335, allocations: 381.6 kB / 434.7 MB, free: 2.809 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.335, allocations: 15.98 kB / 434.8 MB, free: 2.793 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.046e-05/0.335, allocations: 34.75 kB / 434.8 MB, free: 2.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001637/0.3352, allocations: 36.83 kB / 434.8 MB, free: 2.715 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003663/0.3356, allocations: 194.2 kB / 435 MB, free: 2.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/0.3356, allocations: 11.94 kB / 435 MB, free: 2.488 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.3356, allocations: 8 kB / 435 MB, free: 2.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006187/0.3362, allocations: 305.5 kB / 435.3 MB, free: 2.148 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.3362, allocations: 0 / 435.3 MB, free: 2.148 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.3363, allocations: 4 kB / 435.3 MB, free: 2.145 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.3363, allocations: 0 / 435.3 MB, free: 2.145 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002067/0.3365, allocations: 75.83 kB / 435.4 MB, free: 2.07 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005192/0.337, allocations: 386.6 kB / 435.8 MB, free: 1.637 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004573/0.3375, allocations: 213 kB / 436 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001935/0.3376, allocations: 100.3 kB / 436.1 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.897e-05/0.3377, allocations: 4 kB / 436.1 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.001e-05/0.3377, allocations: 46.44 kB / 436.1 MB, free: 1.211 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.423e-06/0.3377, allocations: 4 kB / 436.2 MB, free: 1.207 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005586/0.3383, allocations: 213.7 kB / 436.4 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001501/0.3384, allocations: 199.9 kB / 436.6 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002055/0.3386, allocations: 179.2 kB / 436.7 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/0.3387, allocations: 29.7 kB / 436.8 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.687e-05/0.3387, allocations: 108.1 kB / 436.9 MB, free: 436 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.3388, allocations: 16.31 kB / 436.9 MB, free: 420 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.424e-05/0.3388, allocations: 33.7 kB / 436.9 MB, free: 380 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.339, allocations: 322.8 kB / 437.2 MB, free: 48 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.032e-05/0.339, allocations: 27.98 kB / 437.3 MB, free: 20 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.3392, allocations: 162.6 kB / 437.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002128/0.3394, allocations: 153.6 kB / 437.6 MB, free: 15.6 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3395, allocations: 4 kB / 437.6 MB, free: 15.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002718/0.3397, allocations: 165.1 kB / 437.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.531e-05/0.3398, allocations: 11.94 kB / 437.7 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.966e-06/0.3398, allocations: 4.5 kB / 437.7 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.3398, allocations: 11.94 kB / 437.8 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.3399, allocations: 31.98 kB / 437.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.3399, allocations: 11.88 kB / 437.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.34, allocations: 23.88 kB / 437.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.34, allocations: 8 kB / 437.8 MB, free: 15.33 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (17): * Single equations (assignments): 17 * 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.0001194/0.3402, allocations: 129.8 kB / 438 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002822/0.3404, allocations: 145.4 kB / 438.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.229e-05/0.3405, allocations: 17.41 kB / 438.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.3405, allocations: 8.031 kB / 438.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3405, allocations: 0 / 438.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.3405, allocations: 7.984 kB / 438.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000269/0.3408, allocations: 172.6 kB / 438.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3408, allocations: 0 / 438.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/0.3409, allocations: 43.91 kB / 438.3 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.3409, allocations: 3.938 kB / 438.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.3409, allocations: 4 kB / 438.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.3409, allocations: 0 / 438.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.3409, allocations: 8 kB / 438.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004173/0.3414, allocations: 357.2 kB / 438.7 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.31e-05/0.3414, allocations: 35.83 kB / 438.7 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.3415, allocations: 96 / 438.7 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.3416, allocations: 19.92 kB / 438.8 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.055e-05/0.3416, allocations: 0 / 438.8 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.3416, allocations: 11.98 kB / 438.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001099/0.3418, allocations: 128.4 kB / 438.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3418, allocations: 0 / 438.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003173/0.3421, allocations: 24 kB / 438.9 MB, free: 14.15 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: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0007319/0.3428, allocations: 0.8957 MB / 439.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002859/0.3431, allocations: 112.7 kB / 439.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3431, allocations: 4 kB / 439.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.285e-05/0.3431, allocations: 11.92 kB / 439.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000665/0.3438, allocations: 103 kB / 440 MB, free: 13 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00301/0.3468, allocations: 2.152 MB / 442.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.3469, allocations: 110.8 kB / 442.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.748e-05/0.347, allocations: 17.42 kB / 442.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.084e-05/0.3471, allocations: 43.42 kB / 442.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3471, allocations: 0 / 442.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03036/0.3774, allocations: 4.101 MB / 446.5 MB, free: 6.484 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.35, allocations: 7.797 kB / 446.5 MB, free: 6.477 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.98486e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable sample1.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.csv. Warning: Get data of variable sample1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.csv failed! Error: Could not read variable hold1.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.csv. Warning: Get data of variable hold1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.881475734058768]