Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 110.9 kB / 17.74 MB, free: 5.359 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.001499/0.0015, allocations: 176.5 kB / 18.66 MB, free: 4.449 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.348/1.348, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001106, allocations: 47.92 kB / 352 MB, free: 3.285 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2345, allocations: 49.44 MB / 401.4 MB, free: 8.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002715/0.2372, allocations: 1.42 MB / 402.8 MB, free: 7.484 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002989/0.2376, allocations: 99.69 kB / 402.9 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.702e-05/0.2376, allocations: 4 kB / 402.9 MB, free: 7.383 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.791e-05/0.2377, allocations: 7.922 kB / 402.9 MB, free: 7.375 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.241e-05/0.2378, allocations: 3.938 kB / 402.9 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003068/0.2381, allocations: 19.97 kB / 403 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.2382, allocations: 27.88 kB / 403 MB, free: 7.324 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.2383, allocations: 11.98 kB / 403 MB, free: 7.312 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.795e-05/0.2383, allocations: 8 kB / 403 MB, free: 7.305 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.397e-05/0.2384, allocations: 7.922 kB / 403 MB, free: 7.297 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.2384, allocations: 7.938 kB / 403 MB, free: 7.289 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.169e-05/0.2384, allocations: 4 kB / 403 MB, free: 7.285 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.213e-05/0.2385, allocations: 11.94 kB / 403 MB, free: 7.273 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.631e-05/0.2385, allocations: 11.94 kB / 403 MB, free: 7.262 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000105/0.2386, allocations: 31.83 kB / 403.1 MB, free: 7.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.2386, allocations: 0 / 403.1 MB, free: 7.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.2386, allocations: 0 / 403.1 MB, free: 7.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.2386, allocations: 0 / 403.1 MB, free: 7.23 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004246/0.2391, allocations: 340.9 kB / 403.4 MB, free: 6.848 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.2391, allocations: 15.89 kB / 403.4 MB, free: 6.832 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.2392, allocations: 4.938 kB / 403.4 MB, free: 6.828 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.2394, allocations: 179.9 kB / 403.6 MB, free: 6.617 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/0.2395, allocations: 4.375 kB / 403.6 MB, free: 6.613 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.2395, allocations: 4.375 kB / 403.6 MB, free: 6.609 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003122/0.2398, allocations: 95.88 kB / 403.7 MB, free: 6.504 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.2398, allocations: 192 / 403.7 MB, free: 6.504 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.2398, allocations: 3.938 kB / 403.7 MB, free: 6.5 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.2399, allocations: 11.98 kB / 403.7 MB, free: 6.488 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.696e-05/0.2399, allocations: 15.94 kB / 403.7 MB, free: 6.473 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001589/0.2401, allocations: 153.7 kB / 403.9 MB, free: 6.273 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.2403, allocations: 46.56 kB / 403.9 MB, free: 6.219 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.342e-05/0.2403, allocations: 28.86 kB / 404 MB, free: 6.188 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.2404, allocations: 3.984 kB / 404 MB, free: 6.184 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.2404, allocations: 34.56 kB / 404 MB, free: 6.141 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.2404, allocations: 0 / 404 MB, free: 6.141 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002885/0.2407, allocations: 65.56 kB / 404.1 MB, free: 6.07 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.2408, allocations: 55.41 kB / 404.1 MB, free: 6.004 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.393e-05/0.2408, allocations: 101.8 kB / 404.2 MB, free: 5.895 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.436e-05/0.2409, allocations: 29.7 kB / 404.2 MB, free: 5.859 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.325e-05/0.241, allocations: 84.14 kB / 404.3 MB, free: 5.773 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.582e-06/0.241, allocations: 4 kB / 404.3 MB, free: 5.77 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.354e-05/0.241, allocations: 21.7 kB / 404.4 MB, free: 5.742 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.584e-05/0.2411, allocations: 310.8 kB / 404.7 MB, free: 5.43 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.34e-05/0.2411, allocations: 4 kB / 404.7 MB, free: 5.426 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.615e-05/0.2412, allocations: 31.42 kB / 404.7 MB, free: 5.383 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.94e-05/0.2412, allocations: 35.38 kB / 404.7 MB, free: 5.336 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.2413, allocations: 0 / 404.7 MB, free: 5.336 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.922e-05/0.2413, allocations: 61.47 kB / 404.8 MB, free: 5.27 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.2414, allocations: 8 kB / 404.8 MB, free: 5.262 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.2414, allocations: 3.938 kB / 404.8 MB, free: 5.258 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.2414, allocations: 128 / 404.8 MB, free: 5.258 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.085e-05/0.2414, allocations: 11.94 kB / 404.8 MB, free: 5.246 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.2415, allocations: 0 / 404.8 MB, free: 5.246 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.291e-05/0.2415, allocations: 4 kB / 404.8 MB, free: 5.242 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-06/0.2415, allocations: 0 / 404.8 MB, free: 5.242 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 6.958e-05/0.2416, allocations: 113.8 kB / 404.9 MB, free: 5.121 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.114e-05/0.2417, allocations: 53.62 kB / 405 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.304e-05/0.2417, allocations: 15.42 kB / 405 MB, free: 5.043 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.2417, allocations: 0 / 405 MB, free: 5.043 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.2417, allocations: 4 kB / 405 MB, free: 5.039 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.2417, allocations: 256 / 405 MB, free: 5.039 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.84e-05/0.2418, allocations: 157.6 kB / 405.2 MB, free: 4.836 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.2418, allocations: 4 kB / 405.2 MB, free: 4.832 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.253e-05/0.2419, allocations: 4 kB / 405.2 MB, free: 4.828 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.2419, allocations: 0 / 405.2 MB, free: 4.828 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.2419, allocations: 3.938 kB / 405.2 MB, free: 4.824 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2419, allocations: 3.938 kB / 405.2 MB, free: 4.82 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2419, allocations: 0 / 405.2 MB, free: 4.82 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.242, allocations: 93.33 kB / 405.3 MB, free: 4.711 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.606e-05/0.2421, allocations: 77.11 kB / 405.3 MB, free: 4.617 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.2421, allocations: 3.938 kB / 405.3 MB, free: 4.613 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.314e-05/0.2421, allocations: 4 kB / 405.3 MB, free: 4.609 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.755e-06/0.2421, allocations: 3.938 kB / 405.3 MB, free: 4.605 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.2421, allocations: 0 / 405.3 MB, free: 4.605 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.816e-05/0.2422, allocations: 87.27 kB / 405.4 MB, free: 4.52 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2422, allocations: 0 / 405.4 MB, free: 4.52 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001874/0.2424, allocations: 4 kB / 405.4 MB, free: 4.516 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 9.966e-05/0.2425, allocations: 103.2 kB / 405.5 MB, free: 4.402 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001069/0.2426, allocations: 23.92 kB / 405.6 MB, free: 4.379 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2426, allocations: 4 kB / 405.6 MB, free: 4.375 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.2426, allocations: 0 / 405.6 MB, free: 4.375 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.2428, allocations: 17.67 kB / 405.6 MB, free: 4.359 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002541/0.2431, allocations: 135.6 kB / 405.7 MB, free: 4.195 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002116/0.2433, allocations: 0.6922 MB / 406.4 MB, free: 3.477 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.31e-05/0.2434, allocations: 7.438 kB / 406.4 MB, free: 3.469 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2434, allocations: 0 / 406.4 MB, free: 3.469 MB / 318.1 MB Notification: Performance of Templates: time 0.001695/0.2451, allocations: 0.5491 MB / 407 MB, free: 2.918 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches