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.00127/0.00127, allocations: 112.7 kB / 20.43 MB, free: 1.453 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.001436/0.001436, allocations: 214.7 kB / 23.74 MB, free: 4.66 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.41/1.41, allocations: 230.5 MB / 257.4 MB, free: 8.016 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 59.91 kB / 377.8 MB, free: 3.105 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2339, allocations: 53.41 MB / 431.2 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003412/0.2373, allocations: 1.884 MB / 433.1 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.2387, allocations: 0.7129 MB / 433.8 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/0.2388, allocations: 7.938 kB / 433.8 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001395/0.2389, allocations: 23.73 kB / 433.8 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001259/0.2391, allocations: 27.78 kB / 433.9 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004165/0.2395, allocations: 115.6 kB / 434 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002309/0.2397, allocations: 143.6 kB / 434.1 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.2399, allocations: 49.39 kB / 434.2 MB, free: 3.738 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001679/0.24, allocations: 63.7 kB / 434.2 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.2401, allocations: 55.66 kB / 434.3 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.822e-05/0.2402, allocations: 12 kB / 434.3 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.774e-05/0.2402, allocations: 16 kB / 434.3 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.559e-05/0.2403, allocations: 27.92 kB / 434.3 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.817e-05/0.2404, allocations: 75.47 kB / 434.4 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000272/0.2406, allocations: 143.8 kB / 434.5 MB, free: 3.355 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.2406, allocations: 0 / 434.5 MB, free: 3.355 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2406, allocations: 0 / 434.5 MB, free: 3.355 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.2406, allocations: 0 / 434.5 MB, free: 3.355 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.0006715/0.2413, allocations: 381.6 kB / 434.9 MB, free: 2.953 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.2414, allocations: 12.03 kB / 434.9 MB, free: 2.941 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.214e-05/0.2414, allocations: 42.73 kB / 435 MB, free: 2.891 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001639/0.2416, allocations: 32.78 kB / 435 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004063/0.242, allocations: 194.3 kB / 435.2 MB, free: 2.645 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.381e-05/0.242, allocations: 19.86 kB / 435.2 MB, free: 2.625 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.2421, allocations: 8 kB / 435.2 MB, free: 2.617 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006285/0.2427, allocations: 286 kB / 435.5 MB, free: 2.312 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.2427, allocations: 0 / 435.5 MB, free: 2.312 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.2427, allocations: 4 kB / 435.5 MB, free: 2.309 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.2427, allocations: 4 kB / 435.5 MB, free: 2.305 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002136/0.2429, allocations: 75.88 kB / 435.6 MB, free: 2.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005693/0.2435, allocations: 406.5 kB / 436 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004536/0.2439, allocations: 209 kB / 436.2 MB, free: 1.527 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001962/0.2441, allocations: 96.31 kB / 436.3 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.2442, allocations: 4 kB / 436.3 MB, free: 1.414 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.239e-05/0.2442, allocations: 46.5 kB / 436.3 MB, free: 1.359 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.322e-06/0.2442, allocations: 0 / 436.3 MB, free: 1.359 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.000587/0.2448, allocations: 221.3 kB / 436.5 MB, free: 1.137 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001412/0.2449, allocations: 196.3 kB / 436.7 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001901/0.2451, allocations: 183.1 kB / 436.9 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.423e-05/0.2452, allocations: 33.7 kB / 436.9 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.197e-05/0.2452, allocations: 100.5 kB / 437 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.2453, allocations: 15.94 kB / 437.1 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.861e-05/0.2453, allocations: 41.66 kB / 437.1 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.2455, allocations: 322.8 kB / 437.4 MB, free: 188 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.186e-05/0.2455, allocations: 31.92 kB / 437.4 MB, free: 156 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001666/0.2457, allocations: 135.4 kB / 437.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002351/0.246, allocations: 178.4 kB / 437.7 MB, free: 15.74 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.246, allocations: 0 / 437.7 MB, free: 15.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000296/0.2462, allocations: 173.3 kB / 437.9 MB, free: 15.56 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.2463, allocations: 8 kB / 437.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.2463, allocations: 4 kB / 437.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.2463, allocations: 11.92 kB / 437.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.2464, allocations: 35.98 kB / 438 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.55e-05/0.2464, allocations: 15.88 kB / 438 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.2465, allocations: 12.3 kB / 438 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.2466, allocations: 23.94 kB / 438 MB, free: 15.45 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.0001531/0.2467, allocations: 129.8 kB / 438.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002931/0.247, allocations: 141.7 kB / 438.3 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.629e-05/0.2471, allocations: 29.42 kB / 438.3 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.2471, allocations: 4 kB / 438.3 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.2471, allocations: 3.938 kB / 438.3 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.2471, allocations: 0 / 438.3 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003536/0.2475, allocations: 204.6 kB / 438.5 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.2475, allocations: 4 kB / 438.5 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001438/0.2476, allocations: 35.97 kB / 438.6 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.2476, allocations: 3.938 kB / 438.6 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.2476, allocations: 7.938 kB / 438.6 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.2476, allocations: 0 / 438.6 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/0.2476, allocations: 7.938 kB / 438.6 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004757/0.2481, allocations: 357.2 kB / 438.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.213e-05/0.2482, allocations: 39.83 kB / 439 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.806e-05/0.2482, allocations: 4 kB / 439 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.2484, allocations: 15.92 kB / 439 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.309e-05/0.2484, allocations: 11.94 kB / 439 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.2484, allocations: 11.98 kB / 439 MB, free: 14.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001224/0.2485, allocations: 128.4 kB / 439.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2485, allocations: 0 / 439.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003486/0.2489, allocations: 27.95 kB / 439.2 MB, free: 14.22 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.0009284/0.2498, allocations: 0.951 MB / 440.1 MB, free: 13.24 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002962/0.2501, allocations: 115.8 kB / 440.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.2501, allocations: 0 / 440.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.408e-05/0.2502, allocations: 15.98 kB / 440.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006648/0.2508, allocations: 104.6 kB / 440.4 MB, free: 13.01 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00246/0.2533, allocations: 2.083 MB / 442.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/0.2537, allocations: 0.732 MB / 443.2 MB, free: 9.973 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.531e-05/0.2538, allocations: 17.48 kB / 443.2 MB, free: 9.953 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.658e-05/0.2538, allocations: 39.42 kB / 443.2 MB, free: 9.914 MB / 350.1 MB Notification: Performance of SimCode: time 6.52e-07/0.2539, allocations: 0 / 443.2 MB, free: 9.914 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0305/0.2844, allocations: 3.72 MB / 446.9 MB, free: 6.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.01, allocations: 0.75 kB / 446.9 MB, free: 6.32 MB / 350.1 MB " [Timeout remaining time 649] (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: 13.339640764985234]