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.001278/0.001278, allocations: 114.1 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00145/0.00145, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 227.4 MB / 246.4 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 59.78 kB / 306.4 MB, free: 0.9375 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1267, allocations: 50.53 MB / 357 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002941/0.1297, allocations: 1.492 MB / 358.5 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000296/0.1301, allocations: 99.73 kB / 358.6 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.55e-05/0.1302, allocations: 0 / 358.6 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.151e-05/0.1302, allocations: 7.922 kB / 358.6 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.675e-05/0.1303, allocations: 0 / 358.6 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000264/0.1305, allocations: 19.44 kB / 358.6 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.653e-05/0.1306, allocations: 27.97 kB / 358.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.1307, allocations: 8 kB / 358.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.508e-05/0.1308, allocations: 19.92 kB / 358.6 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.318e-05/0.1308, allocations: 3.938 kB / 358.6 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.1309, allocations: 7.938 kB / 358.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.738e-06/0.1309, allocations: 0 / 358.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.817e-05/0.1309, allocations: 8 kB / 358.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.744e-05/0.1309, allocations: 19.86 kB / 358.7 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.324e-05/0.131, allocations: 23.89 kB / 358.7 MB, free: 12.66 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.131, allocations: 0 / 358.7 MB, free: 12.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.131, allocations: 0 / 358.7 MB, free: 12.66 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1311, allocations: 0 / 358.7 MB, free: 12.66 MB / 302.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.0004304/0.1315, allocations: 343.7 kB / 359 MB, free: 12.28 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.1315, allocations: 8.031 kB / 359.1 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.468e-05/0.1316, allocations: 8.844 kB / 359.1 MB, free: 12.26 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.1318, allocations: 172.4 kB / 359.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.1318, allocations: 384 / 359.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.1318, allocations: 8.375 kB / 359.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002815/0.1321, allocations: 103.9 kB / 359.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.1321, allocations: 192 / 359.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.1321, allocations: 3.938 kB / 359.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.1321, allocations: 0 / 359.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.864e-05/0.1322, allocations: 23.86 kB / 359.4 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001447/0.1324, allocations: 153.7 kB / 359.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.1326, allocations: 50.56 kB / 359.6 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.079e-05/0.1326, allocations: 20.92 kB / 359.6 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.1327, allocations: 0 / 359.6 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.1327, allocations: 34.56 kB / 359.6 MB, free: 11.58 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.1327, allocations: 0 / 359.6 MB, free: 11.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002316/0.1329, allocations: 77.62 kB / 359.7 MB, free: 11.5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.194e-05/0.133, allocations: 55.41 kB / 359.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.916e-05/0.1331, allocations: 109.8 kB / 359.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.1331, allocations: 25.7 kB / 359.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.968e-05/0.1332, allocations: 80.14 kB / 360 MB, free: 11.2 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.243e-05/0.1332, allocations: 4 kB / 360 MB, free: 11.2 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.162e-05/0.1332, allocations: 13.72 kB / 360 MB, free: 11.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.1334, allocations: 314.8 kB / 360.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.473e-05/0.1334, allocations: 7.984 kB / 360.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.274e-05/0.1334, allocations: 27.44 kB / 360.3 MB, free: 10.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.601e-05/0.1335, allocations: 39.31 kB / 360.4 MB, free: 10.77 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1335, allocations: 0 / 360.4 MB, free: 10.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.232e-05/0.1336, allocations: 61.66 kB / 360.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.1336, allocations: 4 kB / 360.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.1336, allocations: 7.938 kB / 360.4 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.1336, allocations: 0 / 360.4 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.023e-05/0.1337, allocations: 4 kB / 360.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.1337, allocations: 0 / 360.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.84e-05/0.1337, allocations: 0 / 360.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.1337, allocations: 7.984 kB / 360.4 MB, free: 10.68 MB / 302.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 9.33e-05/0.1338, allocations: 117.8 kB / 360.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.416e-05/0.1339, allocations: 57.56 kB / 360.6 MB, free: 10.49 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.941e-05/0.134, allocations: 15.44 kB / 360.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.134, allocations: 0 / 360.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.134, allocations: 0 / 360.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.134, allocations: 0 / 360.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.1341, allocations: 153.7 kB / 360.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.1341, allocations: 4.234 kB / 360.8 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.052e-05/0.1342, allocations: 4 kB / 360.8 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.1342, allocations: 4 kB / 360.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.1342, allocations: 3.938 kB / 360.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.1342, allocations: 0 / 360.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1342, allocations: 4 kB / 360.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001336/0.1344, allocations: 73.12 kB / 360.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.25e-05/0.1344, allocations: 88.95 kB / 361 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.1344, allocations: 11.86 kB / 361 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.884e-05/0.1345, allocations: 0 / 361 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.406e-06/0.1345, allocations: 0 / 361 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-06/0.1345, allocations: 4 kB / 361 MB, free: 10.04 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.574e-05/0.1345, allocations: 87.28 kB / 361.1 MB, free: 9.949 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1345, allocations: 0 / 361.1 MB, free: 9.949 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000182/0.1347, allocations: 4 kB / 361.1 MB, free: 9.945 MB / 302.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 0.0001325/0.1349, allocations: 99.25 kB / 361.2 MB, free: 9.84 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001319/0.135, allocations: 23.92 kB / 361.2 MB, free: 9.816 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.135, allocations: 0 / 361.2 MB, free: 9.816 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.509e-06/0.135, allocations: 0 / 361.2 MB, free: 9.816 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.1353, allocations: 34.75 kB / 361.2 MB, free: 9.785 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003238/0.1356, allocations: 120.2 kB / 361.3 MB, free: 9.645 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.1359, allocations: 0.6768 MB / 362 MB, free: 8.941 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.514e-05/0.1359, allocations: 4 kB / 362 MB, free: 8.938 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.51e-05/0.136, allocations: 7.438 kB / 362 MB, free: 8.93 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.136, allocations: 0 / 362 MB, free: 8.93 MB / 302.1 MB Notification: Performance of Templates: time 0.002759/0.1387, allocations: 325 kB / 362.3 MB, free: 8.613 MB / 302.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/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