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.001039/0.001039, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001273/0.001273, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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 1.021/1.021, allocations: 177 MB / 204.8 MB, free: 5.59 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.743e-06/1.743e-06, allocations: 3.938 kB / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.932e-05/3.106e-05, allocations: 8.984 kB / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.002521/0.002552, allocations: 1.895 MB / 274.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000995/0.003547, allocations: 0.6816 MB / 275.5 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.003676, allocations: 7.938 kB / 275.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000167/0.003843, allocations: 27.78 kB / 275.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001324/0.003976, allocations: 23.75 kB / 275.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003447/0.00432, allocations: 111.6 kB / 275.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.004497, allocations: 151.5 kB / 275.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.004643, allocations: 41.91 kB / 275.9 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001913/0.004834, allocations: 83.8 kB / 275.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.667e-05/0.004911, allocations: 31.89 kB / 276 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.004935, allocations: 15.94 kB / 276 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.95e-05/0.004984, allocations: 15.98 kB / 276 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.117e-05/0.005045, allocations: 31.91 kB / 276 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.043e-05/0.005086, allocations: 39.86 kB / 276.1 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001948/0.005281, allocations: 103.5 kB / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.005285, allocations: 0 / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.005286, allocations: 0 / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.005291, allocations: 0 / 276.2 MB, free: 14.18 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.0004896/0.005781, allocations: 476 kB / 276.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.005823, allocations: 11.98 kB / 276.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001526/0.005976, allocations: 32.84 kB / 276.7 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.006229, allocations: 204.9 kB / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.006254, allocations: 4.562 kB / 276.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.006272, allocations: 12.38 kB / 276.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004137/0.006685, allocations: 277.2 kB / 277.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.006698, allocations: 4 kB / 277.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.006713, allocations: 4 kB / 277.2 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.006722, allocations: 4 kB / 277.2 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.196e-05/0.006784, allocations: 31.86 kB / 277.2 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004031/0.007187, allocations: 465.5 kB / 277.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002422/0.007429, allocations: 195.5 kB / 277.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.373e-05/0.007513, allocations: 90.47 kB / 277.9 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.00754, allocations: 8 kB / 278 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.00757, allocations: 45.33 kB / 278 MB, free: 12.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.533e-06/0.007571, allocations: 0 / 278 MB, free: 12.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002885/0.00786, allocations: 145.4 kB / 278.1 MB, free: 11.95 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.482e-05/0.007944, allocations: 195.9 kB / 278.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.008078, allocations: 238.4 kB / 278.6 MB, free: 11.46 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.008097, allocations: 29.7 kB / 278.6 MB, free: 11.43 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.864e-05/0.008165, allocations: 154.8 kB / 278.7 MB, free: 11.27 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.92e-05/0.008185, allocations: 15.89 kB / 278.8 MB, free: 11.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/0.008216, allocations: 19.75 kB / 278.8 MB, free: 11.23 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.008332, allocations: 0.4923 MB / 279.3 MB, free: 10.72 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.753e-05/0.00835, allocations: 4 kB / 279.3 MB, free: 10.72 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.892e-05/0.008389, allocations: 64.69 kB / 279.3 MB, free: 10.64 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.597e-05/0.008425, allocations: 19.38 kB / 279.4 MB, free: 10.61 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.008428, allocations: 0 / 279.4 MB, free: 10.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.254e-05/0.0085, allocations: 53.58 kB / 279.4 MB, free: 10.55 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.008517, allocations: 4 kB / 279.4 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.008524, allocations: 8.156 kB / 279.4 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.00854, allocations: 0 / 279.4 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.48e-05/0.008615, allocations: 4 kB / 279.4 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/0.008623, allocations: 3.938 kB / 279.4 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.992e-05/0.008653, allocations: 4.188 kB / 279.4 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-06/0.00866, allocations: 0 / 279.4 MB, free: 10.53 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 7.873e-05/0.008738, allocations: 164.6 kB / 279.6 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.008868, allocations: 113.4 kB / 279.7 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.06e-05/0.008909, allocations: 21.45 kB / 279.7 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.008912, allocations: 4 kB / 279.7 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.008916, allocations: 4.031 kB / 279.7 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.008923, allocations: 7.938 kB / 279.7 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/0.009087, allocations: 156.5 kB / 279.9 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.009089, allocations: 0 / 279.9 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.344e-05/0.009163, allocations: 39.91 kB / 279.9 MB, free: 9.977 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.009166, allocations: 4 kB / 279.9 MB, free: 9.973 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.009177, allocations: 8 kB / 279.9 MB, free: 9.965 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.009179, allocations: 0 / 279.9 MB, free: 9.965 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.009182, allocations: 4 kB / 280 MB, free: 9.961 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.009406, allocations: 425.8 kB / 280.4 MB, free: 9.512 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.98e-05/0.009455, allocations: 31.89 kB / 280.4 MB, free: 9.48 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.009475, allocations: 4 kB / 280.4 MB, free: 9.477 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.612e-05/0.009551, allocations: 11.98 kB / 280.4 MB, free: 9.465 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.23e-05/0.009593, allocations: 4 kB / 280.4 MB, free: 9.461 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.094e-06/0.0096, allocations: 7.938 kB / 280.4 MB, free: 9.453 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.36e-05/0.009674, allocations: 164.3 kB / 280.6 MB, free: 9.293 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009674, allocations: 4 kB / 280.6 MB, free: 9.289 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001778/0.009852, allocations: 19.94 kB / 280.6 MB, free: 9.27 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 0.0001033/0.009955, allocations: 107.2 kB / 280.7 MB, free: 9.152 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001311/0.01009, allocations: 39.61 kB / 280.8 MB, free: 9.109 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01009, allocations: 0 / 280.8 MB, free: 9.109 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.673e-05/0.0101, allocations: 15.62 kB / 280.8 MB, free: 9.09 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004543/0.01056, allocations: 91.25 kB / 280.9 MB, free: 9.004 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008474/0.01141, allocations: 378.1 kB / 281.2 MB, free: 8.59 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.726e-05/0.01146, allocations: 79.83 kB / 281.3 MB, free: 8.492 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.573e-05/0.0115, allocations: 9.141 kB / 281.3 MB, free: 8.48 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.051e-05/0.01154, allocations: 20.5 kB / 281.3 MB, free: 8.461 MB / 266.7 MB Notification: Performance of SimCode: time 1.062e-06/0.01154, allocations: 0 / 281.3 MB, free: 8.461 MB / 266.7 MB Notification: Performance of Templates: time 0.003775/0.01532, allocations: 1.733 MB / 283.1 MB, free: 6.758 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: 3.0625146361999214]