Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.001226/0.001226, allocations: 108.6 kB / 21.22 MB, free: 0.7305 MB / 14.72 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.001355/0.001355, allocations: 191.5 kB / 24.51 MB, free: 4.086 MB / 14.72 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 1.369/1.369, allocations: 225.6 MB / 253.3 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] 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.HoldWithDAeffects2,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 47.92 kB / 371.2 MB, free: 9.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.2488, allocations: 52.19 MB / 423.4 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003344/0.2521, allocations: 1.879 MB / 425.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.2532, allocations: 0.6313 MB / 425.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.2533, allocations: 15.81 kB / 426 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001445/0.2535, allocations: 19.8 kB / 426 MB, free: 12.03 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001133/0.2536, allocations: 23.8 kB / 426 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003708/0.254, allocations: 107.6 kB / 426.1 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002041/0.2542, allocations: 139.6 kB / 426.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.2543, allocations: 37.92 kB / 426.3 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.2544, allocations: 63.7 kB / 426.3 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.447e-05/0.2545, allocations: 47.72 kB / 426.4 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/0.2545, allocations: 12 kB / 426.4 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.065e-05/0.2546, allocations: 12 kB / 426.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.88e-05/0.2546, allocations: 35.84 kB / 426.4 MB, free: 11.56 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.964e-05/0.2547, allocations: 63.61 kB / 426.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.2549, allocations: 152.1 kB / 426.7 MB, free: 11.35 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2549, allocations: 0 / 426.7 MB, free: 11.35 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2549, allocations: 0 / 426.7 MB, free: 11.35 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.2549, allocations: 0 / 426.7 MB, free: 11.35 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.000595/0.2555, allocations: 377.7 kB / 427 MB, free: 10.95 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.2556, allocations: 16.03 kB / 427 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.729e-05/0.2556, allocations: 384 / 427 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.872e-05/0.2556, allocations: 42.69 kB / 427.1 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.784e-05/0.2557, allocations: 20.8 kB / 427.1 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003374/0.256, allocations: 187.6 kB / 427.3 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.256, allocations: 8 kB / 427.3 MB, free: 10.65 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.2561, allocations: 15.98 kB / 427.3 MB, free: 10.63 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005917/0.2566, allocations: 288.1 kB / 427.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.2567, allocations: 0 / 427.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.2567, allocations: 4 kB / 427.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.2567, allocations: 4 kB / 427.6 MB, free: 10.31 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002134/0.2569, allocations: 71.88 kB / 427.7 MB, free: 10.24 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005219/0.2574, allocations: 402.5 kB / 428.1 MB, free: 9.793 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004692/0.2579, allocations: 216.9 kB / 428.3 MB, free: 9.535 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001998/0.2581, allocations: 100.2 kB / 428.4 MB, free: 9.422 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.2581, allocations: 8 kB / 428.4 MB, free: 9.414 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.432e-05/0.2581, allocations: 38.56 kB / 428.4 MB, free: 9.367 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.382e-06/0.2581, allocations: 0 / 428.4 MB, free: 9.367 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005674/0.2587, allocations: 217.7 kB / 428.6 MB, free: 9.148 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001432/0.2588, allocations: 203.7 kB / 428.8 MB, free: 8.906 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.259, allocations: 179.2 kB / 429 MB, free: 8.723 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.2591, allocations: 25.7 kB / 429 MB, free: 8.691 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.139e-05/0.2591, allocations: 104.5 kB / 429.1 MB, free: 8.582 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.511e-05/0.2592, allocations: 23.83 kB / 429.2 MB, free: 8.559 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.8e-05/0.2592, allocations: 41.8 kB / 429.2 MB, free: 8.512 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.2594, allocations: 322.8 kB / 429.5 MB, free: 8.188 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.307e-05/0.2594, allocations: 31.98 kB / 429.5 MB, free: 8.156 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001622/0.2596, allocations: 142 kB / 429.7 MB, free: 7.965 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002238/0.2598, allocations: 162.4 kB / 429.8 MB, free: 7.754 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.2598, allocations: 4 kB / 429.8 MB, free: 7.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002971/0.2601, allocations: 177.2 kB / 430 MB, free: 7.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.2601, allocations: 8 kB / 430 MB, free: 7.562 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.2601, allocations: 4 kB / 430 MB, free: 7.559 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.2602, allocations: 4 kB / 430 MB, free: 7.555 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.2603, allocations: 40.39 kB / 430.1 MB, free: 7.516 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.2603, allocations: 11.98 kB / 430.1 MB, free: 7.504 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.2604, allocations: 19.89 kB / 430.1 MB, free: 7.484 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.2604, allocations: 8 kB / 430.1 MB, free: 7.477 MB / 334.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.0001304/0.2605, allocations: 137.8 kB / 430.2 MB, free: 7.332 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002923/0.2608, allocations: 141.6 kB / 430.4 MB, free: 7.188 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.736e-05/0.2609, allocations: 25.39 kB / 430.4 MB, free: 7.16 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.2609, allocations: 11.97 kB / 430.4 MB, free: 7.148 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2609, allocations: 7.969 kB / 430.4 MB, free: 7.141 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.2609, allocations: 4 kB / 430.4 MB, free: 7.137 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002816/0.2612, allocations: 184.6 kB / 430.6 MB, free: 6.914 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.2612, allocations: 3.984 kB / 430.6 MB, free: 6.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000148/0.2613, allocations: 35.98 kB / 430.6 MB, free: 6.875 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.2614, allocations: 4 kB / 430.7 MB, free: 6.871 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.2614, allocations: 0 / 430.7 MB, free: 6.871 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.428e-06/0.2614, allocations: 11.92 kB / 430.7 MB, free: 6.859 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2614, allocations: 3.938 kB / 430.7 MB, free: 6.855 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004329/0.2618, allocations: 360.4 kB / 431 MB, free: 6.48 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.618e-05/0.2619, allocations: 47.75 kB / 431.1 MB, free: 6.434 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.2619, allocations: 4 kB / 431.1 MB, free: 6.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.2621, allocations: 19.92 kB / 431.1 MB, free: 6.41 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.448e-05/0.2621, allocations: 4 kB / 431.1 MB, free: 6.406 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.2621, allocations: 4 kB / 431.1 MB, free: 6.402 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001103/0.2622, allocations: 137.1 kB / 431.2 MB, free: 6.27 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2622, allocations: 0 / 431.2 MB, free: 6.27 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000327/0.2625, allocations: 24 kB / 431.3 MB, free: 6.246 MB / 334.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.0008946/0.2634, allocations: 0.9607 MB / 432.2 MB, free: 5.25 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000277/0.2637, allocations: 115.7 kB / 432.3 MB, free: 5.137 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2637, allocations: 0 / 432.3 MB, free: 5.137 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.45e-05/0.2637, allocations: 13.05 kB / 432.3 MB, free: 5.125 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006346/0.2644, allocations: 113.5 kB / 432.5 MB, free: 5.016 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002311/0.2667, allocations: 2.08 MB / 434.5 MB, free: 2.734 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/0.2671, allocations: 0.7319 MB / 435.3 MB, free: 1.977 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.545e-05/0.2671, allocations: 13.48 kB / 435.3 MB, free: 1.961 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.255e-05/0.2672, allocations: 39.42 kB / 435.3 MB, free: 1.926 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2672, allocations: 0 / 435.3 MB, free: 1.926 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02343/0.2906, allocations: 3.72 MB / 439 MB, free: 14.38 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/10.91, allocations: 11.8 kB / 439 MB, free: 14.36 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.312925435020588]