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.001703/0.001703, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.00213/0.00213, allocations: 203.6 kB / 23.73 MB, free: 4.379 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.384/1.384, allocations: 230.6 MB / 257.5 MB, free: 7.738 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.001547/0.001547, allocations: 47.92 kB / 377.7 MB, free: 2.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2513, allocations: 53.36 MB / 431.1 MB, free: 6.621 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003695/0.255, allocations: 1.842 MB / 432.9 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001536/0.2565, allocations: 0.6662 MB / 433.6 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001646/0.2567, allocations: 3.938 kB / 433.6 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000171/0.2569, allocations: 23.73 kB / 433.6 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001506/0.257, allocations: 27.8 kB / 433.7 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004922/0.2575, allocations: 111.7 kB / 433.8 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002545/0.2578, allocations: 139.6 kB / 433.9 MB, free: 3.801 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.2579, allocations: 49.88 kB / 433.9 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001766/0.2581, allocations: 63.72 kB / 434 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.2582, allocations: 51.7 kB / 434.1 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.2582, allocations: 8 kB / 434.1 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.594e-05/0.2583, allocations: 16 kB / 434.1 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.625e-05/0.2583, allocations: 35.84 kB / 434.1 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.223e-05/0.2584, allocations: 55.61 kB / 434.2 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002807/0.2587, allocations: 149 kB / 434.3 MB, free: 3.379 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.2587, allocations: 0 / 434.3 MB, free: 3.379 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2587, allocations: 3.938 kB / 434.3 MB, free: 3.375 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.744e-06/0.2587, allocations: 4 kB / 434.3 MB, free: 3.371 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.0007059/0.2594, allocations: 373.7 kB / 434.7 MB, free: 2.977 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.2595, allocations: 12.03 kB / 434.7 MB, free: 2.965 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.582e-05/0.2595, allocations: 46.67 kB / 434.7 MB, free: 2.91 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001674/0.2597, allocations: 20.84 kB / 434.8 MB, free: 2.891 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004093/0.2601, allocations: 194.3 kB / 435 MB, free: 2.676 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.2601, allocations: 11.94 kB / 435 MB, free: 2.664 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/0.2601, allocations: 8 kB / 435 MB, free: 2.656 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006312/0.2608, allocations: 307.9 kB / 435.3 MB, free: 2.32 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.2608, allocations: 4 kB / 435.3 MB, free: 2.316 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.2608, allocations: 0 / 435.3 MB, free: 2.316 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.2608, allocations: 4 kB / 435.3 MB, free: 2.312 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002033/0.261, allocations: 79.8 kB / 435.4 MB, free: 2.234 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005134/0.2615, allocations: 378.6 kB / 435.7 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004507/0.262, allocations: 209 kB / 435.9 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00019/0.2622, allocations: 108.4 kB / 436 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.2622, allocations: 4 kB / 436 MB, free: 1.434 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.801e-05/0.2622, allocations: 50.42 kB / 436.1 MB, free: 1.375 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.283e-06/0.2622, allocations: 0 / 436.1 MB, free: 1.375 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005443/0.2628, allocations: 209.3 kB / 436.3 MB, free: 1.164 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001291/0.2629, allocations: 195.9 kB / 436.5 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/0.2631, allocations: 183.2 kB / 436.7 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/0.2631, allocations: 29.7 kB / 436.7 MB, free: 0.707 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.417e-05/0.2632, allocations: 100.1 kB / 436.8 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.2632, allocations: 16.31 kB / 436.8 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.666e-05/0.2633, allocations: 41.7 kB / 436.9 MB, free: 0.543 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.2634, allocations: 327.1 kB / 437.2 MB, free: 220 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.939e-05/0.2635, allocations: 23.98 kB / 437.2 MB, free: 196 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001852/0.2637, allocations: 159.1 kB / 437.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002395/0.2639, allocations: 161.6 kB / 437.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.2639, allocations: 3.938 kB / 437.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002986/0.2642, allocations: 173.2 kB / 437.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.2642, allocations: 7.938 kB / 437.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.2643, allocations: 4 kB / 437.7 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.759e-05/0.2643, allocations: 8.5 kB / 437.7 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.2644, allocations: 35.92 kB / 437.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.2645, allocations: 4 kB / 437.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.2646, allocations: 27.88 kB / 437.8 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.2646, allocations: 8 kB / 437.8 MB, free: 15.5 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.0001207/0.2647, allocations: 133.8 kB / 437.9 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002948/0.265, allocations: 141.4 kB / 438 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.22e-05/0.265, allocations: 21.41 kB / 438.1 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.265, allocations: 4.031 kB / 438.1 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/0.2651, allocations: 4 kB / 438.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/0.2651, allocations: 3.984 kB / 438.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002776/0.2653, allocations: 172.6 kB / 438.2 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2653, allocations: 0 / 438.2 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001438/0.2655, allocations: 43.91 kB / 438.3 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.796e-06/0.2655, allocations: 7.938 kB / 438.3 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.2655, allocations: 0 / 438.3 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.2655, allocations: 4 kB / 438.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2655, allocations: 0 / 438.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004365/0.2659, allocations: 357.2 kB / 438.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.818e-05/0.266, allocations: 35.83 kB / 438.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.856e-05/0.2661, allocations: 7.984 kB / 438.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.2662, allocations: 8 kB / 438.7 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.596e-05/0.2662, allocations: 7.984 kB / 438.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.2662, allocations: 4 kB / 438.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001244/0.2664, allocations: 132.4 kB / 438.8 MB, free: 14.35 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2664, allocations: 0 / 438.8 MB, free: 14.35 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003164/0.2667, allocations: 27.98 kB / 438.9 MB, free: 14.32 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.0007186/0.2674, allocations: 0.9003 MB / 439.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002739/0.2677, allocations: 112.6 kB / 439.9 MB, free: 13.28 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2677, allocations: 4.062 kB / 439.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.462e-05/0.2677, allocations: 11.98 kB / 439.9 MB, free: 13.26 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006478/0.2684, allocations: 99.91 kB / 440 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003018/0.2714, allocations: 2.155 MB / 442.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001197/0.2715, allocations: 114.8 kB / 442.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.471e-05/0.2716, allocations: 13.48 kB / 442.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.609e-05/0.2717, allocations: 39.42 kB / 442.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.2717, allocations: 0 / 442.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02995/0.3016, allocations: 4.169 MB / 446.5 MB, free: 6.621 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/10.91, allocations: 14.14 kB / 446.5 MB, free: 6.613 MB / 350.1 MB " [Timeout remaining time 649] (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: 13.24598689400591]