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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00128/0.00128, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 226.7 MB / 245.5 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009953/0.0009954, allocations: 100.9 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009218/0.0009218, allocations: 51.92 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2372, allocations: 50.45 MB / 407.1 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.002595/0.2398, allocations: 1.918 MB / 409 MB, free: 25.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009042/0.2408, allocations: 0.6572 MB / 409.6 MB, free: 25.22 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.2409, allocations: 4 kB / 409.6 MB, free: 25.22 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001715/0.2411, allocations: 11.86 kB / 409.6 MB, free: 25.21 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.2412, allocations: 24.38 kB / 409.7 MB, free: 25.18 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002939/0.2415, allocations: 95.8 kB / 409.8 MB, free: 25.09 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000132/0.2417, allocations: 131.6 kB / 409.9 MB, free: 24.96 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.2418, allocations: 65.69 kB / 410 MB, free: 24.89 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.2419, allocations: 51.72 kB / 410 MB, free: 24.84 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.347e-05/0.242, allocations: 43.72 kB / 410 MB, free: 24.8 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.242, allocations: 8 kB / 410.1 MB, free: 24.79 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.459e-05/0.2421, allocations: 11.98 kB / 410.1 MB, free: 24.78 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.404e-05/0.2421, allocations: 27.84 kB / 410.1 MB, free: 24.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.554e-05/0.2422, allocations: 55.61 kB / 410.1 MB, free: 24.7 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001438/0.2423, allocations: 135.5 kB / 410.3 MB, free: 24.57 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2423, allocations: 0 / 410.3 MB, free: 24.57 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.2424, allocations: 3.938 kB / 410.3 MB, free: 24.56 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.2424, allocations: 0 / 410.3 MB, free: 24.56 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.0005077/0.2429, allocations: 456.5 kB / 410.7 MB, free: 24.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.2429, allocations: 8.031 kB / 410.7 MB, free: 24.06 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001577/0.2431, allocations: 32.64 kB / 410.8 MB, free: 24.03 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.2433, allocations: 237.4 kB / 411 MB, free: 23.76 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.2433, allocations: 12.12 kB / 411 MB, free: 23.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.2433, allocations: 15.94 kB / 411 MB, free: 23.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004673/0.2438, allocations: 275.7 kB / 411.3 MB, free: 23.43 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.2438, allocations: 4 kB / 411.3 MB, free: 23.43 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.2439, allocations: 8 kB / 411.3 MB, free: 23.42 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.2439, allocations: 7.922 kB / 411.3 MB, free: 23.41 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001829/0.2441, allocations: 71.89 kB / 411.4 MB, free: 23.34 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003724/0.2444, allocations: 439.3 kB / 411.8 MB, free: 22.85 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003615/0.2448, allocations: 294 kB / 412.1 MB, free: 22.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.245, allocations: 108.4 kB / 412.2 MB, free: 22.38 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.704e-05/0.245, allocations: 8 kB / 412.2 MB, free: 22.37 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.2451, allocations: 46.48 kB / 412.3 MB, free: 22.32 MB / 298.7 MB Notification: Performance of pre-optimization done (n=18): time 1.413e-06/0.2451, allocations: 3.938 kB / 412.3 MB, free: 22.31 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004841/0.2456, allocations: 217.2 kB / 412.5 MB, free: 22.1 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.927e-05/0.2456, allocations: 199.8 kB / 412.7 MB, free: 21.86 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.2458, allocations: 179.1 kB / 412.8 MB, free: 21.68 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.2458, allocations: 25.7 kB / 412.9 MB, free: 21.64 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.239e-05/0.2458, allocations: 100.5 kB / 413 MB, free: 21.54 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.2459, allocations: 15.89 kB / 413 MB, free: 21.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.312e-05/0.2459, allocations: 41.61 kB / 413 MB, free: 21.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.848e-05/0.246, allocations: 326.9 kB / 413.3 MB, free: 21.15 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.85e-05/0.246, allocations: 27.98 kB / 413.4 MB, free: 21.12 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.615e-05/0.2461, allocations: 135.4 kB / 413.5 MB, free: 20.93 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.2463, allocations: 174.4 kB / 413.7 MB, free: 20.71 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.2463, allocations: 3.938 kB / 413.7 MB, free: 20.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002226/0.2465, allocations: 181.1 kB / 413.9 MB, free: 20.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.2466, allocations: 6.812 kB / 413.9 MB, free: 20.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.2466, allocations: 4 kB / 413.9 MB, free: 20.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.2466, allocations: 8 kB / 413.9 MB, free: 20.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.2467, allocations: 35.92 kB / 413.9 MB, free: 20.47 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.2467, allocations: 4.531 kB / 413.9 MB, free: 20.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.881e-05/0.2468, allocations: 23.88 kB / 413.9 MB, free: 20.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.2468, allocations: 11.98 kB / 413.9 MB, free: 20.43 MB / 298.7 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 9.215e-05/0.2469, allocations: 139.2 kB / 414.1 MB, free: 20.29 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002405/0.2472, allocations: 141.3 kB / 414.2 MB, free: 20.14 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.798e-05/0.2472, allocations: 25.39 kB / 414.2 MB, free: 20.12 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.2472, allocations: 4 kB / 414.3 MB, free: 20.11 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2473, allocations: 3.938 kB / 414.3 MB, free: 20.11 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.2473, allocations: 11.97 kB / 414.3 MB, free: 20.1 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002092/0.2475, allocations: 213.5 kB / 414.5 MB, free: 19.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.2475, allocations: 4 kB / 414.5 MB, free: 19.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/0.2476, allocations: 43.91 kB / 414.5 MB, free: 19.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2476, allocations: 3.938 kB / 414.5 MB, free: 19.79 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.2476, allocations: 4 kB / 414.5 MB, free: 19.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.2477, allocations: 0 / 414.5 MB, free: 19.79 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2477, allocations: 4 kB / 414.5 MB, free: 19.78 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005717/0.2482, allocations: 0.9753 MB / 415.5 MB, free: 18.74 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.93e-05/0.2483, allocations: 120.8 kB / 415.6 MB, free: 18.6 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.2483, allocations: 4 kB / 415.6 MB, free: 18.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.2485, allocations: 11.98 kB / 415.6 MB, free: 18.59 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.234e-05/0.2485, allocations: 4 kB / 415.6 MB, free: 18.58 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.2485, allocations: 8 kB / 415.7 MB, free: 18.57 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.221e-05/0.2486, allocations: 145.1 kB / 415.8 MB, free: 18.43 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2486, allocations: 0 / 415.8 MB, free: 18.43 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004281/0.2491, allocations: 20 kB / 415.8 MB, free: 18.41 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: 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.0001018/0.2492, allocations: 107.5 kB / 415.9 MB, free: 18.3 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002555/0.2494, allocations: 115.7 kB / 416 MB, free: 18.19 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.2494, allocations: 5.062 kB / 416 MB, free: 18.18 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.783e-05/0.2495, allocations: 4.062 kB / 416 MB, free: 18.18 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006361/0.2501, allocations: 122.9 kB / 416.2 MB, free: 18.06 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005401/0.2507, allocations: 0.5193 MB / 416.7 MB, free: 17.49 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001813/0.2509, allocations: 0.7319 MB / 417.4 MB, free: 16.73 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.49e-05/0.2509, allocations: 17.55 kB / 417.4 MB, free: 16.71 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.669e-05/0.251, allocations: 15.44 kB / 417.4 MB, free: 16.7 MB / 298.7 MB Notification: Performance of SimCode: time 3e-07/0.251, allocations: 0 / 417.4 MB, free: 16.7 MB / 298.7 MB Notification: Performance of Templates: time 0.004017/0.255, allocations: 1.695 MB / 419.1 MB, free: 15.03 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches