Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.001726/0.001726, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002201/0.002201, allocations: 213.5 kB / 24.52 MB, free: 3.91 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.46/1.46, allocations: 230.5 MB / 258.2 MB, free: 7.801 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.HoldWithDAeffects2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 59.89 kB / 378.5 MB, free: 2.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3212, allocations: 53.42 MB / 431.9 MB, free: 6.484 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.00498/0.3262, allocations: 1.83 MB / 433.8 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001709/0.3279, allocations: 0.6585 MB / 434.4 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002375/0.3281, allocations: 7.938 kB / 434.4 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002007/0.3283, allocations: 23.73 kB / 434.4 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002065/0.3285, allocations: 27.78 kB / 434.5 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005455/0.3291, allocations: 107.7 kB / 434.6 MB, free: 3.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002672/0.3293, allocations: 147.5 kB / 434.7 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001773/0.3295, allocations: 44.02 kB / 434.8 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002166/0.3297, allocations: 71.7 kB / 434.8 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.3299, allocations: 55.7 kB / 434.9 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.929e-05/0.3299, allocations: 8 kB / 434.9 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.098e-05/0.3299, allocations: 16 kB / 434.9 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.555e-05/0.33, allocations: 35.84 kB / 434.9 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.039e-05/0.3301, allocations: 51.61 kB / 435 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003266/0.3304, allocations: 147.3 kB / 435.1 MB, free: 3.254 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.3304, allocations: 0 / 435.1 MB, free: 3.254 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3304, allocations: 0 / 435.1 MB, free: 3.254 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.814e-06/0.3304, allocations: 0 / 435.1 MB, free: 3.254 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.0007946/0.3312, allocations: 385.6 kB / 435.5 MB, free: 2.848 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.3313, allocations: 12.03 kB / 435.5 MB, free: 2.836 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.028e-05/0.3313, allocations: 384 / 435.5 MB, free: 2.836 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.587e-05/0.3314, allocations: 50.67 kB / 435.6 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001925/0.3316, allocations: 28.83 kB / 435.6 MB, free: 2.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004639/0.332, allocations: 193.8 kB / 435.8 MB, free: 2.535 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.332, allocations: 8 kB / 435.8 MB, free: 2.527 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.3321, allocations: 8 kB / 435.8 MB, free: 2.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007185/0.3328, allocations: 311.7 kB / 436.1 MB, free: 2.184 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.3328, allocations: 0 / 436.1 MB, free: 2.184 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.3328, allocations: 0 / 436.1 MB, free: 2.184 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.3328, allocations: 8 kB / 436.1 MB, free: 2.176 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002222/0.333, allocations: 75.88 kB / 436.2 MB, free: 2.102 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005861/0.3336, allocations: 382.5 kB / 436.6 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004954/0.3341, allocations: 209 kB / 436.8 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002072/0.3343, allocations: 104.3 kB / 436.9 MB, free: 1.305 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.993e-05/0.3344, allocations: 0 / 436.9 MB, free: 1.305 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.404e-05/0.3344, allocations: 46.48 kB / 436.9 MB, free: 1.25 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.683e-06/0.3344, allocations: 4 kB / 436.9 MB, free: 1.246 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006123/0.335, allocations: 229.7 kB / 437.1 MB, free: 1.016 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001503/0.3352, allocations: 199.8 kB / 437.3 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/0.3354, allocations: 179.2 kB / 437.5 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.3354, allocations: 25.7 kB / 437.5 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.17e-05/0.3355, allocations: 108.5 kB / 437.6 MB, free: 460 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/0.3355, allocations: 11.95 kB / 437.7 MB, free: 448 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.047e-05/0.3356, allocations: 37.66 kB / 437.7 MB, free: 404 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.3358, allocations: 326.8 kB / 438 MB, free: 68 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.385e-05/0.3358, allocations: 31.84 kB / 438 MB, free: 36 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/0.336, allocations: 161.2 kB / 438.2 MB, free: 15.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002602/0.3363, allocations: 178.4 kB / 438.4 MB, free: 15.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.3363, allocations: 4 kB / 438.4 MB, free: 15.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003261/0.3366, allocations: 177.2 kB / 438.6 MB, free: 15.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.3366, allocations: 8 kB / 438.6 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.3366, allocations: 7.938 kB / 438.6 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.3367, allocations: 4 kB / 438.6 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.3368, allocations: 35.92 kB / 438.6 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.409e-05/0.3368, allocations: 7.938 kB / 438.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.3369, allocations: 24.34 kB / 438.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.825e-05/0.3369, allocations: 15.98 kB / 438.7 MB, free: 15.3 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.0001446/0.3371, allocations: 133.8 kB / 438.8 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002987/0.3374, allocations: 141.5 kB / 438.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.065e-05/0.3375, allocations: 29.41 kB / 439 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.3375, allocations: 3.938 kB / 439 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-05/0.3375, allocations: 7.984 kB / 439 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.3375, allocations: 0 / 439 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002821/0.3378, allocations: 172.6 kB / 439.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.3378, allocations: 4.031 kB / 439.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001485/0.3379, allocations: 43.91 kB / 439.2 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.3379, allocations: 0 / 439.2 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.3379, allocations: 11.94 kB / 439.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.3379, allocations: 3.938 kB / 439.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.3379, allocations: 4 kB / 439.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004486/0.3384, allocations: 353.2 kB / 439.5 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.15e-05/0.3385, allocations: 43.77 kB / 439.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.33e-05/0.3385, allocations: 11.94 kB / 439.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.3387, allocations: 15.92 kB / 439.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-05/0.3387, allocations: 4 kB / 439.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.3387, allocations: 4 kB / 439.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001224/0.3388, allocations: 136.4 kB / 439.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3388, allocations: 0 / 439.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003332/0.3392, allocations: 20 kB / 439.8 MB, free: 14.1 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.0009501/0.3401, allocations: 0.9587 MB / 440.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003008/0.3404, allocations: 112.8 kB / 440.8 MB, free: 13 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.3404, allocations: 0 / 440.8 MB, free: 13 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.781e-05/0.3405, allocations: 16.11 kB / 440.9 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006719/0.3411, allocations: 103.8 kB / 441 MB, free: 12.88 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002563/0.3437, allocations: 2.082 MB / 443 MB, free: 10.6 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001501/0.3439, allocations: 115.4 kB / 443.2 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.448e-05/0.3439, allocations: 21.7 kB / 443.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.729e-05/0.344, allocations: 47.42 kB / 443.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.344, allocations: 0 / 443.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02654/0.3706, allocations: 3.9 MB / 447.1 MB, free: 6.652 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.5, allocations: 8.062 kB / 447.1 MB, free: 6.645 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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: 14.124431457021274]