Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.001897/0.001897, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 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.002002/0.002002, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 18.57 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.6/1.6, allocations: 177.2 MB / 204.6 MB, free: 5.594 MB / 186.7 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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.794e-05/2.984e-05, allocations: 2.312 kB / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003662/0.003692, allocations: 1.859 MB / 274.2 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.005172, allocations: 0.6739 MB / 274.9 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.005291, allocations: 7.938 kB / 274.9 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001548/0.005446, allocations: 23.73 kB / 274.9 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000144/0.00559, allocations: 31.72 kB / 274.9 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004061/0.005996, allocations: 103.7 kB / 275 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002319/0.006228, allocations: 143.5 kB / 275.2 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001588/0.006387, allocations: 53.88 kB / 275.2 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002272/0.006614, allocations: 87.73 kB / 275.3 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.489e-05/0.006709, allocations: 35.89 kB / 275.3 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.15e-05/0.00674, allocations: 8 kB / 275.3 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.433e-05/0.006795, allocations: 12 kB / 275.4 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.538e-05/0.00687, allocations: 35.84 kB / 275.4 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.848e-05/0.006929, allocations: 35.86 kB / 275.4 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002883/0.007217, allocations: 143.5 kB / 275.6 MB, free: 14.56 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.007223, allocations: 4 kB / 275.6 MB, free: 14.56 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.007225, allocations: 0 / 275.6 MB, free: 14.56 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.007231, allocations: 3.938 kB / 275.6 MB, free: 14.55 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.0007594/0.00799, allocations: 495.6 kB / 276.1 MB, free: 14.04 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.008031, allocations: 8.031 kB / 276.1 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001842/0.008215, allocations: 28.83 kB / 276.1 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003522/0.008567, allocations: 197 kB / 276.3 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.008593, allocations: 8.562 kB / 276.3 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.875e-05/0.008622, allocations: 16.31 kB / 276.3 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006696/0.009292, allocations: 324.6 kB / 276.6 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.009303, allocations: 3.984 kB / 276.6 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.009319, allocations: 4 kB / 276.6 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.009327, allocations: 4 kB / 276.6 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002072/0.009534, allocations: 59.91 kB / 276.7 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006249/0.01016, allocations: 485.5 kB / 277.2 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005034/0.01066, allocations: 239.4 kB / 277.4 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002212/0.01088, allocations: 118.5 kB / 277.5 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.899e-05/0.01091, allocations: 8 kB / 277.5 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.09e-05/0.01096, allocations: 53.31 kB / 277.6 MB, free: 12.29 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.383e-06/0.01096, allocations: 0 / 277.6 MB, free: 12.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0006309/0.0116, allocations: 209.3 kB / 277.8 MB, free: 12.08 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000167/0.01176, allocations: 199.9 kB / 278 MB, free: 11.84 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002607/0.01202, allocations: 250.6 kB / 278.2 MB, free: 11.58 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.117e-05/0.01205, allocations: 29.7 kB / 278.3 MB, free: 11.55 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.01218, allocations: 159.2 kB / 278.4 MB, free: 11.38 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.01221, allocations: 11.95 kB / 278.4 MB, free: 11.37 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.502e-05/0.01226, allocations: 31.25 kB / 278.5 MB, free: 11.33 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002886/0.01255, allocations: 0.5004 MB / 279 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.485e-05/0.0126, allocations: 16 kB / 279 MB, free: 10.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.0127, allocations: 72.44 kB / 279 MB, free: 10.71 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.0128, allocations: 54.98 kB / 279.1 MB, free: 10.64 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.01281, allocations: 0 / 279.1 MB, free: 10.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001526/0.01296, allocations: 69.58 kB / 279.2 MB, free: 10.57 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.01298, allocations: 8.125 kB / 279.2 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.01299, allocations: 7.984 kB / 279.2 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.013, allocations: 0 / 279.2 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.894e-05/0.01307, allocations: 8 kB / 279.2 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.01308, allocations: 3.984 kB / 279.2 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.813e-05/0.01314, allocations: 4 kB / 279.2 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.01314, allocations: 0 / 279.2 MB, free: 10.54 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001658/0.01331, allocations: 176.5 kB / 279.4 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000453/0.01376, allocations: 137.5 kB / 279.5 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.306e-05/0.01382, allocations: 29.5 kB / 279.5 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.01383, allocations: 0 / 279.5 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.01384, allocations: 11.94 kB / 279.5 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.01384, allocations: 3.984 kB / 279.5 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002941/0.01414, allocations: 176.4 kB / 279.7 MB, free: 9.965 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.01414, allocations: 0 / 279.7 MB, free: 9.965 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001445/0.01428, allocations: 32.31 kB / 279.8 MB, free: 9.934 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.01429, allocations: 0 / 279.8 MB, free: 9.934 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.0143, allocations: 8 kB / 279.8 MB, free: 9.926 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.01431, allocations: 3.938 kB / 279.8 MB, free: 9.922 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.676e-06/0.01431, allocations: 4 kB / 279.8 MB, free: 9.918 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005396/0.01485, allocations: 467.6 kB / 280.2 MB, free: 9.43 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.746e-05/0.01494, allocations: 35.81 kB / 280.3 MB, free: 9.395 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.237e-05/0.01497, allocations: 8 kB / 280.3 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.01512, allocations: 4 kB / 280.3 MB, free: 9.383 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.557e-05/0.01516, allocations: 7.938 kB / 280.3 MB, free: 9.375 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.01518, allocations: 11.98 kB / 280.3 MB, free: 9.363 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001592/0.01534, allocations: 180.2 kB / 280.5 MB, free: 9.188 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01534, allocations: 0 / 280.5 MB, free: 9.188 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003207/0.01566, allocations: 12 kB / 280.5 MB, free: 9.176 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: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0001431/0.0158, allocations: 107.2 kB / 280.6 MB, free: 9.059 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002525/0.01606, allocations: 83.48 kB / 280.7 MB, free: 8.973 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.01606, allocations: 0 / 280.7 MB, free: 8.973 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.939e-05/0.01611, allocations: 15.62 kB / 280.7 MB, free: 8.953 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006598/0.01677, allocations: 110.8 kB / 280.8 MB, free: 8.848 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006824/0.01745, allocations: 330.6 kB / 281.1 MB, free: 8.477 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001501/0.0176, allocations: 115.3 kB / 281.2 MB, free: 8.344 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.683e-05/0.01766, allocations: 9.156 kB / 281.2 MB, free: 8.336 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.377e-05/0.01771, allocations: 20.5 kB / 281.3 MB, free: 8.316 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01771, allocations: 0 / 281.3 MB, free: 8.316 MB / 266.7 MB Notification: Performance of Templates: time 0.006175/0.02389, allocations: 1.803 MB / 283.1 MB, free: 6.547 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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: 4.494970689993352]