Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00137/0.00137, allocations: 118.6 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001483/0.001483, allocations: 207.6 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.408/1.408, allocations: 227.7 MB / 247.9 MB, free: 10.15 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 59.91 kB / 359.7 MB, free: 12.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2494, allocations: 50.54 MB / 410.2 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.003335/0.2527, allocations: 1.926 MB / 412.1 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002172/0.2549, allocations: 1.3 MB / 413.4 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.255, allocations: 4 kB / 413.4 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000281/0.2553, allocations: 71.59 kB / 413.5 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003583/0.2556, allocations: 139.4 kB / 413.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006124/0.2562, allocations: 225.6 kB / 413.9 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002585/0.2565, allocations: 187.4 kB / 414 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.2566, allocations: 21.56 kB / 414.1 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.2567, allocations: 83.67 kB / 414.1 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.2568, allocations: 83.62 kB / 414.2 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.2569, allocations: 8 kB / 414.2 MB, free: 13.37 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001591/0.257, allocations: 71.89 kB / 414.3 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.475e-05/0.2571, allocations: 55.83 kB / 414.4 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.924e-05/0.2572, allocations: 79.42 kB / 414.4 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003673/0.2576, allocations: 254.7 kB / 414.7 MB, free: 12.92 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2576, allocations: 0 / 414.7 MB, free: 12.92 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2576, allocations: 3.938 kB / 414.7 MB, free: 12.92 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.2576, allocations: 7.938 kB / 414.7 MB, free: 12.91 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008082/0.2584, allocations: 0.5387 MB / 415.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.2584, allocations: 12.03 kB / 415.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.11e-05/0.2585, allocations: 32.75 kB / 415.3 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004484/0.2589, allocations: 295.6 kB / 415.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.259, allocations: 8.375 kB / 415.6 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.259, allocations: 8.125 kB / 415.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003792/0.2594, allocations: 176.4 kB / 415.8 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.2594, allocations: 0 / 415.8 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.2594, allocations: 0 / 415.8 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.2594, allocations: 4 kB / 415.8 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.2595, allocations: 43.92 kB / 415.8 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005986/0.2601, allocations: 474.5 kB / 416.3 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002814/0.2604, allocations: 134.5 kB / 416.4 MB, free: 10.99 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.2605, allocations: 59.36 kB / 416.5 MB, free: 10.92 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/0.2605, allocations: 8 kB / 416.5 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001914/0.2607, allocations: 93.05 kB / 416.5 MB, free: 10.8 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.302e-06/0.2607, allocations: 0 / 416.5 MB, free: 10.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004263/0.2611, allocations: 173.7 kB / 416.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/0.2613, allocations: 191.9 kB / 416.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003835/0.2616, allocations: 339 kB / 417.2 MB, free: 10.05 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.2617, allocations: 25.7 kB / 417.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.2618, allocations: 140.3 kB / 417.4 MB, free: 9.875 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.2618, allocations: 15.91 kB / 417.4 MB, free: 9.859 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-05/0.2619, allocations: 33.7 kB / 417.4 MB, free: 9.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.262, allocations: 342.8 kB / 417.8 MB, free: 9.477 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.885e-05/0.2621, allocations: 31.92 kB / 417.8 MB, free: 9.445 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.2622, allocations: 98.45 kB / 417.9 MB, free: 9.324 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.2624, allocations: 105.3 kB / 418 MB, free: 9.203 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.2624, allocations: 0 / 418 MB, free: 9.203 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002682/0.2627, allocations: 137.4 kB / 418.1 MB, free: 9.062 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.2627, allocations: 8.156 kB / 418.2 MB, free: 9.055 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2627, allocations: 4 kB / 418.2 MB, free: 9.051 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.2627, allocations: 4 kB / 418.2 MB, free: 9.047 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.2629, allocations: 19.98 kB / 418.2 MB, free: 9.027 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/0.2629, allocations: 4 kB / 418.2 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.166e-05/0.2629, allocations: 11.89 kB / 418.2 MB, free: 9.012 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.263, allocations: 8 kB / 418.2 MB, free: 9.004 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,shiftSample1.y,hold1.y,hold1.u,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001576/0.2631, allocations: 161.6 kB / 418.4 MB, free: 8.836 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.2632, allocations: 77.55 kB / 418.4 MB, free: 8.754 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.543e-05/0.2633, allocations: 33.67 kB / 418.5 MB, free: 8.723 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.2633, allocations: 3.938 kB / 418.5 MB, free: 8.719 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.2633, allocations: 0 / 418.5 MB, free: 8.719 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.2633, allocations: 7.938 kB / 418.5 MB, free: 8.711 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002545/0.2635, allocations: 245.7 kB / 418.7 MB, free: 8.422 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.2635, allocations: 7.984 kB / 418.7 MB, free: 8.414 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.489e-05/0.2636, allocations: 15.98 kB / 418.7 MB, free: 8.398 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.2636, allocations: 0 / 418.7 MB, free: 8.398 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.2636, allocations: 4 kB / 418.8 MB, free: 8.395 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.2636, allocations: 64 / 418.8 MB, free: 8.395 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.2636, allocations: 7.984 kB / 418.8 MB, free: 8.387 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003074/0.264, allocations: 191.3 kB / 418.9 MB, free: 8.172 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.2641, allocations: 113 kB / 419.1 MB, free: 8.043 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.583e-05/0.2641, allocations: 11.98 kB / 419.1 MB, free: 8.031 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.08e-05/0.2642, allocations: 8 kB / 419.1 MB, free: 8.023 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.955e-05/0.2642, allocations: 15.92 kB / 419.1 MB, free: 8.008 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.2642, allocations: 4 kB / 419.1 MB, free: 8.004 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002663/0.2645, allocations: 249.9 kB / 419.3 MB, free: 7.762 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2645, allocations: 4 kB / 419.3 MB, free: 7.758 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002761/0.2648, allocations: 35.94 kB / 419.4 MB, free: 7.723 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,hold1.y,hold1.u,shiftSample1.y,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001457/0.2662, allocations: 429.4 kB / 419.8 MB, free: 7.449 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002514/0.2665, allocations: 79.91 kB / 419.9 MB, free: 7.371 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2665, allocations: 0 / 419.9 MB, free: 7.371 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.2666, allocations: 39.91 kB / 419.9 MB, free: 7.332 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004497/0.267, allocations: 77.09 kB / 420 MB, free: 7.254 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006565/0.2677, allocations: 395.2 kB / 420.4 MB, free: 6.832 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.2681, allocations: 0.7437 MB / 421.1 MB, free: 6.062 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.344e-05/0.2682, allocations: 25.55 kB / 421.1 MB, free: 6.039 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.599e-05/0.2682, allocations: 27.42 kB / 421.2 MB, free: 6.012 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2682, allocations: 0 / 421.2 MB, free: 6.012 MB / 334.1 MB Notification: Performance of Templates: time 0.007062/0.2753, allocations: 2.962 MB / 424.1 MB, free: 3.078 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches