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.0007743/0.0007743, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003518/0.003518, allocations: 160.4 kB / 24.7 MB, free: 9.43 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.8615/0.8615, allocations: 177.1 MB / 205 MB, free: 5.75 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 1.173e-06/1.173e-06, allocations: 0 / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.679e-05/1.796e-05, allocations: 4.812 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.001969/0.001987, allocations: 1.843 MB / 327.7 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008026/0.00279, allocations: 0.666 MB / 328.4 MB, free: 12.9 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.66e-05/0.002886, allocations: 7.938 kB / 328.4 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001248/0.003011, allocations: 23.73 kB / 328.4 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.003113, allocations: 31.73 kB / 328.4 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002787/0.003392, allocations: 107.6 kB / 328.5 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001428/0.003534, allocations: 155.4 kB / 328.7 MB, free: 12.58 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.003645, allocations: 37.98 kB / 328.7 MB, free: 12.54 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.00377, allocations: 83.73 kB / 328.8 MB, free: 12.46 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.389e-05/0.003834, allocations: 39.88 kB / 328.8 MB, free: 12.42 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.003853, allocations: 8 kB / 328.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.61e-05/0.003889, allocations: 16 kB / 328.9 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.394e-05/0.003933, allocations: 31.84 kB / 328.9 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.069e-05/0.003964, allocations: 39.86 kB / 328.9 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001643/0.004128, allocations: 147.5 kB / 329.1 MB, free: 12.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.00413, allocations: 0 / 329.1 MB, free: 12.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.00413, allocations: 0 / 329.1 MB, free: 12.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.004134, allocations: 0 / 329.1 MB, free: 12.18 MB / 298.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.0004071/0.004541, allocations: 380.9 kB / 329.4 MB, free: 11.78 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.765e-05/0.004568, allocations: 12.03 kB / 329.4 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.004674, allocations: 28.83 kB / 329.5 MB, free: 11.74 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.004894, allocations: 198.5 kB / 329.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.004908, allocations: 8.562 kB / 329.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.004922, allocations: 16.36 kB / 329.7 MB, free: 11.5 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003827/0.005305, allocations: 305.8 kB / 330 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.005312, allocations: 0 / 330 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.005325, allocations: 4 kB / 330 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.00533, allocations: 4 kB / 330 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.005446, allocations: 71.81 kB / 330.1 MB, free: 11.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002889/0.005735, allocations: 359.1 kB / 330.4 MB, free: 10.69 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000257/0.005992, allocations: 209 kB / 330.6 MB, free: 10.44 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.006095, allocations: 104.4 kB / 330.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.006112, allocations: 4 kB / 330.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.006132, allocations: 42.5 kB / 330.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.022e-06/0.006133, allocations: 0 / 330.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003137/0.006446, allocations: 217.4 kB / 331 MB, free: 10.05 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.893e-05/0.006515, allocations: 191.9 kB / 331.2 MB, free: 9.82 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.006629, allocations: 190.9 kB / 331.4 MB, free: 9.625 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.00664, allocations: 25.7 kB / 331.4 MB, free: 9.594 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.568e-05/0.006686, allocations: 108.1 kB / 331.5 MB, free: 9.484 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.039e-05/0.006696, allocations: 4 kB / 331.5 MB, free: 9.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.622e-05/0.006723, allocations: 21.66 kB / 331.5 MB, free: 9.453 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.396e-05/0.006797, allocations: 323.2 kB / 331.8 MB, free: 9.129 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.019e-05/0.006817, allocations: 12 kB / 331.8 MB, free: 9.117 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.681e-05/0.006854, allocations: 56.27 kB / 331.9 MB, free: 9.047 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.418e-05/0.006898, allocations: 33.64 kB / 331.9 MB, free: 9.008 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.006899, allocations: 0 / 331.9 MB, free: 9.008 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.773e-05/0.006967, allocations: 65.89 kB / 332 MB, free: 8.938 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.798e-06/0.006977, allocations: 4.156 kB / 332 MB, free: 8.934 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.006981, allocations: 4 kB / 332 MB, free: 8.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.00699, allocations: 4 kB / 332 MB, free: 8.926 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.637e-05/0.007026, allocations: 11.92 kB / 332 MB, free: 8.914 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.007031, allocations: 3.938 kB / 332 MB, free: 8.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.505e-05/0.007056, allocations: 4 kB / 332 MB, free: 8.906 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-06/0.00706, allocations: 0 / 332 MB, free: 8.906 MB / 298.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.04e-05/0.00713, allocations: 125.8 kB / 332.1 MB, free: 8.773 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/0.007276, allocations: 141.5 kB / 332.3 MB, free: 8.629 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.489e-05/0.007301, allocations: 21.45 kB / 332.3 MB, free: 8.613 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.007304, allocations: 8.172 kB / 332.3 MB, free: 8.605 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.007307, allocations: 0 / 332.3 MB, free: 8.605 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.007313, allocations: 11.92 kB / 332.3 MB, free: 8.594 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001376/0.00745, allocations: 149.2 kB / 332.5 MB, free: 8.418 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.007451, allocations: 0 / 332.5 MB, free: 8.418 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.117e-05/0.007512, allocations: 35.97 kB / 332.5 MB, free: 8.383 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.007514, allocations: 0 / 332.5 MB, free: 8.383 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.007524, allocations: 12 kB / 332.5 MB, free: 8.371 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.007526, allocations: 4 kB / 332.5 MB, free: 8.367 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.007527, allocations: 4.031 kB / 332.5 MB, free: 8.363 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002107/0.007738, allocations: 356.1 kB / 332.9 MB, free: 7.992 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.458e-05/0.007782, allocations: 39.84 kB / 332.9 MB, free: 7.953 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.007795, allocations: 3.984 kB / 332.9 MB, free: 7.949 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.053e-05/0.007866, allocations: 12 kB / 332.9 MB, free: 7.938 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.884e-05/0.007885, allocations: 7.984 kB / 332.9 MB, free: 7.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.007891, allocations: 7.938 kB / 332.9 MB, free: 7.922 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.461e-05/0.007956, allocations: 132.4 kB / 333.1 MB, free: 7.793 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007956, allocations: 0 / 333.1 MB, free: 7.793 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001751/0.008131, allocations: 23.98 kB / 333.1 MB, free: 7.77 MB / 298.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 6.516e-05/0.008196, allocations: 107.1 kB / 333.2 MB, free: 7.656 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00012/0.008316, allocations: 63.89 kB / 333.3 MB, free: 7.594 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.008319, allocations: 4 kB / 333.3 MB, free: 7.59 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.837e-05/0.008338, allocations: 4.188 kB / 333.3 MB, free: 7.586 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.008688, allocations: 119.1 kB / 333.4 MB, free: 7.473 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006298/0.009318, allocations: 467.3 kB / 333.8 MB, free: 6.973 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.942e-05/0.009388, allocations: 118.7 kB / 334 MB, free: 6.836 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.655e-05/0.009414, allocations: 16.5 kB / 334 MB, free: 6.82 MB / 298.7 MB Notification: Performance of SimCode: time 4.61e-07/0.009415, allocations: 0 / 334 MB, free: 6.82 MB / 298.7 MB Notification: Performance of Templates: time 0.001856/0.01127, allocations: 1.681 MB / 335.7 MB, free: 5.148 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.153426137752831]