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.0009365/0.0009365, allocations: 82.28 kB / 22.21 MB, free: 2.293 MB / 18.57 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.0009192/0.0009192, allocations: 145.2 kB / 25.59 MB, free: 8.918 MB / 18.57 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 0.9319/0.9319, allocations: 173.4 MB / 202.3 MB, free: 8.27 MB / 186.7 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 269.2 MB, free: 9.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.505e-05/2.678e-05, allocations: 9.891 kB / 269.2 MB, free: 9.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.002487/0.002513, allocations: 1.856 MB / 271.1 MB, free: 7.91 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001231/0.003745, allocations: 0.6098 MB / 271.7 MB, free: 7.301 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001727/0.003917, allocations: 10.5 kB / 271.7 MB, free: 7.293 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001599/0.004077, allocations: 19.73 kB / 271.7 MB, free: 7.273 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001265/0.004204, allocations: 27.78 kB / 271.7 MB, free: 7.246 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002886/0.004492, allocations: 99.59 kB / 271.8 MB, free: 7.148 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.004641, allocations: 147.5 kB / 272 MB, free: 7.004 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.004776, allocations: 45.95 kB / 272 MB, free: 6.957 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.004916, allocations: 76.44 kB / 272.1 MB, free: 6.883 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.696e-05/0.005003, allocations: 39.83 kB / 272.1 MB, free: 6.844 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.509e-05/0.005028, allocations: 9.656 kB / 272.1 MB, free: 6.836 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.673e-05/0.005045, allocations: 12 kB / 272.2 MB, free: 6.824 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.316e-05/0.005098, allocations: 27.91 kB / 272.2 MB, free: 6.797 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.595e-05/0.005144, allocations: 35.86 kB / 272.2 MB, free: 6.762 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.005321, allocations: 96.25 kB / 272.3 MB, free: 6.668 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.005323, allocations: 0 / 272.3 MB, free: 6.668 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.005324, allocations: 0.6562 kB / 272.3 MB, free: 6.668 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.878e-06/0.005328, allocations: 0 / 272.3 MB, free: 6.668 MB / 250.7 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.0003958/0.005724, allocations: 476.6 kB / 272.8 MB, free: 6.168 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.917e-05/0.005753, allocations: 8.656 kB / 272.8 MB, free: 6.16 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.531e-05/0.005798, allocations: 32.8 kB / 272.8 MB, free: 6.129 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/0.00599, allocations: 199.8 kB / 273 MB, free: 5.906 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.006006, allocations: 4.562 kB / 273 MB, free: 5.902 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.006019, allocations: 8.375 kB / 273 MB, free: 5.895 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002757/0.006294, allocations: 275.4 kB / 273.3 MB, free: 5.582 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.006301, allocations: 0 / 273.3 MB, free: 5.582 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.006312, allocations: 9.156 kB / 273.3 MB, free: 5.574 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.006317, allocations: 0 / 273.3 MB, free: 5.574 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.404e-05/0.006361, allocations: 32.34 kB / 273.3 MB, free: 5.543 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003411/0.006702, allocations: 430.2 kB / 273.8 MB, free: 5.078 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002245/0.006926, allocations: 191.3 kB / 273.9 MB, free: 4.828 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.664e-05/0.007003, allocations: 86.45 kB / 274 MB, free: 4.723 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.007024, allocations: 4 kB / 274 MB, free: 4.719 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.007057, allocations: 45.38 kB / 274.1 MB, free: 4.664 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.663e-06/0.007058, allocations: 0 / 274.1 MB, free: 4.664 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002607/0.007319, allocations: 137.6 kB / 274.2 MB, free: 4.523 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.306e-05/0.007412, allocations: 199.9 kB / 274.4 MB, free: 4.285 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.007534, allocations: 223.2 kB / 274.6 MB, free: 4.051 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.007547, allocations: 29.7 kB / 274.7 MB, free: 4.016 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.128e-05/0.007609, allocations: 150.8 kB / 274.8 MB, free: 3.863 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.414e-05/0.007623, allocations: 7.953 kB / 274.8 MB, free: 3.855 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-05/0.007655, allocations: 27.31 kB / 274.8 MB, free: 3.82 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.007788, allocations: 0.4961 MB / 275.3 MB, free: 3.312 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.19e-05/0.0078, allocations: 0 / 275.3 MB, free: 3.312 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.846e-05/0.007839, allocations: 56.75 kB / 275.4 MB, free: 3.238 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.435e-05/0.007873, allocations: 27.41 kB / 275.4 MB, free: 3.203 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.007876, allocations: 0 / 275.4 MB, free: 3.203 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.768e-05/0.007944, allocations: 49.64 kB / 275.5 MB, free: 3.148 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.007957, allocations: 8 kB / 275.5 MB, free: 3.141 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.007962, allocations: 0 / 275.5 MB, free: 3.141 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.776e-06/0.007971, allocations: 0 / 275.5 MB, free: 3.141 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.408e-05/0.008025, allocations: 4 kB / 275.5 MB, free: 3.137 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.008029, allocations: 3.938 kB / 275.5 MB, free: 3.133 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.133e-05/0.00806, allocations: 11.89 kB / 275.5 MB, free: 3.121 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.008065, allocations: 8.047 kB / 275.5 MB, free: 3.113 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001485/0.008213, allocations: 164.5 kB / 275.7 MB, free: 2.941 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.008336, allocations: 97.53 kB / 275.8 MB, free: 2.84 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.883e-05/0.008375, allocations: 21.45 kB / 275.8 MB, free: 2.812 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.008379, allocations: 4 kB / 275.8 MB, free: 2.809 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.008383, allocations: 4 kB / 275.8 MB, free: 2.805 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.008386, allocations: 240 / 275.8 MB, free: 2.805 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001629/0.008549, allocations: 137.1 kB / 275.9 MB, free: 2.645 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.008554, allocations: 7.984 kB / 275.9 MB, free: 2.637 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.361e-05/0.008628, allocations: 35.94 kB / 276 MB, free: 2.602 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.008631, allocations: 8 kB / 276 MB, free: 2.594 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.008637, allocations: 0 / 276 MB, free: 2.594 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.008641, allocations: 4 kB / 276 MB, free: 2.59 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.008643, allocations: 4 kB / 276 MB, free: 2.586 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001442/0.008788, allocations: 346 kB / 276.3 MB, free: 2.215 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.68e-05/0.008834, allocations: 35.83 kB / 276.4 MB, free: 2.18 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.008849, allocations: 3.984 kB / 276.4 MB, free: 2.176 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.158e-05/0.008921, allocations: 12 kB / 276.4 MB, free: 2.164 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.262e-05/0.008943, allocations: 0 / 276.4 MB, free: 2.164 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.00895, allocations: 8.031 kB / 276.4 MB, free: 2.156 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.305e-05/0.009013, allocations: 173 kB / 276.5 MB, free: 1.988 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009013, allocations: 0 / 276.5 MB, free: 1.988 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001804/0.009193, allocations: 12 kB / 276.6 MB, free: 1.977 MB / 250.7 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 8.408e-05/0.009277, allocations: 107.1 kB / 276.7 MB, free: 1.863 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.572e-05/0.009373, allocations: 47.53 kB / 276.7 MB, free: 1.812 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.009375, allocations: 0 / 276.7 MB, free: 1.812 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.495e-05/0.00939, allocations: 11.88 kB / 276.7 MB, free: 1.797 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.009737, allocations: 81.02 kB / 276.8 MB, free: 1.723 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007453/0.01048, allocations: 377.7 kB / 277.2 MB, free: 1.309 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.319e-05/0.01054, allocations: 79.83 kB / 277.2 MB, free: 1.211 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.821e-05/0.01057, allocations: 4.656 kB / 277.2 MB, free: 1.207 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.978e-05/0.01067, allocations: 110.2 kB / 277.4 MB, free: 1.098 MB / 250.7 MB Notification: Performance of SimCode: time 7.02e-07/0.01067, allocations: 0 / 277.4 MB, free: 1.098 MB / 250.7 MB Notification: Performance of Templates: time 0.003508/0.01418, allocations: 1.906 MB / 279.3 MB, free: 15.23 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile [Timeout 660] (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 & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.742675636895001]