Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.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.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001002/0.001003, allocations: 94 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001272/0.001272, allocations: 200.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.654/1.654, allocations: 227.7 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002594/0.0002594, allocations: 8 kB / 307.7 MB, free: 0.7852 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.139, allocations: 51.52 MB / 359.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.001907/0.141, allocations: 1.2 MB / 360.5 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009231/0.1419, allocations: 475 kB / 360.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.74e-05/0.142, allocations: 4 kB / 360.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.833e-05/0.1421, allocations: 3.938 kB / 360.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001865/0.1423, allocations: 15.92 kB / 361 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000219/0.1425, allocations: 31.47 kB / 361 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.1426, allocations: 51.78 kB / 361 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.1427, allocations: 12 kB / 361 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.13e-05/0.1428, allocations: 15.86 kB / 361.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.417e-05/0.1429, allocations: 23.91 kB / 361.1 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.578e-05/0.1429, allocations: 4 kB / 361.1 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.274e-05/0.1429, allocations: 0 / 361.1 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.154e-05/0.143, allocations: 15.92 kB / 361.1 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.453e-05/0.143, allocations: 37.64 kB / 361.1 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.1432, allocations: 51.8 kB / 361.2 MB, free: 11.33 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1432, allocations: 0 / 361.2 MB, free: 11.33 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.406e-06/0.1432, allocations: 0 / 361.2 MB, free: 11.33 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1432, allocations: 0 / 361.2 MB, free: 11.33 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007189/0.1439, allocations: 363.7 kB / 361.5 MB, free: 10.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.144, allocations: 8.031 kB / 361.6 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.223e-05/0.144, allocations: 16.84 kB / 361.6 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002516/0.1443, allocations: 192.1 kB / 361.8 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.1443, allocations: 384 / 361.8 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.1443, allocations: 4.375 kB / 361.8 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004312/0.1448, allocations: 147.5 kB / 361.9 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.1448, allocations: 4 kB / 361.9 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.1448, allocations: 0 / 361.9 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.1448, allocations: 0 / 361.9 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.145, allocations: 31.98 kB / 361.9 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001798/0.1451, allocations: 169.6 kB / 362.1 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002411/0.1454, allocations: 135.7 kB / 362.2 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.674e-05/0.1455, allocations: 32.84 kB / 362.3 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.039e-05/0.1455, allocations: 0 / 362.3 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.1456, allocations: 42.5 kB / 362.3 MB, free: 10.02 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.1456, allocations: 0 / 362.3 MB, free: 10.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003167/0.1459, allocations: 93.56 kB / 362.4 MB, free: 9.922 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.282e-05/0.146, allocations: 59.34 kB / 362.5 MB, free: 9.852 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.78e-05/0.1461, allocations: 113.8 kB / 362.6 MB, free: 9.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/0.1461, allocations: 29.7 kB / 362.6 MB, free: 9.695 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.739e-05/0.1462, allocations: 84.08 kB / 362.7 MB, free: 9.609 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.094e-05/0.1462, allocations: 8 kB / 362.7 MB, free: 9.602 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.822e-05/0.1462, allocations: 9.719 kB / 362.7 MB, free: 9.586 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.1464, allocations: 322.8 kB / 363 MB, free: 9.262 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.898e-05/0.1464, allocations: 4 kB / 363 MB, free: 9.258 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.071e-05/0.1465, allocations: 45.14 kB / 363.1 MB, free: 9.195 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.339e-05/0.1465, allocations: 57.09 kB / 363.1 MB, free: 9.121 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.1466, allocations: 0 / 363.1 MB, free: 9.121 MB / 302.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001077/0.1467, allocations: 77.47 kB / 363.2 MB, free: 9.039 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.1467, allocations: 7.938 kB / 363.2 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.1467, allocations: 4 kB / 363.2 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.1467, allocations: 7.875 kB / 363.2 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-05/0.1468, allocations: 11.98 kB / 363.2 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.1468, allocations: 192 / 363.2 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.423e-05/0.1469, allocations: 11.94 kB / 363.2 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.1469, allocations: 7.984 kB / 363.3 MB, free: 8.988 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,pulse.y) * Number of discrete states: 0 () * Number of clocked states: 1 (pulse.next) * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001105/0.147, allocations: 117.8 kB / 363.4 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/0.1471, allocations: 73.56 kB / 363.4 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.971e-05/0.1472, allocations: 12.36 kB / 363.5 MB, free: 8.773 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1472, allocations: 0 / 363.5 MB, free: 8.773 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.1472, allocations: 4 kB / 363.5 MB, free: 8.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.1472, allocations: 4 kB / 363.5 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.1474, allocations: 161.9 kB / 363.6 MB, free: 8.559 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1474, allocations: 0 / 363.6 MB, free: 8.559 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.939e-05/0.1474, allocations: 15.98 kB / 363.6 MB, free: 8.543 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.1474, allocations: 7.938 kB / 363.6 MB, free: 8.535 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.1475, allocations: 0 / 363.6 MB, free: 8.535 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1475, allocations: 0 / 363.6 MB, free: 8.535 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1475, allocations: 0 / 363.6 MB, free: 8.535 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001843/0.1477, allocations: 101 kB / 363.7 MB, free: 8.418 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.372e-05/0.1477, allocations: 84.95 kB / 363.8 MB, free: 8.316 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.1478, allocations: 4 kB / 363.8 MB, free: 8.312 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.275e-05/0.1479, allocations: 15.98 kB / 363.8 MB, free: 8.297 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.783e-06/0.1479, allocations: 0 / 363.8 MB, free: 8.297 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.702e-06/0.1479, allocations: 7.938 kB / 363.8 MB, free: 8.289 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.025e-05/0.1479, allocations: 87.27 kB / 363.9 MB, free: 8.203 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1479, allocations: 0 / 363.9 MB, free: 8.203 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001879/0.1481, allocations: 12 kB / 363.9 MB, free: 8.191 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 (pulse.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 1 (pulse.next) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0001199/0.1483, allocations: 95.25 kB / 364 MB, free: 8.086 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001598/0.1484, allocations: 39.92 kB / 364.1 MB, free: 8.047 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.1484, allocations: 0 / 364.1 MB, free: 8.047 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.21e-07/0.1485, allocations: 0 / 364.1 MB, free: 8.047 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003941/0.1489, allocations: 51.33 kB / 364.1 MB, free: 8 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003297/0.1492, allocations: 144.7 kB / 364.3 MB, free: 7.832 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/0.1495, allocations: 0.6848 MB / 365 MB, free: 7.121 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.009e-05/0.1495, allocations: 7.922 kB / 365 MB, free: 7.113 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.931e-05/0.1495, allocations: 15.44 kB / 365 MB, free: 7.098 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1495, allocations: 4 kB / 365 MB, free: 7.094 MB / 302.1 MB Notification: Performance of Templates: time 0.003013/0.1525, allocations: 0.5785 MB / 365.6 MB, free: 6.52 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedPulse/TimeBasedPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches