Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001379/0.001379, allocations: 109.8 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001466/0.001466, allocations: 207.8 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 63.89 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2255, allocations: 50.55 MB / 409.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002338/0.2278, allocations: 1.429 MB / 411.4 MB, free: 160 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002582/0.2281, allocations: 103.7 kB / 411.5 MB, free: 56 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.544e-05/0.2282, allocations: 4 kB / 411.5 MB, free: 52 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.666e-05/0.2282, allocations: 7.922 kB / 411.5 MB, free: 44 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.275e-05/0.2283, allocations: 0 / 411.5 MB, free: 44 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000215/0.2285, allocations: 23.91 kB / 411.5 MB, free: 20 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.847e-05/0.2286, allocations: 19.94 kB / 411.5 MB, free: 0 / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.2287, allocations: 11.98 kB / 411.5 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.75e-05/0.2287, allocations: 7.938 kB / 411.5 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.794e-05/0.2287, allocations: 15.92 kB / 411.5 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.2288, allocations: 4 kB / 411.5 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.356e-06/0.2288, allocations: 4 kB / 411.6 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.514e-05/0.2288, allocations: 4 kB / 411.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.158e-05/0.2288, allocations: 15.88 kB / 411.6 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 7.383e-05/0.2289, allocations: 31.89 kB / 411.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2289, allocations: 0 / 411.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2289, allocations: 0 / 411.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.2289, allocations: 0 / 411.6 MB, free: 15.91 MB / 334.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.0003733/0.2293, allocations: 339.1 kB / 411.9 MB, free: 15.53 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.2294, allocations: 11.97 kB / 411.9 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.955e-05/0.2294, allocations: 4.938 kB / 412 MB, free: 15.51 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.2296, allocations: 184.2 kB / 412.1 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.2296, allocations: 384 / 412.1 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.2297, allocations: 4.375 kB / 412.1 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002646/0.2299, allocations: 99.88 kB / 412.2 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.2299, allocations: 192 / 412.2 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.23, allocations: 7.938 kB / 412.2 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.23, allocations: 0 / 412.2 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.887e-05/0.23, allocations: 12 kB / 412.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000124/0.2302, allocations: 157.7 kB / 412.4 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.2303, allocations: 50.5 kB / 412.5 MB, free: 14.9 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.707e-05/0.2303, allocations: 20.92 kB / 412.5 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.2304, allocations: 4 kB / 412.5 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.2304, allocations: 30.56 kB / 412.5 MB, free: 14.83 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.2304, allocations: 4 kB / 412.5 MB, free: 14.83 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001809/0.2306, allocations: 61.62 kB / 412.6 MB, free: 14.76 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.2306, allocations: 51.41 kB / 412.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.579e-05/0.2307, allocations: 109.8 kB / 412.7 MB, free: 14.58 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.2307, allocations: 25.7 kB / 412.8 MB, free: 14.55 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.396e-05/0.2308, allocations: 96.06 kB / 412.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.202e-06/0.2308, allocations: 0 / 412.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.821e-05/0.2308, allocations: 21.7 kB / 412.9 MB, free: 14.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.287e-05/0.2309, allocations: 314.8 kB / 413.2 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.12e-05/0.2309, allocations: 3.938 kB / 413.2 MB, free: 14.11 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.096e-05/0.231, allocations: 35.59 kB / 413.2 MB, free: 14.05 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.92e-05/0.231, allocations: 39.38 kB / 413.3 MB, free: 14 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.231, allocations: 0 / 413.3 MB, free: 14 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.103e-05/0.2311, allocations: 53.62 kB / 413.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.2311, allocations: 4 kB / 413.3 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.2311, allocations: 7.922 kB / 413.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.2311, allocations: 8.375 kB / 413.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.54e-05/0.2312, allocations: 0 / 413.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.2312, allocations: 11.94 kB / 413.3 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.884e-05/0.2312, allocations: 1.406 kB / 413.3 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.2312, allocations: 4 kB / 413.3 MB, free: 13.91 MB / 334.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.869e-05/0.2313, allocations: 113.8 kB / 413.5 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.441e-05/0.2314, allocations: 49.69 kB / 413.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.841e-05/0.2314, allocations: 15.42 kB / 413.5 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.2314, allocations: 8 kB / 413.5 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.2314, allocations: 0 / 413.5 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.2314, allocations: 0 / 413.5 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.723e-05/0.2315, allocations: 165.5 kB / 413.7 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2315, allocations: 0 / 413.7 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.763e-05/0.2316, allocations: 0 / 413.7 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.2316, allocations: 0 / 413.7 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.2316, allocations: 7.938 kB / 413.7 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.2316, allocations: 3.938 kB / 413.7 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2316, allocations: 0 / 413.7 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001136/0.2317, allocations: 81.11 kB / 413.8 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.279e-05/0.2318, allocations: 81.11 kB / 413.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.2318, allocations: 3.938 kB / 413.9 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.981e-05/0.2318, allocations: 0 / 413.9 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.883e-06/0.2318, allocations: 0 / 413.9 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.2318, allocations: 0 / 413.9 MB, free: 13.28 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.386e-05/0.2319, allocations: 87.27 kB / 413.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2319, allocations: 4 kB / 414 MB, free: 13.19 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001907/0.2321, allocations: 0 / 414 MB, free: 13.19 MB / 334.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 8.509e-05/0.2322, allocations: 99.25 kB / 414.1 MB, free: 13.08 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001011/0.2323, allocations: 27.92 kB / 414.1 MB, free: 13.05 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.2323, allocations: 3.938 kB / 414.1 MB, free: 13.05 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.2323, allocations: 0 / 414.1 MB, free: 13.05 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001912/0.2325, allocations: 20.02 kB / 414.1 MB, free: 13.03 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002279/0.2327, allocations: 143.4 kB / 414.2 MB, free: 12.86 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002043/0.2329, allocations: 0.6768 MB / 414.9 MB, free: 12.16 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.064e-05/0.233, allocations: 11.44 kB / 414.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.233, allocations: 0 / 414.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of Templates: time 0.001678/0.2346, allocations: 0.547 MB / 415.5 MB, free: 11.6 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches