Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.001222/0.001222, allocations: 91.5 kB / 21.19 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.001204/0.001204, allocations: 156.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 0.9388/0.9388, allocations: 177 MB / 204.8 MB, free: 5.582 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.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 272.9 MB, free: 1.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.747e-05/2.882e-05, allocations: 5.266 kB / 272.9 MB, free: 1.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.002487/0.002516, allocations: 1.887 MB / 274.8 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.003618, allocations: 0.6855 MB / 275.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000138/0.003756, allocations: 15.88 kB / 275.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001426/0.003899, allocations: 15.8 kB / 275.5 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001259/0.004025, allocations: 27.78 kB / 275.6 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000436/0.004461, allocations: 123.5 kB / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001831/0.004644, allocations: 143.6 kB / 275.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.004784, allocations: 45.94 kB / 275.9 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001817/0.004966, allocations: 75.81 kB / 275.9 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.927e-05/0.005045, allocations: 39.83 kB / 276 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.005069, allocations: 12 kB / 276 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.841e-05/0.005118, allocations: 19.98 kB / 276 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.801e-05/0.005176, allocations: 31.8 kB / 276 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.777e-05/0.005214, allocations: 39.91 kB / 276.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.005407, allocations: 99.53 kB / 276.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.005411, allocations: 0 / 276.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.005412, allocations: 0 / 276.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.005418, allocations: 0 / 276.2 MB, free: 14.16 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.0004874/0.005906, allocations: 476 kB / 276.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.005944, allocations: 15.92 kB / 276.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001541/0.006098, allocations: 32.83 kB / 276.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.006359, allocations: 201 kB / 276.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.523e-05/0.006385, allocations: 8.562 kB / 276.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.006402, allocations: 12.38 kB / 276.9 MB, free: 13.37 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003931/0.006795, allocations: 290.5 kB / 277.2 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.006804, allocations: 0 / 277.2 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.006818, allocations: 4 kB / 277.2 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.006828, allocations: 4 kB / 277.2 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.954e-05/0.006887, allocations: 27.92 kB / 277.2 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004524/0.00734, allocations: 465.5 kB / 277.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002586/0.007598, allocations: 203.4 kB / 277.9 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.553e-05/0.007684, allocations: 90.47 kB / 278 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.007709, allocations: 4 kB / 278 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.007737, allocations: 45.33 kB / 278 MB, free: 12.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.513e-06/0.007739, allocations: 0 / 278 MB, free: 12.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0002844/0.008023, allocations: 157.3 kB / 278.2 MB, free: 11.91 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/0.008129, allocations: 199.8 kB / 278.4 MB, free: 11.67 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.008261, allocations: 234.5 kB / 278.6 MB, free: 11.42 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.008275, allocations: 29.7 kB / 278.6 MB, free: 11.39 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.44e-05/0.00834, allocations: 155.6 kB / 278.8 MB, free: 11.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.008356, allocations: 11.95 kB / 278.8 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.741e-05/0.008393, allocations: 31.31 kB / 278.8 MB, free: 11.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.008505, allocations: 0.4922 MB / 279.3 MB, free: 10.67 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.487e-05/0.00852, allocations: 3.984 kB / 279.3 MB, free: 10.67 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.922e-05/0.00856, allocations: 68.45 kB / 279.4 MB, free: 10.58 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.404e-05/0.008604, allocations: 42.98 kB / 279.4 MB, free: 10.52 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.008606, allocations: 0 / 279.4 MB, free: 10.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.633e-05/0.008682, allocations: 57.62 kB / 279.5 MB, free: 10.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.008698, allocations: 8 kB / 279.5 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.008705, allocations: 3.984 kB / 279.5 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.008719, allocations: 288 / 279.5 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.653e-05/0.008786, allocations: 8 kB / 279.5 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.008792, allocations: 0 / 279.5 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.375e-05/0.008826, allocations: 4 kB / 279.5 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.008832, allocations: 0 / 279.5 MB, free: 10.44 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 8.855e-05/0.00892, allocations: 172.5 kB / 279.7 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001525/0.009073, allocations: 129.4 kB / 279.8 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.888e-05/0.009112, allocations: 17.47 kB / 279.8 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.009115, allocations: 4 kB / 279.8 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.009121, allocations: 4 kB / 279.8 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.009127, allocations: 3.984 kB / 279.8 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.009297, allocations: 156.5 kB / 280 MB, free: 9.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.0093, allocations: 3.984 kB / 280 MB, free: 9.906 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.765e-05/0.009378, allocations: 31.98 kB / 280 MB, free: 9.875 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.009383, allocations: 4 kB / 280 MB, free: 9.871 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.009395, allocations: 4 kB / 280 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.389e-06/0.009399, allocations: 4 kB / 280 MB, free: 9.863 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.009402, allocations: 7.969 kB / 280 MB, free: 9.855 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000241/0.009643, allocations: 425.9 kB / 280.4 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.18e-05/0.009695, allocations: 31.83 kB / 280.5 MB, free: 9.375 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.00972, allocations: 8 kB / 280.5 MB, free: 9.367 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.151e-05/0.009792, allocations: 15.98 kB / 280.5 MB, free: 9.352 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.642e-05/0.009828, allocations: 0 / 280.5 MB, free: 9.352 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.009834, allocations: 4 kB / 280.5 MB, free: 9.348 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.712e-05/0.009912, allocations: 172.3 kB / 280.7 MB, free: 9.18 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009912, allocations: 0 / 280.7 MB, free: 9.18 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001899/0.0101, allocations: 19.94 kB / 280.7 MB, free: 9.16 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 9.219e-05/0.01019, allocations: 103.2 kB / 280.8 MB, free: 9.047 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000125/0.01032, allocations: 51.59 kB / 280.8 MB, free: 8.992 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.01032, allocations: 0 / 280.8 MB, free: 8.992 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.531e-05/0.01034, allocations: 11.69 kB / 280.9 MB, free: 8.977 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003897/0.01073, allocations: 95.62 kB / 280.9 MB, free: 8.883 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006076/0.01133, allocations: 306.7 kB / 281.2 MB, free: 8.539 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.52e-05/0.01139, allocations: 83.81 kB / 281.3 MB, free: 8.438 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.984e-05/0.01143, allocations: 9.344 kB / 281.3 MB, free: 8.43 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.656e-05/0.01146, allocations: 16.44 kB / 281.4 MB, free: 8.414 MB / 266.7 MB Notification: Performance of SimCode: time 1.353e-06/0.01147, allocations: 0 / 281.4 MB, free: 8.414 MB / 266.7 MB Notification: Performance of Templates: time 0.003746/0.01521, allocations: 1.925 MB / 283.3 MB, free: 6.523 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",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.6718571512028575]