Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.002129/0.002129, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002515/0.002515, allocations: 212.7 kB / 23.74 MB, free: 4.656 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.597/1.597, allocations: 230.6 MB / 257.5 MB, free: 8 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.HoldWithDAeffects1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001666/0.001666, allocations: 47.94 kB / 377.8 MB, free: 3.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.3663, allocations: 53.36 MB / 431.1 MB, free: 6.828 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003431/0.3697, allocations: 1.884 MB / 433 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001413/0.3711, allocations: 0.7168 MB / 433.7 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001444/0.3713, allocations: 7.938 kB / 433.8 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001685/0.3715, allocations: 19.8 kB / 433.8 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001506/0.3716, allocations: 31.72 kB / 433.8 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000445/0.372, allocations: 114.9 kB / 433.9 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002285/0.3723, allocations: 147.5 kB / 434.1 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.3724, allocations: 41.91 kB / 434.1 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001917/0.3726, allocations: 67.7 kB / 434.2 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.3728, allocations: 55.64 kB / 434.2 MB, free: 3.738 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.945e-05/0.3728, allocations: 12 kB / 434.2 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.525e-05/0.3729, allocations: 16 kB / 434.3 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.649e-05/0.373, allocations: 27.92 kB / 434.3 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.214e-05/0.373, allocations: 71.53 kB / 434.3 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002638/0.3733, allocations: 141 kB / 434.5 MB, free: 3.477 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.3733, allocations: 4 kB / 434.5 MB, free: 3.473 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.3733, allocations: 0 / 434.5 MB, free: 3.473 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.782e-06/0.3733, allocations: 0 / 434.5 MB, free: 3.473 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.0006773/0.374, allocations: 385.6 kB / 434.9 MB, free: 3.066 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.374, allocations: 12.03 kB / 434.9 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.869e-05/0.3741, allocations: 38.73 kB / 434.9 MB, free: 3.008 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001599/0.3742, allocations: 32.83 kB / 434.9 MB, free: 2.977 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003859/0.3746, allocations: 194.2 kB / 435.1 MB, free: 2.762 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.3746, allocations: 11.94 kB / 435.1 MB, free: 2.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.3747, allocations: 4 kB / 435.2 MB, free: 2.746 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005911/0.3753, allocations: 276.5 kB / 435.4 MB, free: 2.449 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.3753, allocations: 3.938 kB / 435.4 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.3753, allocations: 4 kB / 435.4 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.3753, allocations: 7.938 kB / 435.4 MB, free: 2.434 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002117/0.3755, allocations: 79.81 kB / 435.5 MB, free: 2.355 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005267/0.376, allocations: 394.6 kB / 435.9 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004384/0.3765, allocations: 212.9 kB / 436.1 MB, free: 1.66 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/0.3767, allocations: 104.3 kB / 436.2 MB, free: 1.543 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.3767, allocations: 4 kB / 436.2 MB, free: 1.539 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/0.3767, allocations: 42.5 kB / 436.3 MB, free: 1.488 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.413e-06/0.3767, allocations: 0 / 436.3 MB, free: 1.488 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005575/0.3773, allocations: 217.3 kB / 436.5 MB, free: 1.27 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001396/0.3774, allocations: 200.2 kB / 436.7 MB, free: 1.031 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002136/0.3776, allocations: 179.2 kB / 436.8 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.3777, allocations: 25.7 kB / 436.9 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.299e-05/0.3777, allocations: 112.1 kB / 437 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.3778, allocations: 11.94 kB / 437 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.572e-05/0.3778, allocations: 29.72 kB / 437 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.378, allocations: 322.8 kB / 437.3 MB, free: 340 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.516e-05/0.378, allocations: 28.36 kB / 437.4 MB, free: 312 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.3782, allocations: 134.5 kB / 437.5 MB, free: 124 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002287/0.3784, allocations: 165.5 kB / 437.7 MB, free: 15.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.3784, allocations: 3.938 kB / 437.7 MB, free: 15.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002767/0.3787, allocations: 165.6 kB / 437.8 MB, free: 15.74 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.3787, allocations: 11.94 kB / 437.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.3787, allocations: 4 kB / 437.8 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.3787, allocations: 4 kB / 437.8 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.3788, allocations: 39.91 kB / 437.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.3789, allocations: 4 kB / 437.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.841e-05/0.379, allocations: 24.02 kB / 437.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.379, allocations: 8 kB / 437.9 MB, free: 15.64 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001199/0.3791, allocations: 134 kB / 438 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002846/0.3794, allocations: 149.4 kB / 438.2 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.886e-05/0.3794, allocations: 21.39 kB / 438.2 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.3794, allocations: 4 kB / 438.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.3794, allocations: 0 / 438.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.3794, allocations: 4 kB / 438.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002894/0.3797, allocations: 192.6 kB / 438.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.3797, allocations: 3.984 kB / 438.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/0.3799, allocations: 36.02 kB / 438.4 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.3799, allocations: 7.875 kB / 438.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.3799, allocations: 4 kB / 438.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.3799, allocations: 0 / 438.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/0.3799, allocations: 7.984 kB / 438.5 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004086/0.3803, allocations: 348.2 kB / 438.8 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.755e-05/0.3804, allocations: 47.73 kB / 438.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.191e-05/0.3804, allocations: 8 kB / 438.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.3806, allocations: 7.984 kB / 438.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.909e-05/0.3806, allocations: 4 kB / 438.9 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.3806, allocations: 12 kB / 438.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001143/0.3807, allocations: 136.4 kB / 439 MB, free: 14.46 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3807, allocations: 0 / 439 MB, free: 14.46 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003287/0.381, allocations: 24 kB / 439 MB, free: 14.43 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: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0007479/0.3818, allocations: 0.8898 MB / 439.9 MB, free: 13.51 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000282/0.3821, allocations: 116.6 kB / 440 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3821, allocations: 0 / 440 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.538e-05/0.3821, allocations: 12 kB / 440.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006306/0.3828, allocations: 95.86 kB / 440.1 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00256/0.3853, allocations: 2.083 MB / 442.2 MB, free: 11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.3857, allocations: 0.7203 MB / 442.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.143e-05/0.3857, allocations: 17.48 kB / 443 MB, free: 10.24 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.816e-05/0.3858, allocations: 47.42 kB / 443 MB, free: 10.2 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3858, allocations: 0 / 443 MB, free: 10.2 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03634/0.4222, allocations: 3.608 MB / 446.6 MB, free: 6.742 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.47, allocations: 9.469 kB / 446.6 MB, free: 6.738 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1_fmu --startTime=0 --stopTime=0.2 --stepSize=3.98486e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.218141311081126]