Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001654/0.001654, allocations: 202.1 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.747/1.747, allocations: 229.5 MB / 247.7 MB, free: 6.328 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008871/0.0008871, allocations: 99.64 kB / 299.9 MB, free: 5.332 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002659/0.000266, allocations: 8 kB / 360.6 MB, free: 8.465 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.309, allocations: 51.42 MB / 412.1 MB, free: 25.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.002323/0.3114, allocations: 1.602 MB / 413.7 MB, free: 24.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002128/0.3136, allocations: 1.663 MB / 415.3 MB, free: 22.47 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002337/0.3139, allocations: 4 kB / 415.3 MB, free: 22.47 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007876/0.3147, allocations: 145 kB / 415.5 MB, free: 22.33 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003908/0.3151, allocations: 136.3 kB / 415.6 MB, free: 22.2 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006959/0.3158, allocations: 189.4 kB / 415.8 MB, free: 22.01 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002411/0.316, allocations: 191.4 kB / 416 MB, free: 21.82 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001663/0.3162, allocations: 45.02 kB / 416 MB, free: 21.79 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.3163, allocations: 67.64 kB / 416.1 MB, free: 21.72 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.3165, allocations: 71.62 kB / 416.2 MB, free: 21.65 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.571e-05/0.3165, allocations: 4 kB / 416.2 MB, free: 21.64 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002317/0.3167, allocations: 47.86 kB / 416.2 MB, free: 21.6 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.048e-05/0.3168, allocations: 39.75 kB / 416.2 MB, free: 21.56 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.3169, allocations: 97.17 kB / 416.3 MB, free: 21.46 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002999/0.3172, allocations: 208.8 kB / 416.5 MB, free: 21.26 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.218e-06/0.3173, allocations: 0 / 416.5 MB, free: 21.26 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3173, allocations: 3.938 kB / 416.5 MB, free: 21.25 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.3173, allocations: 0 / 416.5 MB, free: 21.25 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.0008397/0.3181, allocations: 496.3 kB / 417 MB, free: 20.71 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.3182, allocations: 8.031 kB / 417 MB, free: 20.71 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.16e-05/0.3183, allocations: 20.66 kB / 417.1 MB, free: 20.69 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003391/0.3186, allocations: 264.6 kB / 417.3 MB, free: 20.39 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.943e-05/0.3186, allocations: 12.31 kB / 417.3 MB, free: 20.38 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/0.3187, allocations: 8.125 kB / 417.3 MB, free: 20.37 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003686/0.319, allocations: 159.6 kB / 417.5 MB, free: 20.19 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.3191, allocations: 0 / 417.5 MB, free: 20.19 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.3191, allocations: 4 kB / 417.5 MB, free: 20.18 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.3191, allocations: 0 / 417.5 MB, free: 20.18 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.3192, allocations: 47.91 kB / 417.5 MB, free: 20.14 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004832/0.3197, allocations: 462.4 kB / 418 MB, free: 19.62 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.3199, allocations: 130.5 kB / 418.1 MB, free: 19.46 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.616e-05/0.32, allocations: 55.42 kB / 418.2 MB, free: 19.39 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.32, allocations: 7.938 kB / 418.2 MB, free: 19.39 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001593/0.3202, allocations: 93.03 kB / 418.3 MB, free: 19.28 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.3202, allocations: 0 / 418.3 MB, free: 19.28 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003657/0.3206, allocations: 161.5 kB / 418.4 MB, free: 19.11 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/0.3207, allocations: 162.2 kB / 418.6 MB, free: 18.92 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002443/0.321, allocations: 273 kB / 418.9 MB, free: 18.64 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.321, allocations: 25.7 kB / 418.9 MB, free: 18.61 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.604e-05/0.3211, allocations: 120.4 kB / 419 MB, free: 18.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.3211, allocations: 23.7 kB / 419 MB, free: 18.46 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-06/0.3211, allocations: 0 / 419 MB, free: 18.46 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.745e-05/0.3212, allocations: 334.9 kB / 419.3 MB, free: 18.12 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.909e-05/0.3213, allocations: 23.98 kB / 419.4 MB, free: 18.1 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.042e-05/0.3214, allocations: 82.78 kB / 419.5 MB, free: 18 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.3215, allocations: 85.12 kB / 419.5 MB, free: 17.89 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3215, allocations: 0 / 419.5 MB, free: 17.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001924/0.3217, allocations: 125.3 kB / 419.7 MB, free: 17.77 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.3217, allocations: 8.156 kB / 419.7 MB, free: 17.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.3217, allocations: 4.312 kB / 419.7 MB, free: 17.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.3218, allocations: 4 kB / 419.7 MB, free: 17.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.515e-05/0.3219, allocations: 15.94 kB / 419.7 MB, free: 17.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.3219, allocations: 8 kB / 419.7 MB, free: 17.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.403e-05/0.322, allocations: 19.8 kB / 419.7 MB, free: 17.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.322, allocations: 8 kB / 419.7 MB, free: 17.7 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 0.0001063/0.3221, allocations: 141.8 kB / 419.9 MB, free: 17.55 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.751e-05/0.3222, allocations: 77.34 kB / 419.9 MB, free: 17.47 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.446e-05/0.3222, allocations: 25.7 kB / 420 MB, free: 17.44 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.3222, allocations: 4 kB / 420 MB, free: 17.44 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.3223, allocations: 0 / 420 MB, free: 17.44 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.3223, allocations: 11.92 kB / 420 MB, free: 17.43 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.3225, allocations: 233.6 kB / 420.2 MB, free: 17.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3225, allocations: 0 / 420.2 MB, free: 17.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.552e-05/0.3225, allocations: 7.938 kB / 420.2 MB, free: 17.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.3225, allocations: 0 / 420.2 MB, free: 17.14 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.3225, allocations: 4 kB / 420.2 MB, free: 17.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.3225, allocations: 4.062 kB / 420.2 MB, free: 17.13 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3225, allocations: 7.938 kB / 420.2 MB, free: 17.12 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000214/0.3228, allocations: 171.3 kB / 420.4 MB, free: 16.93 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.788e-05/0.3228, allocations: 112.8 kB / 420.5 MB, free: 16.8 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.032e-05/0.3229, allocations: 8 kB / 420.5 MB, free: 16.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.072e-05/0.3229, allocations: 4 kB / 420.5 MB, free: 16.79 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.738e-05/0.323, allocations: 19.86 kB / 420.5 MB, free: 16.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.323, allocations: 4 kB / 420.5 MB, free: 16.77 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001459/0.3232, allocations: 200.5 kB / 420.7 MB, free: 16.57 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3232, allocations: 0 / 420.7 MB, free: 16.57 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000253/0.3234, allocations: 35.91 kB / 420.8 MB, free: 16.54 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.0009599/0.3244, allocations: 480.9 kB / 421.2 MB, free: 16.19 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002167/0.3246, allocations: 75.91 kB / 421.3 MB, free: 16.12 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.3246, allocations: 0 / 421.3 MB, free: 16.12 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.52e-05/0.3247, allocations: 35.91 kB / 421.4 MB, free: 16.08 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004271/0.3252, allocations: 59.05 kB / 421.4 MB, free: 16.03 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005188/0.3257, allocations: 385.3 kB / 421.8 MB, free: 15.61 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002059/0.3259, allocations: 0.7322 MB / 422.5 MB, free: 14.85 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.735e-05/0.326, allocations: 25.55 kB / 422.5 MB, free: 14.83 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.1e-05/0.326, allocations: 19.38 kB / 422.6 MB, free: 14.81 MB / 298.7 MB Notification: Performance of SimCode: time 4.5e-07/0.3261, allocations: 7.938 kB / 422.6 MB, free: 14.8 MB / 298.7 MB Notification: Performance of Templates: time 0.005431/0.3315, allocations: 2.421 MB / 425 MB, free: 12.4 MB / 298.7 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","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches