Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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 trunk/package.mo", uses=false) 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.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001359/0.001359, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001513/0.001513, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.609/1.609, allocations: 227.4 MB / 246.3 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002474/0.002474, allocations: 60.38 kB / 306.3 MB, free: 1.043 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2019/0.2044, allocations: 50.54 MB / 356.8 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.005787/0.2103, allocations: 1.965 MB / 358.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003148/0.2134, allocations: 1.212 MB / 360 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001906/0.2137, allocations: 4 kB / 360 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007526/0.2145, allocations: 139.1 kB / 360.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004862/0.215, allocations: 139.6 kB / 360.3 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007199/0.2157, allocations: 143.7 kB / 360.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003571/0.2161, allocations: 199.4 kB / 360.6 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.2162, allocations: 37.64 kB / 360.6 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001758/0.2164, allocations: 71.64 kB / 360.7 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.2166, allocations: 71.62 kB / 360.8 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.229e-05/0.2167, allocations: 8 kB / 360.8 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001842/0.2169, allocations: 39.98 kB / 360.8 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.217, allocations: 51.75 kB / 360.9 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.2171, allocations: 75.48 kB / 360.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003904/0.2175, allocations: 203.6 kB / 361.1 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.2176, allocations: 0 / 361.1 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2176, allocations: 4 kB / 361.1 MB, free: 10.14 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.2176, allocations: 0 / 361.1 MB, free: 10.14 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.001053/0.2186, allocations: 0.5079 MB / 361.6 MB, free: 9.574 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.2187, allocations: 16.03 kB / 361.7 MB, free: 9.559 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.206e-05/0.2188, allocations: 24.66 kB / 361.7 MB, free: 9.535 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004771/0.2193, allocations: 274.7 kB / 362 MB, free: 9.223 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.2193, allocations: 384 / 362 MB, free: 9.223 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.986e-05/0.2194, allocations: 20.06 kB / 362 MB, free: 9.203 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004616/0.2199, allocations: 162 kB / 362.1 MB, free: 9.02 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.2199, allocations: 7.938 kB / 362.1 MB, free: 9.012 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.42e-05/0.2199, allocations: 7.984 kB / 362.2 MB, free: 9.004 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.2199, allocations: 0 / 362.2 MB, free: 9.004 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001745/0.2201, allocations: 35.97 kB / 362.2 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007792/0.2209, allocations: 458.5 kB / 362.6 MB, free: 8.461 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004289/0.2214, allocations: 138.5 kB / 362.8 MB, free: 8.289 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/0.2216, allocations: 51.42 kB / 362.8 MB, free: 8.227 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.026e-05/0.2216, allocations: 0 / 362.8 MB, free: 8.227 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002825/0.2219, allocations: 101 kB / 362.9 MB, free: 8.109 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 6.091e-06/0.2219, allocations: 0 / 362.9 MB, free: 8.109 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006952/0.2226, allocations: 161.2 kB / 363.1 MB, free: 7.945 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001324/0.2228, allocations: 162.5 kB / 363.2 MB, free: 7.75 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004965/0.2233, allocations: 281 kB / 363.5 MB, free: 7.469 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/0.2234, allocations: 29.7 kB / 363.5 MB, free: 7.434 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.2235, allocations: 124.4 kB / 363.7 MB, free: 7.305 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.448e-05/0.2235, allocations: 19.8 kB / 363.7 MB, free: 7.285 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.095e-05/0.2236, allocations: 29.72 kB / 363.7 MB, free: 7.25 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.2238, allocations: 334.8 kB / 364 MB, free: 6.914 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.224, allocations: 23.98 kB / 364.1 MB, free: 6.891 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/0.2241, allocations: 78.86 kB / 364.1 MB, free: 6.789 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002488/0.2244, allocations: 93.05 kB / 364.2 MB, free: 6.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.2244, allocations: 0 / 364.2 MB, free: 6.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003955/0.2248, allocations: 125.4 kB / 364.3 MB, free: 6.551 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.2249, allocations: 4 kB / 364.4 MB, free: 6.547 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.2249, allocations: 0 / 364.4 MB, free: 6.547 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.2249, allocations: 4 kB / 364.4 MB, free: 6.543 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.225, allocations: 19.98 kB / 364.4 MB, free: 6.523 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.2251, allocations: 160 / 364.4 MB, free: 6.523 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.2252, allocations: 19.78 kB / 364.4 MB, free: 6.504 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/0.2253, allocations: 4 kB / 364.4 MB, free: 6.5 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.0002017/0.2255, allocations: 149.8 kB / 364.5 MB, free: 6.344 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/0.2257, allocations: 69.34 kB / 364.6 MB, free: 6.27 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.271e-05/0.2257, allocations: 25.7 kB / 364.6 MB, free: 6.246 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.2258, allocations: 4 kB / 364.6 MB, free: 6.242 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.2258, allocations: 0 / 364.6 MB, free: 6.242 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.2258, allocations: 12.31 kB / 364.7 MB, free: 6.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003503/0.2262, allocations: 229.6 kB / 364.9 MB, free: 5.957 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.2262, allocations: 4 kB / 364.9 MB, free: 5.953 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.991e-05/0.2262, allocations: 4 kB / 364.9 MB, free: 5.949 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.2263, allocations: 0 / 364.9 MB, free: 5.949 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.2263, allocations: 11.92 kB / 364.9 MB, free: 5.938 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.2263, allocations: 0 / 364.9 MB, free: 5.938 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.2263, allocations: 4 kB / 364.9 MB, free: 5.934 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004621/0.2268, allocations: 179.2 kB / 365.1 MB, free: 5.73 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001431/0.227, allocations: 108.8 kB / 365.2 MB, free: 5.605 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.343e-05/0.227, allocations: 8 kB / 365.2 MB, free: 5.598 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.2272, allocations: 4 kB / 365.2 MB, free: 5.594 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.014e-05/0.2273, allocations: 11.92 kB / 365.2 MB, free: 5.582 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.581e-05/0.2273, allocations: 4 kB / 365.2 MB, free: 5.578 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003562/0.2277, allocations: 204.5 kB / 365.4 MB, free: 5.379 MB / 302.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.2277, allocations: 0 / 365.4 MB, free: 5.379 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005051/0.2282, allocations: 35.98 kB / 365.4 MB, free: 5.344 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.001663/0.2299, allocations: 428.2 kB / 365.9 MB, free: 5.055 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003493/0.2303, allocations: 76.16 kB / 365.9 MB, free: 4.98 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.2303, allocations: 4.062 kB / 365.9 MB, free: 4.977 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.2304, allocations: 31.92 kB / 366 MB, free: 4.945 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007079/0.2312, allocations: 57.52 kB / 366 MB, free: 4.887 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000909/0.2321, allocations: 375.6 kB / 366.4 MB, free: 4.48 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004518/0.2326, allocations: 0.7361 MB / 367.1 MB, free: 3.719 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001256/0.2327, allocations: 29.47 kB / 367.2 MB, free: 3.691 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.121e-05/0.2328, allocations: 15.44 kB / 367.2 MB, free: 3.68 MB / 302.1 MB Notification: Performance of SimCode: time 6.81e-07/0.2328, allocations: 0 / 367.2 MB, free: 3.68 MB / 302.1 MB Notification: Performance of Templates: time 0.009412/0.2422, allocations: 2.444 MB / 369.6 MB, free: 1.262 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches