Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008873/0.0008873, allocations: 93.31 kB / 17.31 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009603/0.0009603, allocations: 178.1 kB / 18.21 MB, free: 5.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.275/1.275, allocations: 223.3 MB / 242.3 MB, free: 14.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002258/0.0002258, allocations: 7.938 kB / 302.1 MB, free: 5.902 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07152/0.07176, allocations: 50.42 MB / 352.5 MB, free: 3.477 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.001936/0.07371, allocations: 1.605 MB / 354.1 MB, free: 1.855 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.07536, allocations: 1.107 MB / 355.2 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.755e-05/0.07547, allocations: 0 / 355.2 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002576/0.07574, allocations: 55.8 kB / 355.3 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000199/0.07595, allocations: 79.73 kB / 355.3 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006321/0.07659, allocations: 232.4 kB / 355.6 MB, free: 396 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.0768, allocations: 167.5 kB / 355.7 MB, free: 228 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.83e-05/0.0769, allocations: 29.53 kB / 355.8 MB, free: 200 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.61e-05/0.07701, allocations: 71.58 kB / 355.8 MB, free: 128 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.07712, allocations: 75.67 kB / 355.9 MB, free: 52 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.07715, allocations: 4 kB / 355.9 MB, free: 48 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.07729, allocations: 56 kB / 356 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.137e-05/0.07737, allocations: 47.73 kB / 356 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.04e-05/0.07746, allocations: 97.12 kB / 356.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002058/0.07767, allocations: 171.9 kB / 356.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.07768, allocations: 0 / 356.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.72e-07/0.07769, allocations: 0 / 356.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.0777, allocations: 0 / 356.3 MB, free: 15.68 MB / 302.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.0005779/0.07828, allocations: 0.5117 MB / 356.8 MB, free: 15.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.07832, allocations: 12.03 kB / 356.8 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.373e-05/0.07838, allocations: 24.66 kB / 356.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002964/0.07868, allocations: 283.6 kB / 357.1 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.07871, allocations: 4.375 kB / 357.1 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.07874, allocations: 12.12 kB / 357.1 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003236/0.07907, allocations: 191.5 kB / 357.3 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.07909, allocations: 0 / 357.3 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.07911, allocations: 0 / 357.3 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.07912, allocations: 4 kB / 357.3 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.07924, allocations: 39.92 kB / 357.3 MB, free: 14.49 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005017/0.07975, allocations: 470.5 kB / 357.8 MB, free: 13.97 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002544/0.08001, allocations: 150.5 kB / 358 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.08014, allocations: 55.42 kB / 358 MB, free: 13.72 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.08017, allocations: 4 kB / 358 MB, free: 13.71 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001892/0.08037, allocations: 101.1 kB / 358.1 MB, free: 13.6 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.512e-06/0.08038, allocations: 0 / 358.1 MB, free: 13.6 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003895/0.08077, allocations: 169.2 kB / 358.3 MB, free: 13.43 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.099e-05/0.08087, allocations: 192.3 kB / 358.5 MB, free: 13.2 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000319/0.08119, allocations: 330.7 kB / 358.8 MB, free: 12.86 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.08122, allocations: 25.7 kB / 358.8 MB, free: 12.83 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.291e-05/0.08131, allocations: 132.3 kB / 358.9 MB, free: 12.69 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.628e-05/0.08134, allocations: 19.73 kB / 359 MB, free: 12.67 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.128e-05/0.08138, allocations: 21.72 kB / 359 MB, free: 12.64 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.778e-05/0.08148, allocations: 334.8 kB / 359.3 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.737e-05/0.08156, allocations: 27.98 kB / 359.3 MB, free: 12.28 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.08169, allocations: 103.6 kB / 359.4 MB, free: 12.15 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000165/0.08186, allocations: 93.08 kB / 359.5 MB, free: 12.04 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.08187, allocations: 0 / 359.5 MB, free: 12.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000242/0.08212, allocations: 133.3 kB / 359.7 MB, free: 11.91 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.08214, allocations: 7.984 kB / 359.7 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.08216, allocations: 7.938 kB / 359.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.08217, allocations: 0 / 359.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.0823, allocations: 32.09 kB / 359.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.08231, allocations: 3.984 kB / 359.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.476e-05/0.0824, allocations: 11.84 kB / 359.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.08242, allocations: 8 kB / 359.7 MB, free: 11.84 MB / 302.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.0001265/0.08255, allocations: 149.8 kB / 359.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.037e-05/0.08265, allocations: 73.34 kB / 359.9 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.926e-05/0.08271, allocations: 25.7 kB / 360 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.08272, allocations: 12.09 kB / 360 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.08273, allocations: 0 / 360 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.08274, allocations: 3.938 kB / 360 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.08295, allocations: 249.8 kB / 360.2 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.08296, allocations: 0 / 360.2 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.591e-05/0.08304, allocations: 19.98 kB / 360.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.08305, allocations: 0 / 360.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.08307, allocations: 4 kB / 360.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.08308, allocations: 3.938 kB / 360.3 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.08308, allocations: 4 kB / 360.3 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/0.08336, allocations: 187.2 kB / 360.4 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.236e-05/0.08346, allocations: 116.8 kB / 360.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.388e-05/0.0835, allocations: 8 kB / 360.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.688e-05/0.08359, allocations: 7.984 kB / 360.6 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.831e-05/0.08364, allocations: 19.92 kB / 360.6 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.08366, allocations: 7.938 kB / 360.6 MB, free: 10.85 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002196/0.08389, allocations: 241.9 kB / 360.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.0839, allocations: 0 / 360.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002767/0.08418, allocations: 39.98 kB / 360.9 MB, free: 10.58 MB / 302.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.0009017/0.08509, allocations: 421.9 kB / 361.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000221/0.08532, allocations: 91.89 kB / 361.4 MB, free: 10.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.08533, allocations: 0 / 361.4 MB, free: 10.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.776e-05/0.08542, allocations: 31.92 kB / 361.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004189/0.08585, allocations: 68.55 kB / 361.5 MB, free: 10.13 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005921/0.08646, allocations: 467.3 kB / 361.9 MB, free: 9.637 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.08673, allocations: 0.7401 MB / 362.7 MB, free: 8.871 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.156e-05/0.08679, allocations: 23.44 kB / 362.7 MB, free: 8.848 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.08679, allocations: 0 / 362.7 MB, free: 8.848 MB / 302.1 MB Notification: Performance of Templates: time 0.004613/0.09141, allocations: 2.956 MB / 365.7 MB, free: 5.898 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches