Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.001088/0.001088, allocations: 76.41 kB / 22.21 MB, free: 2.285 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.001058/0.001058, allocations: 173.8 kB / 25.61 MB, free: 8.898 MB / 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 0.9099/0.9099, allocations: 177.1 MB / 206 MB, free: 4.504 MB / 186.7 MB " [Timeout remaining time 179] 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.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 4 kB / 274.2 MB, free: 4.414 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.405e-05/1.614e-05, allocations: 5.406 kB / 274.2 MB, free: 4.41 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.002121/0.002137, allocations: 1.87 MB / 276.1 MB, free: 2.539 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008794/0.003016, allocations: 0.6678 MB / 276.7 MB, free: 1.871 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.003125, allocations: 11.88 kB / 276.8 MB, free: 1.859 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001316/0.003256, allocations: 23.73 kB / 276.8 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001097/0.003366, allocations: 28.28 kB / 276.8 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002901/0.003656, allocations: 112.4 kB / 276.9 MB, free: 1.699 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.003801, allocations: 139.6 kB / 277.1 MB, free: 1.562 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.003913, allocations: 46.38 kB / 277.1 MB, free: 1.516 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.004052, allocations: 92.64 kB / 277.2 MB, free: 1.426 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.228e-05/0.004114, allocations: 31.83 kB / 277.2 MB, free: 1.395 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.004135, allocations: 12.62 kB / 277.2 MB, free: 1.383 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.784e-05/0.004173, allocations: 16 kB / 277.3 MB, free: 1.367 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.195e-05/0.004215, allocations: 29.92 kB / 277.3 MB, free: 1.34 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.076e-05/0.004256, allocations: 35.91 kB / 277.3 MB, free: 1.305 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.00441, allocations: 103.5 kB / 277.4 MB, free: 1.203 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.004412, allocations: 0 / 277.4 MB, free: 1.203 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.004412, allocations: 0 / 277.4 MB, free: 1.203 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.004417, allocations: 1.938 kB / 277.4 MB, free: 1.203 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.0004258/0.004843, allocations: 483.9 kB / 277.9 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.004873, allocations: 8.031 kB / 277.9 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001206/0.004993, allocations: 32.83 kB / 277.9 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.005215, allocations: 197.6 kB / 278.1 MB, free: 448 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.005237, allocations: 12.5 kB / 278.1 MB, free: 436 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.00525, allocations: 8.375 kB / 278.1 MB, free: 428 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002718/0.005522, allocations: 267.2 kB / 278.4 MB, free: 112 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.005531, allocations: 3.938 kB / 278.4 MB, free: 108 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.005541, allocations: 8 kB / 278.4 MB, free: 100 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.005548, allocations: 8 kB / 278.4 MB, free: 92 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.819e-05/0.005586, allocations: 27.86 kB / 278.5 MB, free: 64 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003041/0.00589, allocations: 434.2 kB / 278.9 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.006067, allocations: 187.4 kB / 279.1 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.92e-05/0.006126, allocations: 78.45 kB / 279.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.006145, allocations: 15.98 kB / 279.2 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.006184, allocations: 41.39 kB / 279.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.352e-06/0.006185, allocations: 0 / 279.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002071/0.006392, allocations: 141.3 kB / 279.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.039e-05/0.006473, allocations: 199.9 kB / 279.5 MB, free: 14.8 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.006579, allocations: 226.5 kB / 279.7 MB, free: 14.56 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.006593, allocations: 29.7 kB / 279.8 MB, free: 14.53 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.161e-05/0.006654, allocations: 154.8 kB / 279.9 MB, free: 14.37 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.265e-05/0.006667, allocations: 3.953 kB / 279.9 MB, free: 14.37 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.991e-05/0.006697, allocations: 27.69 kB / 280 MB, free: 14.33 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.006822, allocations: 0.5 MB / 280.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.474e-06/0.00683, allocations: 0 / 280.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.333e-05/0.006863, allocations: 56.75 kB / 280.5 MB, free: 13.75 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.842e-05/0.006891, allocations: 23.38 kB / 280.5 MB, free: 13.71 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.006893, allocations: 3.938 kB / 280.5 MB, free: 13.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.487e-05/0.006948, allocations: 45.64 kB / 280.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.00696, allocations: 8 kB / 280.6 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.006964, allocations: 160 / 280.6 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.877e-06/0.006973, allocations: 4 kB / 280.6 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.083e-05/0.007014, allocations: 7.984 kB / 280.6 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.007017, allocations: 3.938 kB / 280.6 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.77e-05/0.007045, allocations: 7.938 kB / 280.6 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-06/0.007049, allocations: 0 / 280.6 MB, free: 13.63 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 8.17e-05/0.007131, allocations: 160.6 kB / 280.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.007236, allocations: 97.52 kB / 280.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.596e-05/0.007272, allocations: 29.45 kB / 280.9 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.007275, allocations: 0 / 280.9 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.007278, allocations: 8.031 kB / 280.9 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/0.007282, allocations: 0 / 280.9 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001521/0.007434, allocations: 137 kB / 281 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.007437, allocations: 4 kB / 281 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.489e-05/0.007502, allocations: 31.92 kB / 281.1 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.007505, allocations: 4 kB / 281.1 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.007514, allocations: 7.984 kB / 281.1 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.007516, allocations: 4 kB / 281.1 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.007517, allocations: 0 / 281.1 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001366/0.007654, allocations: 354 kB / 281.4 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.048e-05/0.007695, allocations: 31.92 kB / 281.5 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.00771, allocations: 8 kB / 281.5 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.487e-05/0.007775, allocations: 4 kB / 281.5 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.53e-05/0.0078, allocations: 11.98 kB / 281.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.007806, allocations: 4 kB / 281.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.84e-05/0.007864, allocations: 160.2 kB / 281.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007864, allocations: 0 / 281.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001858/0.00805, allocations: 19.98 kB / 281.7 MB, free: 12.5 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.543e-05/0.008126, allocations: 111.1 kB / 281.8 MB, free: 12.38 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.16e-05/0.008217, allocations: 45.89 kB / 281.8 MB, free: 12.33 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.008218, allocations: 0 / 281.8 MB, free: 12.33 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.524e-05/0.008234, allocations: 15.67 kB / 281.8 MB, free: 12.31 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.008567, allocations: 79.8 kB / 281.9 MB, free: 12.23 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006288/0.009195, allocations: 366.2 kB / 282.3 MB, free: 11.83 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.979e-05/0.009245, allocations: 75.83 kB / 282.3 MB, free: 11.73 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.308e-05/0.009278, allocations: 17.5 kB / 282.4 MB, free: 11.72 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.989e-05/0.009368, allocations: 102.2 kB / 282.5 MB, free: 11.62 MB / 266.7 MB Notification: Performance of SimCode: time 4.01e-07/0.009369, allocations: 0 / 282.5 MB, free: 11.62 MB / 266.7 MB Notification: Performance of Templates: time 0.003261/0.01263, allocations: 1.906 MB / 284.4 MB, free: 9.75 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.8799881688319147]