Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001812/0.001812, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002634/0.002634, allocations: 164.2 kB / 24.91 MB, free: 8.75 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9753/0.9753, allocations: 177 MB / 205.2 MB, free: 5.023 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 273.4 MB, free: 1.066 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.518e-05/2.706e-05, allocations: 5.266 kB / 273.4 MB, free: 1.062 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.002498/0.002525, allocations: 1.888 MB / 275.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001209/0.003734, allocations: 0.697 MB / 276 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001469/0.003881, allocations: 7.938 kB / 276 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000175/0.004056, allocations: 23.73 kB / 276 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001508/0.004207, allocations: 19.81 kB / 276 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004864/0.004694, allocations: 115.6 kB / 276.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001738/0.004867, allocations: 147.5 kB / 276.3 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.005003, allocations: 42.62 kB / 276.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001694/0.005173, allocations: 83.73 kB / 276.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.132e-05/0.005244, allocations: 43.81 kB / 276.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.005264, allocations: 8 kB / 276.5 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.017e-05/0.005314, allocations: 12 kB / 276.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.86e-05/0.005363, allocations: 35.84 kB / 276.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.413e-05/0.005397, allocations: 35.86 kB / 276.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.005549, allocations: 99.53 kB / 276.6 MB, free: 13.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.005551, allocations: 4 kB / 276.6 MB, free: 13.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.005552, allocations: 0 / 276.6 MB, free: 13.79 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.005558, allocations: 0 / 276.6 MB, free: 13.79 MB / 266.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.0004532/0.006011, allocations: 356.3 kB / 277 MB, free: 13.42 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.006047, allocations: 11.98 kB / 277 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/0.006158, allocations: 24.92 kB / 277 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.00638, allocations: 186.2 kB / 277.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.006398, allocations: 12.5 kB / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.006414, allocations: 4.375 kB / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002925/0.006706, allocations: 250.5 kB / 277.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.006717, allocations: 0 / 277.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.006729, allocations: 8 kB / 277.5 MB, free: 12.87 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.006734, allocations: 0 / 277.5 MB, free: 12.87 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.648e-05/0.00677, allocations: 31.86 kB / 277.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002885/0.007059, allocations: 274.9 kB / 277.8 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.007228, allocations: 148.7 kB / 277.9 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.551e-05/0.007294, allocations: 68.38 kB / 278 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.007309, allocations: 4 kB / 278 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.007337, allocations: 42.5 kB / 278 MB, free: 12.21 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.493e-06/0.007338, allocations: 0 / 278 MB, free: 12.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001791/0.007517, allocations: 121.4 kB / 278.2 MB, free: 12.09 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.46e-05/0.007602, allocations: 191.9 kB / 278.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003424/0.007944, allocations: 175.2 kB / 278.5 MB, free: 11.67 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.007958, allocations: 29.7 kB / 278.5 MB, free: 11.64 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.053e-05/0.007999, allocations: 92.11 kB / 278.6 MB, free: 11.54 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/0.008015, allocations: 7.953 kB / 278.6 MB, free: 11.54 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.751e-05/0.008043, allocations: 17.7 kB / 278.7 MB, free: 11.51 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.09e-05/0.008124, allocations: 326.8 kB / 279 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.456e-06/0.008132, allocations: 4.359 kB / 279 MB, free: 11.18 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.981e-05/0.008162, allocations: 52.22 kB / 279 MB, free: 11.11 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.827e-05/0.00819, allocations: 21.72 kB / 279 MB, free: 11.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.008192, allocations: 0 / 279 MB, free: 11.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.808e-05/0.00824, allocations: 41.62 kB / 279.1 MB, free: 11.04 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.008254, allocations: 8 kB / 279.1 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.008259, allocations: 0 / 279.1 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.008272, allocations: 3.984 kB / 279.1 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.714e-05/0.008309, allocations: 4.156 kB / 279.1 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.008313, allocations: 4 kB / 279.1 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.78e-05/0.008341, allocations: 8 kB / 279.1 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.008346, allocations: 3.938 kB / 279.1 MB, free: 11.01 MB / 266.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 6.753e-05/0.008413, allocations: 112.7 kB / 279.2 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.144e-05/0.008495, allocations: 85.53 kB / 279.3 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.228e-05/0.008527, allocations: 21.45 kB / 279.3 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.00853, allocations: 4 kB / 279.3 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.008534, allocations: 4 kB / 279.3 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.008537, allocations: 3.938 kB / 279.3 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.008671, allocations: 109.7 kB / 279.5 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.008674, allocations: 4 kB / 279.5 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.469e-05/0.008738, allocations: 35.97 kB / 279.5 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.008743, allocations: 4 kB / 279.5 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.353e-06/0.008751, allocations: 0 / 279.5 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.008755, allocations: 7.938 kB / 279.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.008757, allocations: 0 / 279.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.851e-05/0.008855, allocations: 237.3 kB / 279.7 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.732e-05/0.008892, allocations: 23.84 kB / 279.8 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.008906, allocations: 4 kB / 279.8 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.041e-05/0.008966, allocations: 12.02 kB / 279.8 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.435e-05/0.00899, allocations: 7.938 kB / 279.8 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.75e-06/0.008996, allocations: 4 kB / 279.8 MB, free: 10.28 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.742e-05/0.009033, allocations: 49.98 kB / 279.8 MB, free: 10.23 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009033, allocations: 0 / 279.8 MB, free: 10.23 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001537/0.009187, allocations: 16 kB / 279.9 MB, free: 10.21 MB / 266.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 7.181e-05/0.009259, allocations: 80.41 kB / 279.9 MB, free: 10.12 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.419e-05/0.009343, allocations: 40.84 kB / 280 MB, free: 10.08 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.009348, allocations: 8 kB / 280 MB, free: 10.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.27e-05/0.009361, allocations: 12.8 kB / 280 MB, free: 10.06 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.009641, allocations: 80.52 kB / 280.1 MB, free: 9.98 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006316/0.01027, allocations: 355.9 kB / 280.4 MB, free: 9.59 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.402e-05/0.01033, allocations: 83.83 kB / 280.5 MB, free: 9.488 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.193e-05/0.01036, allocations: 13.5 kB / 280.5 MB, free: 9.477 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.786e-05/0.01045, allocations: 83.28 kB / 280.6 MB, free: 9.395 MB / 266.7 MB Notification: Performance of SimCode: time 1.002e-06/0.01045, allocations: 0 / 280.6 MB, free: 9.395 MB / 266.7 MB Notification: Performance of Templates: time 0.003544/0.01399, allocations: 1.851 MB / 282.4 MB, free: 7.59 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.8608682896010578]