Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.001304/0.001304, allocations: 108.6 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.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.001316/0.001316, allocations: 191.7 kB / 24.51 MB, free: 4.086 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.38/1.38, allocations: 225.6 MB / 253.3 MB, free: 13.02 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.HoldWithDAeffects1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 51.92 kB / 371.2 MB, free: 9.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2345, allocations: 52.18 MB / 423.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003179/0.2377, allocations: 1.895 MB / 425.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.2387, allocations: 0.6226 MB / 425.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.2388, allocations: 11.88 kB / 426 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.239, allocations: 19.73 kB / 426 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.2391, allocations: 27.78 kB / 426 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003376/0.2394, allocations: 111.7 kB / 426.1 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001912/0.2396, allocations: 139.6 kB / 426.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.2397, allocations: 41.84 kB / 426.3 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.2398, allocations: 59.72 kB / 426.3 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.988e-05/0.2399, allocations: 51.7 kB / 426.4 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.223e-05/0.24, allocations: 8 kB / 426.4 MB, free: 11.63 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.091e-05/0.24, allocations: 12 kB / 426.4 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.067e-05/0.24, allocations: 35.86 kB / 426.4 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.172e-05/0.2401, allocations: 63.59 kB / 426.5 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001939/0.2403, allocations: 144.1 kB / 426.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.2403, allocations: 4 kB / 426.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2403, allocations: 0 / 426.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.2403, allocations: 0 / 426.7 MB, free: 11.38 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.000555/0.2409, allocations: 377.7 kB / 427 MB, free: 10.98 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.2409, allocations: 8.031 kB / 427 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.308e-05/0.2409, allocations: 4.375 kB / 427 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.302e-05/0.241, allocations: 42.73 kB / 427.1 MB, free: 10.92 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.124e-05/0.241, allocations: 24.73 kB / 427.1 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002945/0.2413, allocations: 191.6 kB / 427.3 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.2413, allocations: 8 kB / 427.3 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.2413, allocations: 12 kB / 427.3 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005614/0.2419, allocations: 268.2 kB / 427.6 MB, free: 10.37 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.2419, allocations: 3.938 kB / 427.6 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.2419, allocations: 4 kB / 427.6 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.2419, allocations: 7.938 kB / 427.6 MB, free: 10.35 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002166/0.2421, allocations: 79.88 kB / 427.7 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004585/0.2426, allocations: 398.5 kB / 428.1 MB, free: 9.828 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000435/0.243, allocations: 205 kB / 428.3 MB, free: 9.582 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001989/0.2432, allocations: 104.3 kB / 428.4 MB, free: 9.465 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.2433, allocations: 15.92 kB / 428.4 MB, free: 9.449 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.2433, allocations: 42.5 kB / 428.4 MB, free: 9.398 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.342e-06/0.2433, allocations: 3.938 kB / 428.4 MB, free: 9.395 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005512/0.2438, allocations: 205.4 kB / 428.6 MB, free: 9.188 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001463/0.244, allocations: 204.2 kB / 428.8 MB, free: 8.945 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.2442, allocations: 179.2 kB / 429 MB, free: 8.762 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.2442, allocations: 29.7 kB / 429 MB, free: 8.727 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.613e-05/0.2443, allocations: 108 kB / 429.1 MB, free: 8.617 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.2443, allocations: 11.95 kB / 429.1 MB, free: 8.605 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.533e-05/0.2443, allocations: 33.7 kB / 429.2 MB, free: 8.566 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.2445, allocations: 326.8 kB / 429.5 MB, free: 8.238 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.27e-05/0.2445, allocations: 19.98 kB / 429.5 MB, free: 8.219 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.2447, allocations: 138.4 kB / 429.6 MB, free: 8.031 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002157/0.2449, allocations: 157.6 kB / 429.8 MB, free: 7.828 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.2449, allocations: 4 kB / 429.8 MB, free: 7.824 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002791/0.2452, allocations: 161.6 kB / 430 MB, free: 7.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.2452, allocations: 12.06 kB / 430 MB, free: 7.648 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.2452, allocations: 4 kB / 430 MB, free: 7.645 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.2452, allocations: 4 kB / 430 MB, free: 7.641 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.2453, allocations: 35.92 kB / 430 MB, free: 7.605 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.2454, allocations: 11.92 kB / 430 MB, free: 7.594 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.854e-05/0.2455, allocations: 15.89 kB / 430 MB, free: 7.578 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.2455, allocations: 8 kB / 430 MB, free: 7.57 MB / 334.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.0001157/0.2456, allocations: 141.7 kB / 430.2 MB, free: 7.422 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002862/0.2459, allocations: 149.4 kB / 430.3 MB, free: 7.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.475e-05/0.2459, allocations: 17.41 kB / 430.3 MB, free: 7.25 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.2459, allocations: 8.453 kB / 430.4 MB, free: 7.242 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.2459, allocations: 0 / 430.4 MB, free: 7.242 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.2459, allocations: 0 / 430.4 MB, free: 7.242 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002664/0.2462, allocations: 188.6 kB / 430.5 MB, free: 7.016 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.2462, allocations: 7.938 kB / 430.6 MB, free: 7.008 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.2463, allocations: 39.84 kB / 430.6 MB, free: 6.969 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.2463, allocations: 4 kB / 430.6 MB, free: 6.965 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.2464, allocations: 12.03 kB / 430.6 MB, free: 6.953 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.2464, allocations: 0 / 430.6 MB, free: 6.953 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2464, allocations: 0 / 430.6 MB, free: 6.953 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004102/0.2468, allocations: 360 kB / 431 MB, free: 6.578 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.632e-05/0.2468, allocations: 35.77 kB / 431 MB, free: 6.543 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.072e-05/0.2469, allocations: 8 kB / 431 MB, free: 6.535 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.247, allocations: 11.98 kB / 431 MB, free: 6.523 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.993e-05/0.247, allocations: 7.984 kB / 431 MB, free: 6.516 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.247, allocations: 8 kB / 431 MB, free: 6.508 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001052/0.2472, allocations: 133.2 kB / 431.2 MB, free: 6.379 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2472, allocations: 3.938 kB / 431.2 MB, free: 6.375 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003089/0.2475, allocations: 24 kB / 431.2 MB, free: 6.352 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: 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.0006986/0.2482, allocations: 0.8897 MB / 432.1 MB, free: 5.426 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002679/0.2484, allocations: 108.6 kB / 432.2 MB, free: 5.32 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2484, allocations: 0 / 432.2 MB, free: 5.32 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.605e-05/0.2485, allocations: 20.05 kB / 432.2 MB, free: 5.301 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005977/0.2491, allocations: 94.08 kB / 432.3 MB, free: 5.211 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002391/0.2515, allocations: 2.082 MB / 434.4 MB, free: 2.93 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.2518, allocations: 0.728 MB / 435.1 MB, free: 2.176 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.279e-05/0.2519, allocations: 13.48 kB / 435.1 MB, free: 2.16 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.063e-05/0.2519, allocations: 43.42 kB / 435.2 MB, free: 2.121 MB / 334.1 MB Notification: Performance of SimCode: time 3.7e-07/0.2519, allocations: 0 / 435.2 MB, free: 2.121 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02333/0.2753, allocations: 3.6 MB / 438.8 MB, free: 14.69 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/10.91, allocations: 15.42 kB / 438.8 MB, free: 14.68 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1_fmu --startTime=0 --stopTime=0.2 --stepSize=3.98486e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.316658553027082]