Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008834/0.0008833, allocations: 178.7 kB / 16.71 MB, free: 5.086 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.247/1.247, allocations: 225.7 MB / 243.2 MB, free: 8.457 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007647/0.0007643, allocations: 96.52 kB / 294.4 MB, free: 9.488 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000233/0.0002331, allocations: 11.92 kB / 354.2 MB, free: 13.63 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/0.1955, allocations: 50.42 MB / 404.6 MB, free: 31.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.001834/0.1974, allocations: 1.581 MB / 406.2 MB, free: 29.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001228/0.1986, allocations: 1.205 MB / 407.4 MB, free: 28.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.075e-05/0.1987, allocations: 4.938 kB / 407.4 MB, free: 28.45 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004662/0.1992, allocations: 142.7 kB / 407.5 MB, free: 28.31 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002032/0.1994, allocations: 99.69 kB / 407.6 MB, free: 28.21 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004239/0.1999, allocations: 183.6 kB / 407.8 MB, free: 28.03 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.2, allocations: 183.5 kB / 408 MB, free: 27.85 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.2001, allocations: 40.16 kB / 408 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.149e-05/0.2002, allocations: 75.56 kB / 408.1 MB, free: 27.74 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.882e-05/0.2003, allocations: 63.69 kB / 408.1 MB, free: 27.68 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.2003, allocations: 5.188 kB / 408.1 MB, free: 27.68 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.459e-05/0.2004, allocations: 35.98 kB / 408.2 MB, free: 27.64 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.398e-05/0.2005, allocations: 43.72 kB / 408.2 MB, free: 27.6 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.565e-05/0.2006, allocations: 98.39 kB / 408.3 MB, free: 27.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.2008, allocations: 200.8 kB / 408.5 MB, free: 27.3 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2008, allocations: 0 / 408.5 MB, free: 27.3 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2008, allocations: 0 / 408.5 MB, free: 27.3 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.2008, allocations: 3.062 kB / 408.5 MB, free: 27.3 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004763/0.2013, allocations: 484.8 kB / 409 MB, free: 26.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.979e-05/0.2013, allocations: 8.031 kB / 409 MB, free: 26.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.925e-05/0.2014, allocations: 20.75 kB / 409 MB, free: 26.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002262/0.2016, allocations: 278.6 kB / 409.3 MB, free: 26.44 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.2016, allocations: 5.25 kB / 409.3 MB, free: 26.43 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.2016, allocations: 12.12 kB / 409.3 MB, free: 26.42 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002574/0.2019, allocations: 156.6 kB / 409.5 MB, free: 26.24 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.2019, allocations: 7.938 kB / 409.5 MB, free: 26.23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.2019, allocations: 0 / 409.5 MB, free: 26.23 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.2019, allocations: 0 / 409.5 MB, free: 26.23 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.731e-05/0.202, allocations: 39.92 kB / 409.5 MB, free: 26.2 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003727/0.2024, allocations: 442.6 kB / 409.9 MB, free: 25.7 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.2026, allocations: 138.5 kB / 410.1 MB, free: 25.53 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.06e-05/0.2027, allocations: 55.42 kB / 410.1 MB, free: 25.46 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.014e-05/0.2027, allocations: 8.047 kB / 410.1 MB, free: 25.46 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001437/0.2029, allocations: 97.03 kB / 410.2 MB, free: 25.34 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.2029, allocations: 0 / 410.2 MB, free: 25.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002944/0.2032, allocations: 153.3 kB / 410.4 MB, free: 25.19 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/0.2033, allocations: 170.5 kB / 410.5 MB, free: 24.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.2034, allocations: 261 kB / 410.8 MB, free: 24.72 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.2035, allocations: 29.7 kB / 410.8 MB, free: 24.69 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.227e-05/0.2035, allocations: 124.2 kB / 410.9 MB, free: 24.56 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.2035, allocations: 19.8 kB / 411 MB, free: 24.54 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-06/0.2036, allocations: 4 kB / 411 MB, free: 24.54 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.915e-05/0.2036, allocations: 326.8 kB / 411.3 MB, free: 24.21 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.44e-05/0.2037, allocations: 23.98 kB / 411.3 MB, free: 24.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.503e-05/0.2038, allocations: 82.86 kB / 411.4 MB, free: 24.08 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.2039, allocations: 93.05 kB / 411.5 MB, free: 23.97 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2039, allocations: 3.938 kB / 411.5 MB, free: 23.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001678/0.204, allocations: 125.4 kB / 411.6 MB, free: 23.84 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.2041, allocations: 4 kB / 411.6 MB, free: 23.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.2041, allocations: 4 kB / 411.6 MB, free: 23.83 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.2041, allocations: 160 / 411.6 MB, free: 23.83 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.271e-05/0.2042, allocations: 19.98 kB / 411.6 MB, free: 23.81 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.2042, allocations: 0 / 411.6 MB, free: 23.81 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.853e-05/0.2043, allocations: 12.25 kB / 411.7 MB, free: 23.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.2043, allocations: 11.94 kB / 411.7 MB, free: 23.79 MB / 298.7 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 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,table.y,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,shiftSample1.y,hold1.u,hold1.y,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 8.98e-05/0.2044, allocations: 153.6 kB / 411.8 MB, free: 23.62 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.473e-05/0.2044, allocations: 73.34 kB / 411.9 MB, free: 23.55 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.697e-05/0.2045, allocations: 25.77 kB / 411.9 MB, free: 23.52 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.2045, allocations: 4 kB / 411.9 MB, free: 23.51 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.2045, allocations: 4 kB / 411.9 MB, free: 23.51 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2045, allocations: 3.938 kB / 411.9 MB, free: 23.5 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/0.2047, allocations: 229.6 kB / 412.1 MB, free: 23.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.2047, allocations: 4 kB / 412.2 MB, free: 23.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.413e-05/0.2047, allocations: 4 kB / 412.2 MB, free: 23.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2047, allocations: 0 / 412.2 MB, free: 23.22 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.2047, allocations: 4 kB / 412.2 MB, free: 23.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/0.2047, allocations: 3.984 kB / 412.2 MB, free: 23.21 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.2048, allocations: 4 kB / 412.2 MB, free: 23.21 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001893/0.2049, allocations: 183.2 kB / 412.3 MB, free: 23 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6e-05/0.205, allocations: 108.9 kB / 412.5 MB, free: 22.88 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.885e-05/0.2051, allocations: 4 kB / 412.5 MB, free: 22.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.002e-05/0.2051, allocations: 7.984 kB / 412.5 MB, free: 22.87 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.13e-05/0.2052, allocations: 15.94 kB / 412.5 MB, free: 22.85 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.2052, allocations: 4 kB / 412.5 MB, free: 22.85 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001287/0.2053, allocations: 192.5 kB / 412.7 MB, free: 22.66 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2053, allocations: 0 / 412.7 MB, free: 22.66 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002131/0.2055, allocations: 31.98 kB / 412.7 MB, free: 22.63 MB / 298.7 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.0008033/0.2064, allocations: 484.3 kB / 413.2 MB, free: 22.29 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001787/0.2065, allocations: 79.84 kB / 413.3 MB, free: 22.21 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2066, allocations: 0 / 413.3 MB, free: 22.21 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.623e-05/0.2066, allocations: 31.92 kB / 413.3 MB, free: 22.18 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.207, allocations: 64.42 kB / 413.3 MB, free: 22.11 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003935/0.2074, allocations: 380.8 kB / 413.7 MB, free: 21.71 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.2075, allocations: 0.7283 MB / 414.4 MB, free: 20.95 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.165e-05/0.2076, allocations: 21.53 kB / 414.5 MB, free: 20.93 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.332e-05/0.2076, allocations: 27.42 kB / 414.5 MB, free: 20.91 MB / 298.7 MB Notification: Performance of SimCode: time 1.9e-07/0.2076, allocations: 0 / 414.5 MB, free: 20.91 MB / 298.7 MB Notification: Performance of Templates: time 0.004229/0.2119, allocations: 2.383 MB / 416.9 MB, free: 18.54 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches