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.001425/0.001424, allocations: 103.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001547/0.001547, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.592/1.592, allocations: 227.4 MB / 246.3 MB, free: 10.78 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 60.16 kB / 306.3 MB, free: 1.062 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1284, allocations: 50.54 MB / 356.8 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002949/0.1314, allocations: 1.546 MB / 358.3 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008986/0.1323, allocations: 474.9 kB / 358.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.484e-05/0.1324, allocations: 4 kB / 358.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.657e-05/0.1325, allocations: 7.922 kB / 358.8 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001861/0.1327, allocations: 19.92 kB / 358.8 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001759/0.1329, allocations: 27.91 kB / 358.9 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.696e-05/0.133, allocations: 43.86 kB / 358.9 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.1331, allocations: 19.97 kB / 358.9 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.659e-05/0.1331, allocations: 19.92 kB / 358.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.932e-05/0.1332, allocations: 23.84 kB / 359 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.1332, allocations: 4 kB / 359 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.479e-05/0.1332, allocations: 4 kB / 359 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.233e-05/0.1333, allocations: 11.92 kB / 359 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.834e-05/0.1333, allocations: 19.94 kB / 359 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.1334, allocations: 47.8 kB / 359.1 MB, free: 12.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1334, allocations: 0 / 359.1 MB, free: 12.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1334, allocations: 0 / 359.1 MB, free: 12.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5e-06/0.1335, allocations: 0 / 359.1 MB, free: 12.25 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.0006069/0.1341, allocations: 390.2 kB / 359.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.1341, allocations: 8.031 kB / 359.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.834e-05/0.1342, allocations: 4.938 kB / 359.5 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.1344, allocations: 184.1 kB / 359.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.1344, allocations: 8.375 kB / 359.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.1344, allocations: 384 / 359.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003908/0.1348, allocations: 151.5 kB / 359.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.1348, allocations: 4 kB / 359.8 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.1349, allocations: 0 / 359.8 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.1349, allocations: 0 / 359.8 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.135, allocations: 31.97 kB / 359.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001524/0.1351, allocations: 157.7 kB / 360 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/0.1354, allocations: 135.7 kB / 360.1 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.343e-05/0.1355, allocations: 28.84 kB / 360.1 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.1355, allocations: 7.938 kB / 360.1 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.1355, allocations: 38.48 kB / 360.2 MB, free: 10.94 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.1355, allocations: 0 / 360.2 MB, free: 10.94 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002773/0.1358, allocations: 85.58 kB / 360.3 MB, free: 10.85 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.88e-05/0.1359, allocations: 63.41 kB / 360.3 MB, free: 10.78 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.136, allocations: 105.8 kB / 360.4 MB, free: 10.66 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.136, allocations: 25.7 kB / 360.5 MB, free: 10.63 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.793e-05/0.1361, allocations: 92.08 kB / 360.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.724e-05/0.1361, allocations: 0 / 360.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.345e-05/0.1362, allocations: 21.7 kB / 360.6 MB, free: 10.51 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.1364, allocations: 318.8 kB / 360.9 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.288e-05/0.1364, allocations: 8.188 kB / 360.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.914e-05/0.1365, allocations: 53.14 kB / 360.9 MB, free: 10.11 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.804e-05/0.1365, allocations: 53.09 kB / 361 MB, free: 10.04 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1366, allocations: 0 / 361 MB, free: 10.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001297/0.1367, allocations: 77.47 kB / 361.1 MB, free: 9.961 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.1367, allocations: 10.59 kB / 361.1 MB, free: 9.953 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.1367, allocations: 4 kB / 361.1 MB, free: 9.949 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.1368, allocations: 3.938 kB / 361.1 MB, free: 9.945 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.584e-05/0.1368, allocations: 16.11 kB / 361.1 MB, free: 9.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.1369, allocations: 4 kB / 361.1 MB, free: 9.926 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.743e-05/0.1369, allocations: 7.938 kB / 361.1 MB, free: 9.918 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.1369, allocations: 8 kB / 361.1 MB, free: 9.91 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.0001237/0.137, allocations: 117.8 kB / 361.2 MB, free: 9.785 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.1372, allocations: 69.52 kB / 361.3 MB, free: 9.711 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.914e-05/0.1373, allocations: 12.38 kB / 361.3 MB, free: 9.699 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1373, allocations: 0 / 361.3 MB, free: 9.699 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.1373, allocations: 3.938 kB / 361.3 MB, free: 9.695 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1373, allocations: 4 kB / 361.3 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/0.1374, allocations: 161.7 kB / 361.5 MB, free: 9.484 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1374, allocations: 4 kB / 361.5 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.803e-05/0.1375, allocations: 7.984 kB / 361.5 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.1375, allocations: 3.938 kB / 361.5 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.1375, allocations: 0 / 361.5 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.1375, allocations: 0 / 361.5 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.1375, allocations: 0 / 361.5 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000176/0.1377, allocations: 101 kB / 361.6 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.8e-05/0.1378, allocations: 81.05 kB / 361.7 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.1378, allocations: 12.12 kB / 361.7 MB, free: 9.242 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.238e-05/0.1379, allocations: 23.94 kB / 361.7 MB, free: 9.219 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-06/0.1379, allocations: 3.938 kB / 361.7 MB, free: 9.215 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.1379, allocations: 4 kB / 361.7 MB, free: 9.211 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.775e-05/0.138, allocations: 87.22 kB / 361.8 MB, free: 9.125 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.138, allocations: 4 kB / 361.8 MB, free: 9.121 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002052/0.1382, allocations: 8 kB / 361.8 MB, free: 9.113 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.0001405/0.1384, allocations: 103.2 kB / 361.9 MB, free: 9 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001563/0.1385, allocations: 39.92 kB / 362 MB, free: 8.961 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.1385, allocations: 0 / 362 MB, free: 8.961 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.51e-07/0.1385, allocations: 0 / 362 MB, free: 8.961 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/0.1389, allocations: 36.39 kB / 362 MB, free: 8.926 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003829/0.1393, allocations: 147.3 kB / 362.1 MB, free: 8.75 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/0.1396, allocations: 0.6848 MB / 362.8 MB, free: 8.039 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.68e-05/0.1396, allocations: 7.938 kB / 362.8 MB, free: 8.031 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.062e-05/0.1397, allocations: 11.42 kB / 362.8 MB, free: 8.02 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1397, allocations: 4 kB / 362.8 MB, free: 8.016 MB / 302.1 MB Notification: Performance of Templates: time 0.003071/0.1428, allocations: 0.5859 MB / 363.4 MB, free: 7.434 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