Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_cpp_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_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001206/0.001206, allocations: 191.2 kB / 17.37 MB, free: 4.434 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 226.5 MB / 244.7 MB, free: 8.184 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009275/0.0009277, allocations: 92.59 kB / 296.8 MB, free: 6.891 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003181/0.0003181, allocations: 8 kB / 356.8 MB, free: 10.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2383, allocations: 51.3 MB / 408.1 MB, free: 27.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.001183/0.2396, allocations: 1.145 MB / 409.2 MB, free: 26.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002217/0.2398, allocations: 93.81 kB / 409.3 MB, free: 26.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.528e-05/0.2399, allocations: 0 / 409.3 MB, free: 26.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.53e-05/0.2399, allocations: 3.938 kB / 409.3 MB, free: 26.48 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.68e-05/0.24, allocations: 0 / 409.3 MB, free: 26.48 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002295/0.2402, allocations: 15.98 kB / 409.3 MB, free: 26.46 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.541e-05/0.2403, allocations: 32.39 kB / 409.3 MB, free: 26.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.942e-05/0.2404, allocations: 12.52 kB / 409.3 MB, free: 26.42 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.604e-05/0.2404, allocations: 9.953 kB / 409.4 MB, free: 26.41 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.049e-05/0.2404, allocations: 3.938 kB / 409.4 MB, free: 26.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.2404, allocations: 0 / 409.4 MB, free: 26.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.497e-06/0.2405, allocations: 4 kB / 409.4 MB, free: 26.4 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.425e-05/0.2405, allocations: 4 kB / 409.4 MB, free: 26.4 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.218e-05/0.2405, allocations: 38.69 kB / 409.4 MB, free: 26.36 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 4.923e-05/0.2406, allocations: 15.97 kB / 409.4 MB, free: 26.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2406, allocations: 0 / 409.4 MB, free: 26.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.2406, allocations: 0.9062 kB / 409.4 MB, free: 26.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.319e-06/0.2406, allocations: 0 / 409.4 MB, free: 26.34 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002899/0.2409, allocations: 333.1 kB / 409.8 MB, free: 25.96 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.2409, allocations: 12.81 kB / 409.8 MB, free: 25.95 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.701e-05/0.241, allocations: 0.9375 kB / 409.8 MB, free: 25.95 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.2411, allocations: 181.5 kB / 409.9 MB, free: 25.74 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.2411, allocations: 12.3 kB / 410 MB, free: 25.73 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.2412, allocations: 4.375 kB / 410 MB, free: 25.72 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002545/0.2414, allocations: 102.9 kB / 410.1 MB, free: 25.61 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.974e-06/0.2414, allocations: 192 / 410.1 MB, free: 25.61 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.126e-06/0.2414, allocations: 6.219 kB / 410.1 MB, free: 25.61 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.2415, allocations: 0 / 410.1 MB, free: 25.61 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.974e-05/0.2415, allocations: 15.98 kB / 410.1 MB, free: 25.59 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.197e-05/0.2416, allocations: 153.7 kB / 410.2 MB, free: 25.39 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.2417, allocations: 62.53 kB / 410.3 MB, free: 25.32 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.563e-05/0.2418, allocations: 20.89 kB / 410.3 MB, free: 25.3 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.2418, allocations: 0 / 410.3 MB, free: 25.3 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.608e-05/0.2418, allocations: 34.56 kB / 410.3 MB, free: 25.26 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.2419, allocations: 0 / 410.3 MB, free: 25.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001716/0.242, allocations: 81.72 kB / 410.4 MB, free: 25.17 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.2421, allocations: 51.41 kB / 410.5 MB, free: 25.11 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.337e-05/0.2421, allocations: 101.8 kB / 410.6 MB, free: 25 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.095e-06/0.2421, allocations: 37.69 kB / 410.6 MB, free: 24.96 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.966e-05/0.2422, allocations: 80.14 kB / 410.7 MB, free: 24.88 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.39e-06/0.2422, allocations: 0 / 410.7 MB, free: 24.88 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-06/0.2422, allocations: 0 / 410.7 MB, free: 24.88 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.723e-05/0.2422, allocations: 318.8 kB / 411 MB, free: 24.55 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.077e-06/0.2423, allocations: 7.938 kB / 411 MB, free: 24.55 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.798e-05/0.2423, allocations: 27.42 kB / 411 MB, free: 24.51 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.026e-05/0.2423, allocations: 39.38 kB / 411.1 MB, free: 24.46 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2423, allocations: 0 / 411.1 MB, free: 24.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.892e-05/0.2424, allocations: 57.62 kB / 411.1 MB, free: 24.39 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.2424, allocations: 4 kB / 411.1 MB, free: 24.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.2424, allocations: 3.938 kB / 411.1 MB, free: 24.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.2424, allocations: 4 kB / 411.1 MB, free: 24.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.522e-05/0.2425, allocations: 3.938 kB / 411.1 MB, free: 24.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.2425, allocations: 4 kB / 411.1 MB, free: 24.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.768e-05/0.2425, allocations: 0 / 411.1 MB, free: 24.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-06/0.2425, allocations: 4.125 kB / 411.2 MB, free: 24.37 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.758e-05/0.2426, allocations: 109.8 kB / 411.3 MB, free: 24.25 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.501e-05/0.2426, allocations: 53.69 kB / 411.3 MB, free: 24.2 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.487e-05/0.2427, allocations: 19.36 kB / 411.3 MB, free: 24.17 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.2427, allocations: 0 / 411.3 MB, free: 24.17 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2427, allocations: 0 / 411.3 MB, free: 24.17 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.2427, allocations: 3.938 kB / 411.3 MB, free: 24.16 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.914e-05/0.2428, allocations: 157.6 kB / 411.5 MB, free: 23.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.2428, allocations: 4 kB / 411.5 MB, free: 23.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.684e-05/0.2428, allocations: 0 / 411.5 MB, free: 23.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.2428, allocations: 4 kB / 411.5 MB, free: 23.95 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.291e-06/0.2428, allocations: 4.188 kB / 411.5 MB, free: 23.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.2428, allocations: 7.984 kB / 411.5 MB, free: 23.94 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2428, allocations: 0 / 411.5 MB, free: 23.94 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.341e-05/0.2429, allocations: 77.12 kB / 411.6 MB, free: 23.85 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.589e-05/0.2429, allocations: 89.05 kB / 411.7 MB, free: 23.74 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.243, allocations: 3.938 kB / 411.7 MB, free: 23.74 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.066e-05/0.243, allocations: 4 kB / 411.7 MB, free: 23.73 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.474e-06/0.243, allocations: 0 / 411.7 MB, free: 23.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.243, allocations: 3.984 kB / 411.7 MB, free: 23.73 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.042e-05/0.243, allocations: 79.28 kB / 411.8 MB, free: 23.65 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.243, allocations: 0 / 411.8 MB, free: 23.65 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000178/0.2432, allocations: 8 kB / 411.8 MB, free: 23.64 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.159e-05/0.2433, allocations: 103.2 kB / 411.9 MB, free: 23.53 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.503e-05/0.2434, allocations: 19.98 kB / 411.9 MB, free: 23.51 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2434, allocations: 4 kB / 411.9 MB, free: 23.51 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.71e-07/0.2434, allocations: 0 / 411.9 MB, free: 23.51 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001956/0.2436, allocations: 31.33 kB / 411.9 MB, free: 23.48 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002069/0.2438, allocations: 142.5 kB / 412.1 MB, free: 23.3 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.202e-05/0.2439, allocations: 0.6848 MB / 412.7 MB, free: 22.59 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.72e-05/0.2439, allocations: 11.38 kB / 412.8 MB, free: 22.58 MB / 298.7 MB Notification: Performance of SimCode: time 3.01e-07/0.2439, allocations: 0 / 412.8 MB, free: 22.58 MB / 298.7 MB Notification: Performance of Templates: time 0.001434/0.2454, allocations: 0.5264 MB / 413.3 MB, free: 22.06 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches