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.001259/0.001259, allocations: 101.5 kB / 21.21 MB, free: 0.6289 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.001335/0.001335, allocations: 190.7 kB / 24.49 MB, free: 3.941 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.7 MB / 253.3 MB, free: 12.82 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.001611/0.001611, allocations: 43.94 kB / 371.2 MB, free: 9.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2525, allocations: 52.18 MB / 423.4 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003208/0.2557, allocations: 1.829 MB / 425.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.2568, allocations: 0.5768 MB / 425.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/0.2569, allocations: 15.81 kB / 425.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001329/0.257, allocations: 15.8 kB / 425.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001276/0.2572, allocations: 23.8 kB / 425.8 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003929/0.2575, allocations: 115.6 kB / 425.9 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002196/0.2578, allocations: 143.5 kB / 426.1 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.2579, allocations: 44.3 kB / 426.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.258, allocations: 59.72 kB / 426.2 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.041e-05/0.2581, allocations: 51.7 kB / 426.2 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.124e-05/0.2581, allocations: 8 kB / 426.2 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.338e-05/0.2582, allocations: 12 kB / 426.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.154e-05/0.2582, allocations: 27.91 kB / 426.3 MB, free: 11.63 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.883e-05/0.2583, allocations: 47.67 kB / 426.3 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.2585, allocations: 151.2 kB / 426.5 MB, free: 11.43 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.2585, allocations: 4 kB / 426.5 MB, free: 11.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2585, allocations: 0 / 426.5 MB, free: 11.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.2585, allocations: 0 / 426.5 MB, free: 11.43 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.0006193/0.2592, allocations: 377.7 kB / 426.8 MB, free: 11.03 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.2592, allocations: 11.97 kB / 426.9 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.091e-05/0.2592, allocations: 4.375 kB / 426.9 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.26e-05/0.2593, allocations: 42.75 kB / 426.9 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.176e-05/0.2593, allocations: 24.78 kB / 426.9 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002924/0.2596, allocations: 187.7 kB / 427.1 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.2596, allocations: 4 kB / 427.1 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.2596, allocations: 8 kB / 427.1 MB, free: 10.72 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006357/0.2603, allocations: 325.3 kB / 427.4 MB, free: 10.37 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.2603, allocations: 3.938 kB / 427.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.2603, allocations: 0 / 427.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/0.2603, allocations: 4 kB / 427.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002043/0.2605, allocations: 71.89 kB / 427.5 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004898/0.261, allocations: 382.5 kB / 427.9 MB, free: 9.859 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004522/0.2615, allocations: 217 kB / 428.1 MB, free: 9.602 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001999/0.2617, allocations: 112.2 kB / 428.2 MB, free: 9.477 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.2617, allocations: 4 kB / 428.2 MB, free: 9.473 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.2617, allocations: 38.56 kB / 428.3 MB, free: 9.426 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.864e-06/0.2617, allocations: 0 / 428.3 MB, free: 9.426 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005635/0.2623, allocations: 221.3 kB / 428.5 MB, free: 9.203 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001378/0.2624, allocations: 199.8 kB / 428.7 MB, free: 8.965 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.2626, allocations: 179.2 kB / 428.8 MB, free: 8.781 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.2626, allocations: 29.7 kB / 428.9 MB, free: 8.746 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.828e-05/0.2627, allocations: 100.5 kB / 429 MB, free: 8.641 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.204e-05/0.2627, allocations: 19.89 kB / 429 MB, free: 8.621 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.03e-05/0.2628, allocations: 37.7 kB / 429 MB, free: 8.578 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.2629, allocations: 327.2 kB / 429.3 MB, free: 8.25 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.681e-05/0.263, allocations: 27.98 kB / 429.4 MB, free: 8.223 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/0.2632, allocations: 167.7 kB / 429.5 MB, free: 8 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002274/0.2634, allocations: 166.4 kB / 429.7 MB, free: 7.785 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.2634, allocations: 0 / 429.7 MB, free: 7.785 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003002/0.2637, allocations: 181.2 kB / 429.9 MB, free: 7.602 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.2637, allocations: 8 kB / 429.9 MB, free: 7.594 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.2637, allocations: 4 kB / 429.9 MB, free: 7.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.2637, allocations: 4.531 kB / 429.9 MB, free: 7.586 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.2639, allocations: 47.84 kB / 429.9 MB, free: 7.539 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.2639, allocations: 8 kB / 429.9 MB, free: 7.531 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.264, allocations: 19.89 kB / 430 MB, free: 7.512 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.264, allocations: 8 kB / 430 MB, free: 7.504 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.0001358/0.2641, allocations: 141.7 kB / 430.1 MB, free: 7.355 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002859/0.2644, allocations: 141.4 kB / 430.2 MB, free: 7.211 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.059e-05/0.2645, allocations: 21.39 kB / 430.3 MB, free: 7.188 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.2645, allocations: 7.938 kB / 430.3 MB, free: 7.18 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.2645, allocations: 4.031 kB / 430.3 MB, free: 7.176 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.2645, allocations: 0 / 430.3 MB, free: 7.176 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002703/0.2648, allocations: 180.6 kB / 430.5 MB, free: 6.957 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.2648, allocations: 7.938 kB / 430.5 MB, free: 6.949 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001342/0.2649, allocations: 31.98 kB / 430.5 MB, free: 6.918 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.2649, allocations: 0 / 430.5 MB, free: 6.918 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.2649, allocations: 7.984 kB / 430.5 MB, free: 6.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.2649, allocations: 3.938 kB / 430.5 MB, free: 6.906 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2649, allocations: 4 kB / 430.5 MB, free: 6.902 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004174/0.2653, allocations: 361.1 kB / 430.9 MB, free: 6.523 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.506e-05/0.2654, allocations: 39.77 kB / 430.9 MB, free: 6.484 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.886e-05/0.2654, allocations: 8 kB / 430.9 MB, free: 6.477 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.2656, allocations: 11.92 kB / 430.9 MB, free: 6.465 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.581e-05/0.2656, allocations: 8 kB / 430.9 MB, free: 6.457 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.2656, allocations: 7.938 kB / 430.9 MB, free: 6.449 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001137/0.2657, allocations: 141.1 kB / 431.1 MB, free: 6.312 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2657, allocations: 0 / 431.1 MB, free: 6.312 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003223/0.2661, allocations: 20 kB / 431.1 MB, free: 6.293 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.0008865/0.2669, allocations: 0.9635 MB / 432.1 MB, free: 5.297 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002938/0.2672, allocations: 120.8 kB / 432.2 MB, free: 5.18 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2672, allocations: 0 / 432.2 MB, free: 5.18 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.608e-05/0.2673, allocations: 15.98 kB / 432.2 MB, free: 5.164 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006346/0.2679, allocations: 106.1 kB / 432.3 MB, free: 5.062 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002255/0.2702, allocations: 2.075 MB / 434.4 MB, free: 2.781 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/0.2703, allocations: 115.3 kB / 434.5 MB, free: 2.652 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.459e-05/0.2704, allocations: 17.48 kB / 434.5 MB, free: 2.633 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.806e-05/0.2704, allocations: 43.42 kB / 434.5 MB, free: 2.59 MB / 334.1 MB Notification: Performance of SimCode: time 1.082e-06/0.2704, allocations: 0 / 434.5 MB, free: 2.59 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02387/0.2943, allocations: 3.866 MB / 438.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/10.96, allocations: 8.062 kB / 438.4 MB, free: 14.9 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.37802920001559]