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.00123/0.00123, allocations: 112.2 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.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.001572/0.001572, allocations: 212.2 kB / 24.52 MB, free: 4.074 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.356/1.356, allocations: 230.6 MB / 258.3 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 47.92 kB / 378.6 MB, free: 3.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2311, allocations: 53.35 MB / 431.9 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003341/0.2345, allocations: 1.904 MB / 433.8 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001219/0.2357, allocations: 0.7129 MB / 434.5 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.2358, allocations: 7.938 kB / 434.5 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001451/0.236, allocations: 23.73 kB / 434.6 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001187/0.2361, allocations: 23.8 kB / 434.6 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003978/0.2365, allocations: 123 kB / 434.7 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002114/0.2367, allocations: 147.6 kB / 434.9 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.2369, allocations: 41.89 kB / 434.9 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.237, allocations: 63.72 kB / 435 MB, free: 3.801 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.49e-05/0.2371, allocations: 55.64 kB / 435 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.828e-05/0.2371, allocations: 12 kB / 435 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.534e-05/0.2372, allocations: 20 kB / 435 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.396e-05/0.2372, allocations: 23.92 kB / 435.1 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.729e-05/0.2373, allocations: 71.48 kB / 435.1 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.2375, allocations: 140.2 kB / 435.3 MB, free: 3.488 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.2375, allocations: 4 kB / 435.3 MB, free: 3.484 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2375, allocations: 0 / 435.3 MB, free: 3.484 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.2375, allocations: 0 / 435.3 MB, free: 3.484 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.0005846/0.2381, allocations: 381.6 kB / 435.7 MB, free: 3.082 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.2382, allocations: 16.02 kB / 435.7 MB, free: 3.066 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.232e-05/0.2382, allocations: 384 / 435.7 MB, free: 3.066 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.744e-05/0.2382, allocations: 42.75 kB / 435.7 MB, free: 3.016 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001573/0.2384, allocations: 28.83 kB / 435.7 MB, free: 2.988 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003455/0.2387, allocations: 197.8 kB / 435.9 MB, free: 2.77 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.2387, allocations: 8 kB / 435.9 MB, free: 2.762 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.2388, allocations: 8 kB / 436 MB, free: 2.754 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005591/0.2393, allocations: 274.5 kB / 436.2 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.2393, allocations: 4 kB / 436.2 MB, free: 2.453 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.2394, allocations: 4 kB / 436.2 MB, free: 2.449 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.2394, allocations: 7.938 kB / 436.2 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002194/0.2396, allocations: 67.89 kB / 436.3 MB, free: 2.375 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004852/0.2401, allocations: 406.5 kB / 436.7 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004305/0.2405, allocations: 209 kB / 436.9 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001874/0.2407, allocations: 104.3 kB / 437 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.2407, allocations: 7.938 kB / 437 MB, free: 1.547 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.2407, allocations: 42.5 kB / 437.1 MB, free: 1.496 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.242e-06/0.2407, allocations: 0 / 437.1 MB, free: 1.496 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005516/0.2413, allocations: 221.3 kB / 437.3 MB, free: 1.273 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/0.2414, allocations: 192.3 kB / 437.5 MB, free: 1.043 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.2416, allocations: 183.2 kB / 437.6 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.2416, allocations: 29.7 kB / 437.7 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.139e-05/0.2417, allocations: 104.1 kB / 437.8 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.673e-05/0.2417, allocations: 11.98 kB / 437.8 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.452e-05/0.2418, allocations: 33.67 kB / 437.8 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.2419, allocations: 330.8 kB / 438.1 MB, free: 340 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.93e-05/0.242, allocations: 23.98 kB / 438.2 MB, free: 316 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.2421, allocations: 128.9 kB / 438.3 MB, free: 136 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002167/0.2423, allocations: 173.5 kB / 438.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.2424, allocations: 4 kB / 438.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002657/0.2426, allocations: 161.5 kB / 438.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.2426, allocations: 16.08 kB / 438.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.2426, allocations: 4 kB / 438.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.2427, allocations: 4 kB / 438.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.2428, allocations: 35.92 kB / 438.7 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.2428, allocations: 8 kB / 438.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.34e-05/0.2429, allocations: 7.938 kB / 438.7 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.2429, allocations: 8 kB / 438.7 MB, free: 15.66 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.0001179/0.243, allocations: 137.8 kB / 438.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000279/0.2433, allocations: 149.8 kB / 439 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.934e-05/0.2433, allocations: 25.48 kB / 439 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.2433, allocations: 7.938 kB / 439 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.2433, allocations: 0 / 439 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.2434, allocations: 0 / 439 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000269/0.2436, allocations: 188.6 kB / 439.2 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.2436, allocations: 11.94 kB / 439.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001391/0.2438, allocations: 35.92 kB / 439.2 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.2438, allocations: 4.031 kB / 439.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.2438, allocations: 11.98 kB / 439.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.2438, allocations: 0 / 439.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2438, allocations: 0 / 439.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004031/0.2442, allocations: 357.2 kB / 439.6 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.941e-05/0.2443, allocations: 39.81 kB / 439.6 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.2443, allocations: 0 / 439.6 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.2444, allocations: 15.98 kB / 439.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.823e-05/0.2445, allocations: 0 / 439.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.2445, allocations: 8 kB / 439.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000106/0.2446, allocations: 132.4 kB / 439.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2446, allocations: 4 kB / 439.8 MB, free: 14.47 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00031/0.2449, allocations: 20 kB / 439.8 MB, free: 14.45 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.0007104/0.2456, allocations: 0.8965 MB / 440.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002846/0.2459, allocations: 112.6 kB / 440.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2459, allocations: 4.125 kB / 440.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.266e-05/0.2459, allocations: 12 kB / 440.8 MB, free: 13.4 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006232/0.2466, allocations: 108.1 kB / 440.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002524/0.2491, allocations: 2.074 MB / 443 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.2494, allocations: 0.7203 MB / 443.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.989e-05/0.2495, allocations: 17.84 kB / 443.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.068e-05/0.2496, allocations: 47.42 kB / 443.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2496, allocations: 0 / 443.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02332/0.2729, allocations: 3.638 MB / 447.4 MB, free: 6.738 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/10.77, allocations: 10.75 kB / 447.5 MB, free: 6.73 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.127667124033906]