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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001586/0.001586, allocations: 109.5 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001904/0.001904, allocations: 210.8 kB / 23.54 MB, free: 5.391 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.542/1.542, allocations: 230.2 MB / 256.7 MB, free: 8.645 MB / 206.1 MB [Timeout remaining time 88] 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 0.002094/0.002094, allocations: 67.89 kB / 376.9 MB, free: 3.797 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3362, allocations: 53.32 MB / 430.2 MB, free: 7.633 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003422/0.3397, allocations: 1.877 MB / 432.1 MB, free: 5.746 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.341, allocations: 0.7091 MB / 432.8 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.3411, allocations: 11.94 kB / 432.8 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001392/0.3412, allocations: 19.78 kB / 432.8 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001249/0.3413, allocations: 23.75 kB / 432.8 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003922/0.3417, allocations: 111.7 kB / 433 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002088/0.3419, allocations: 147.5 kB / 433.1 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.3421, allocations: 49.69 kB / 433.1 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.3422, allocations: 51.8 kB / 433.2 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.872e-05/0.3423, allocations: 59.58 kB / 433.3 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.353e-05/0.3423, allocations: 8 kB / 433.3 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.816e-05/0.3424, allocations: 31.98 kB / 433.3 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.802e-05/0.3425, allocations: 23.92 kB / 433.3 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.577e-05/0.3425, allocations: 59.55 kB / 433.4 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002422/0.3428, allocations: 152.6 kB / 433.5 MB, free: 4.301 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.3428, allocations: 0 / 433.5 MB, free: 4.301 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3428, allocations: 3.938 kB / 433.5 MB, free: 4.297 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.3428, allocations: 0 / 433.5 MB, free: 4.297 MB / 334.1 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.0006548/0.3434, allocations: 458.8 kB / 434 MB, free: 3.801 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.3435, allocations: 8.031 kB / 434 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001658/0.3436, allocations: 32.83 kB / 434 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003902/0.344, allocations: 253 kB / 434.3 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.344, allocations: 8.125 kB / 434.3 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.3441, allocations: 15.94 kB / 434.3 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006184/0.3447, allocations: 278.9 kB / 434.6 MB, free: 3.152 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.3447, allocations: 0 / 434.6 MB, free: 3.152 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.3447, allocations: 4 kB / 434.6 MB, free: 3.148 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.3447, allocations: 11.92 kB / 434.6 MB, free: 3.137 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002077/0.3449, allocations: 75.88 kB / 434.6 MB, free: 3.062 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005175/0.3454, allocations: 431.5 kB / 435.1 MB, free: 2.578 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004791/0.3459, allocations: 286.1 kB / 435.3 MB, free: 2.234 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/0.3461, allocations: 100.3 kB / 435.4 MB, free: 2.121 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.3461, allocations: 7.984 kB / 435.5 MB, free: 2.113 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.735e-05/0.3462, allocations: 46.5 kB / 435.5 MB, free: 2.059 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.353e-06/0.3462, allocations: 0 / 435.5 MB, free: 2.059 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005659/0.3468, allocations: 221.3 kB / 435.7 MB, free: 1.836 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001467/0.3469, allocations: 200.2 kB / 435.9 MB, free: 1.598 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.3471, allocations: 182.2 kB / 436.1 MB, free: 1.41 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.247e-05/0.3471, allocations: 29.7 kB / 436.1 MB, free: 1.375 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.47e-05/0.3472, allocations: 104.5 kB / 436.2 MB, free: 1.266 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.765e-05/0.3472, allocations: 19.88 kB / 436.2 MB, free: 1.246 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.827e-05/0.3473, allocations: 37.66 kB / 436.3 MB, free: 1.203 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.3474, allocations: 326.8 kB / 436.6 MB, free: 0.875 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.628e-05/0.3475, allocations: 23.98 kB / 436.6 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.3477, allocations: 139.4 kB / 436.8 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002392/0.3479, allocations: 170.4 kB / 436.9 MB, free: 452 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3479, allocations: 0 / 436.9 MB, free: 452 kB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003046/0.3482, allocations: 177.3 kB / 437.1 MB, free: 268 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.3482, allocations: 11.94 kB / 437.1 MB, free: 256 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.3482, allocations: 4 kB / 437.1 MB, free: 252 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.3483, allocations: 4 kB / 437.1 MB, free: 248 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.3484, allocations: 39.91 kB / 437.2 MB, free: 208 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.3484, allocations: 8 kB / 437.2 MB, free: 200 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.806e-05/0.3485, allocations: 16.3 kB / 437.2 MB, free: 184 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.3485, allocations: 16 kB / 437.2 MB, free: 168 kB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (19): * Single equations (assignments): 19 * 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.0001281/0.3487, allocations: 137.7 kB / 437.3 MB, free: 20 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003082/0.349, allocations: 138 kB / 437.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.918e-05/0.349, allocations: 29.39 kB / 437.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.349, allocations: 0 / 437.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.349, allocations: 7.938 kB / 437.5 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.349, allocations: 3.938 kB / 437.5 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003146/0.3494, allocations: 221.5 kB / 437.7 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.3494, allocations: 8 kB / 437.7 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001487/0.3495, allocations: 39.92 kB / 437.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.3495, allocations: 3.984 kB / 437.8 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.3495, allocations: 8 kB / 437.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3495, allocations: 3.938 kB / 437.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.3495, allocations: 4 kB / 437.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004361/0.35, allocations: 367.8 kB / 438.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.3501, allocations: 109.2 kB / 438.2 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.838e-05/0.3501, allocations: 7.984 kB / 438.3 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.3502, allocations: 8 kB / 438.3 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/0.3503, allocations: 19.91 kB / 438.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.3503, allocations: 4 kB / 438.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001285/0.3504, allocations: 136.3 kB / 438.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3504, allocations: 0 / 438.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000324/0.3507, allocations: 20 kB / 438.4 MB, free: 14.8 MB / 350.1 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.0001456/0.3509, allocations: 111.2 kB / 438.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003212/0.3512, allocations: 115.8 kB / 438.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3512, allocations: 0 / 438.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.444e-05/0.3513, allocations: 12 kB / 438.7 MB, free: 14.55 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006549/0.3519, allocations: 101.2 kB / 438.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006853/0.3526, allocations: 356.8 kB / 439.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003939/0.353, allocations: 0.7241 MB / 439.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.637e-05/0.353, allocations: 19.44 kB / 439.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.353, allocations: 7.938 kB / 439.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of Templates: time 0.004009/0.357, allocations: 1.869 MB / 441.7 MB, free: 11.43 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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