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.001443/0.001443, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001583/0.001583, allocations: 161.7 kB / 24.27 MB, free: 168 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.517/1.517, allocations: 177.1 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.973e-06/1.973e-06, allocations: 0 / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.09e-05/3.287e-05, allocations: 2.312 kB / 272.3 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003418/0.003451, allocations: 1.848 MB / 274.2 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.004922, allocations: 0.6544 MB / 274.8 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001271/0.005049, allocations: 7.938 kB / 274.8 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001692/0.005218, allocations: 27.73 kB / 274.9 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001522/0.00537, allocations: 31.72 kB / 274.9 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004204/0.005791, allocations: 103.7 kB / 275 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002458/0.006036, allocations: 151.5 kB / 275.1 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.006202, allocations: 45.89 kB / 275.2 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002269/0.006428, allocations: 87.73 kB / 275.3 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.964e-05/0.006518, allocations: 31.89 kB / 275.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.116e-05/0.006549, allocations: 12 kB / 275.3 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.249e-05/0.006602, allocations: 16 kB / 275.3 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.033e-05/0.006672, allocations: 27.84 kB / 275.4 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.16e-05/0.006734, allocations: 39.86 kB / 275.4 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002567/0.00699, allocations: 143.5 kB / 275.5 MB, free: 14.58 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.006993, allocations: 0 / 275.5 MB, free: 14.58 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.006994, allocations: 7.938 kB / 275.5 MB, free: 14.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.006999, allocations: 0 / 275.5 MB, free: 14.57 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.0006789/0.007678, allocations: 385.6 kB / 275.9 MB, free: 14.17 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.007714, allocations: 8.031 kB / 275.9 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001911/0.007905, allocations: 36.83 kB / 276 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003465/0.008252, allocations: 194.1 kB / 276.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.008271, allocations: 12.56 kB / 276.2 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.008292, allocations: 12.31 kB / 276.2 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006542/0.008947, allocations: 301.9 kB / 276.5 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.008956, allocations: 0 / 276.5 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/0.008975, allocations: 11.98 kB / 276.5 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.008983, allocations: 4 kB / 276.5 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002351/0.009218, allocations: 79.81 kB / 276.6 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004937/0.009712, allocations: 351.1 kB / 276.9 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007917/0.0105, allocations: 209 kB / 277.1 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002117/0.01071, allocations: 108.4 kB / 277.2 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/0.01074, allocations: 7.938 kB / 277.2 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.826e-05/0.01079, allocations: 42.5 kB / 277.3 MB, free: 12.64 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.192e-06/0.01079, allocations: 0 / 277.3 MB, free: 12.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0006341/0.01143, allocations: 229.6 kB / 277.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001712/0.0116, allocations: 196.3 kB / 277.7 MB, free: 12.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/0.01181, allocations: 187.2 kB / 277.9 MB, free: 11.99 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.01184, allocations: 25.7 kB / 277.9 MB, free: 11.96 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.952e-05/0.01193, allocations: 100.5 kB / 278 MB, free: 11.85 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/0.01195, allocations: 11.94 kB / 278 MB, free: 11.84 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.695e-05/0.012, allocations: 21.67 kB / 278 MB, free: 11.81 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002031/0.0122, allocations: 330.7 kB / 278.4 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.956e-05/0.01225, allocations: 11.98 kB / 278.4 MB, free: 11.47 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.182e-05/0.01234, allocations: 65.19 kB / 278.4 MB, free: 11.39 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.01245, allocations: 46.53 kB / 278.5 MB, free: 11.33 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.01245, allocations: 0 / 278.5 MB, free: 11.33 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001635/0.01262, allocations: 73.58 kB / 278.5 MB, free: 11.25 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.01263, allocations: 4 kB / 278.5 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.01264, allocations: 0 / 278.5 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.01265, allocations: 8.094 kB / 278.6 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.656e-05/0.01272, allocations: 7.984 kB / 278.6 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.01273, allocations: 4 kB / 278.6 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.493e-05/0.01278, allocations: 0 / 278.6 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.01279, allocations: 8 kB / 278.6 MB, free: 11.22 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.0001374/0.01293, allocations: 133.7 kB / 278.7 MB, free: 11.08 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003269/0.01326, allocations: 145.4 kB / 278.8 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.308e-05/0.01331, allocations: 25.45 kB / 278.9 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.637e-06/0.01332, allocations: 12.03 kB / 278.9 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.01332, allocations: 4 kB / 278.9 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.01333, allocations: 3.938 kB / 278.9 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002677/0.0136, allocations: 153.1 kB / 279 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.0136, allocations: 0 / 279 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/0.01374, allocations: 39.97 kB / 279.1 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.01374, allocations: 336 / 279.1 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.01376, allocations: 4 kB / 279.1 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.01376, allocations: 3.938 kB / 279.1 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/0.01376, allocations: 4 kB / 279.1 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005142/0.01428, allocations: 371.2 kB / 279.5 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.747e-05/0.01436, allocations: 39.81 kB / 279.5 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.031e-05/0.01439, allocations: 8 kB / 279.5 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.01453, allocations: 4 kB / 279.5 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.01458, allocations: 11.92 kB / 279.5 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.01459, allocations: 8 kB / 279.5 MB, free: 10.2 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001382/0.01473, allocations: 136.3 kB / 279.7 MB, free: 10.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01473, allocations: 0 / 279.7 MB, free: 10.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002946/0.01502, allocations: 20 kB / 279.7 MB, free: 10.05 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.0001299/0.01515, allocations: 103.2 kB / 279.8 MB, free: 9.938 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002506/0.0154, allocations: 71.8 kB / 279.8 MB, free: 9.867 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01541, allocations: 0 / 279.8 MB, free: 9.867 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.884e-05/0.01545, allocations: 19.92 kB / 279.9 MB, free: 9.848 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006731/0.01613, allocations: 115.4 kB / 280 MB, free: 9.738 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006698/0.0168, allocations: 317.2 kB / 280.3 MB, free: 9.387 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001482/0.01695, allocations: 111.4 kB / 280.4 MB, free: 9.258 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.923e-05/0.01699, allocations: 13.14 kB / 280.4 MB, free: 9.246 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.469e-05/0.01704, allocations: 20.5 kB / 280.4 MB, free: 9.227 MB / 266.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01704, allocations: 4 kB / 280.4 MB, free: 9.223 MB / 266.7 MB Notification: Performance of Templates: time 0.005146/0.02219, allocations: 1.789 MB / 282.2 MB, free: 7.461 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 480] 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.48541413503699]