Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001694/0.001694, allocations: 105.1 kB / 21.22 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002127/0.002127, allocations: 218.9 kB / 24.52 MB, free: 3.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.383/1.383, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 43.92 kB / 378.5 MB, free: 2.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2467, allocations: 53.36 MB / 431.9 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003238/0.2499, allocations: 1.838 MB / 433.7 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001319/0.2513, allocations: 0.6576 MB / 434.4 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001272/0.2514, allocations: 11.88 kB / 434.4 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001649/0.2515, allocations: 23.8 kB / 434.4 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001382/0.2517, allocations: 27.73 kB / 434.4 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004231/0.2521, allocations: 107.8 kB / 434.5 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002239/0.2523, allocations: 151.5 kB / 434.7 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.2525, allocations: 47.98 kB / 434.7 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.2526, allocations: 59.78 kB / 434.8 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.676e-05/0.2527, allocations: 55.64 kB / 434.8 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.567e-05/0.2528, allocations: 8 kB / 434.8 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.767e-05/0.2528, allocations: 24 kB / 434.9 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.191e-05/0.2529, allocations: 27.86 kB / 434.9 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.65e-05/0.2529, allocations: 51.67 kB / 434.9 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002447/0.2532, allocations: 151.3 kB / 435.1 MB, free: 3.414 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2532, allocations: 0 / 435.1 MB, free: 3.414 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2532, allocations: 4 kB / 435.1 MB, free: 3.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.2532, allocations: 0 / 435.1 MB, free: 3.41 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.0006047/0.2538, allocations: 381.6 kB / 435.5 MB, free: 3.008 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.2538, allocations: 8.031 kB / 435.5 MB, free: 3 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.492e-05/0.2539, allocations: 4.375 kB / 435.5 MB, free: 2.996 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.53e-05/0.2539, allocations: 46.73 kB / 435.5 MB, free: 2.941 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/0.2541, allocations: 20.84 kB / 435.5 MB, free: 2.922 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003487/0.2544, allocations: 201.8 kB / 435.7 MB, free: 2.699 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.2544, allocations: 4 kB / 435.7 MB, free: 2.695 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.2544, allocations: 12 kB / 435.8 MB, free: 2.684 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006172/0.2551, allocations: 304.1 kB / 436.1 MB, free: 2.352 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.2551, allocations: 0 / 436.1 MB, free: 2.352 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.2551, allocations: 7.984 kB / 436.1 MB, free: 2.344 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.729e-06/0.2551, allocations: 0 / 436.1 MB, free: 2.344 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000203/0.2553, allocations: 75.83 kB / 436.1 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000527/0.2558, allocations: 386.5 kB / 436.5 MB, free: 1.836 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000486/0.2563, allocations: 212.9 kB / 436.7 MB, free: 1.582 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002011/0.2565, allocations: 108.3 kB / 436.8 MB, free: 1.461 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.2565, allocations: 4 kB / 436.8 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.2566, allocations: 42.5 kB / 436.9 MB, free: 1.406 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.503e-06/0.2566, allocations: 3.938 kB / 436.9 MB, free: 1.402 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005646/0.2571, allocations: 221.6 kB / 437.1 MB, free: 1.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001641/0.2573, allocations: 203.8 kB / 437.3 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001955/0.2575, allocations: 179.2 kB / 437.5 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.2575, allocations: 29.7 kB / 437.5 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.894e-05/0.2576, allocations: 104.5 kB / 437.6 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.894e-05/0.2576, allocations: 15.94 kB / 437.6 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.837e-05/0.2577, allocations: 37.66 kB / 437.7 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.2579, allocations: 327.2 kB / 438 MB, free: 228 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.74e-05/0.2579, allocations: 27.98 kB / 438 MB, free: 200 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002008/0.2581, allocations: 164.4 kB / 438.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002383/0.2584, allocations: 174.4 kB / 438.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.2584, allocations: 3.938 kB / 438.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002947/0.2587, allocations: 177.2 kB / 438.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.2587, allocations: 8 kB / 438.5 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.2587, allocations: 4 kB / 438.5 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.2587, allocations: 4.531 kB / 438.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.2588, allocations: 51.84 kB / 438.6 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.2589, allocations: 8 kB / 438.6 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.259, allocations: 19.89 kB / 438.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.259, allocations: 8 kB / 438.6 MB, free: 15.47 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.0001311/0.2591, allocations: 137.8 kB / 438.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002766/0.2594, allocations: 137.5 kB / 438.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.486e-05/0.2594, allocations: 25.39 kB / 438.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/0.2594, allocations: 7.938 kB / 438.9 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.2594, allocations: 4.031 kB / 438.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.2595, allocations: 4 kB / 438.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002747/0.2597, allocations: 176.6 kB / 439.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.2597, allocations: 0 / 439.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.2599, allocations: 39.91 kB / 439.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.2599, allocations: 7.938 kB / 439.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.2599, allocations: 4 kB / 439.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.804e-06/0.2599, allocations: 7.938 kB / 439.1 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.2599, allocations: 0 / 439.1 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000431/0.2603, allocations: 365.1 kB / 439.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.2605, allocations: 31.78 kB / 439.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.011e-05/0.2605, allocations: 11.94 kB / 439.5 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.2606, allocations: 19.92 kB / 439.6 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.138e-05/0.2607, allocations: 0 / 439.6 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.2607, allocations: 8 kB / 439.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001175/0.2608, allocations: 132.4 kB / 439.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2608, allocations: 0 / 439.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003188/0.2611, allocations: 24 kB / 439.7 MB, free: 14.26 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.0009179/0.262, allocations: 0.9551 MB / 440.7 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003023/0.2623, allocations: 120.8 kB / 440.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2623, allocations: 0 / 440.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.684e-05/0.2624, allocations: 15.92 kB / 440.8 MB, free: 13.14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006378/0.263, allocations: 103.8 kB / 440.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002321/0.2654, allocations: 2.08 MB / 443 MB, free: 10.76 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.2655, allocations: 115.4 kB / 443.1 MB, free: 10.63 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.182e-05/0.2655, allocations: 21.48 kB / 443.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.083e-05/0.2656, allocations: 43.42 kB / 443.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2656, allocations: 0 / 443.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02434/0.29, allocations: 3.898 MB / 447.1 MB, free: 6.852 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/10.92, allocations: 9.703 kB / 447.1 MB, free: 6.848 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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.344771135016344]