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.001747/0.001747, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002107/0.002107, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.537/1.537, allocations: 227.4 MB / 247.5 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001785, allocations: 64.08 kB / 307.7 MB, free: 0.6133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1082, allocations: 50.53 MB / 358.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002937/0.1111, allocations: 1.48 MB / 359.7 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008935/0.1121, allocations: 496.5 kB / 360.1 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.19e-05/0.1121, allocations: 7.875 kB / 360.2 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.997e-05/0.1122, allocations: 3.984 kB / 360.2 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001424/0.1123, allocations: 11.88 kB / 360.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001675/0.1125, allocations: 35.89 kB / 360.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.1126, allocations: 51.84 kB / 360.3 MB, free: 12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.1127, allocations: 7.984 kB / 360.3 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.165e-05/0.1128, allocations: 19.94 kB / 360.3 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.295e-05/0.1128, allocations: 31.84 kB / 360.3 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.1129, allocations: 4 kB / 360.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.444e-05/0.1129, allocations: 4 kB / 360.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.381e-05/0.1129, allocations: 11.94 kB / 360.3 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.426e-05/0.113, allocations: 27.91 kB / 360.4 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.1131, allocations: 43.81 kB / 360.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1131, allocations: 0 / 360.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1131, allocations: 0 / 360.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.1131, allocations: 0 / 360.4 MB, free: 11.85 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.0007099/0.1138, allocations: 379.6 kB / 360.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.1139, allocations: 8.031 kB / 360.8 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.236e-05/0.1139, allocations: 4.938 kB / 360.8 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/0.1142, allocations: 188.2 kB / 361 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.1142, allocations: 384 / 361 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.1143, allocations: 16.36 kB / 361 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003691/0.1146, allocations: 147.4 kB / 361.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.1146, allocations: 0 / 361.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.1147, allocations: 0 / 361.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.1147, allocations: 0 / 361.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.1148, allocations: 27.98 kB / 361.2 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001851/0.115, allocations: 173.6 kB / 361.3 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002154/0.1152, allocations: 127.7 kB / 361.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.242e-05/0.1153, allocations: 28.84 kB / 361.5 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.1153, allocations: 4 kB / 361.5 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.1154, allocations: 46.44 kB / 361.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 2.826e-06/0.1154, allocations: 0 / 361.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002806/0.1156, allocations: 89.7 kB / 361.6 MB, free: 10.44 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.1157, allocations: 55.45 kB / 361.7 MB, free: 10.38 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.1158, allocations: 113.8 kB / 361.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.1158, allocations: 25.7 kB / 361.8 MB, free: 10.22 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.619e-05/0.1159, allocations: 80.14 kB / 361.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.1159, allocations: 8 kB / 361.9 MB, free: 10.13 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.392e-05/0.116, allocations: 21.72 kB / 361.9 MB, free: 10.11 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1161, allocations: 314.8 kB / 362.2 MB, free: 9.789 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.196e-05/0.1162, allocations: 15.94 kB / 362.2 MB, free: 9.773 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.088e-05/0.1162, allocations: 45.14 kB / 362.3 MB, free: 9.711 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.052e-05/0.1163, allocations: 57.09 kB / 362.3 MB, free: 9.637 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1163, allocations: 0 / 362.3 MB, free: 9.637 MB / 302.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001144/0.1164, allocations: 81.47 kB / 362.4 MB, free: 9.551 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.1165, allocations: 14.94 kB / 362.4 MB, free: 9.539 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1165, allocations: 0 / 362.4 MB, free: 9.539 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.1165, allocations: 4 kB / 362.4 MB, free: 9.535 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.795e-05/0.1165, allocations: 11.92 kB / 362.5 MB, free: 9.523 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.1165, allocations: 4 kB / 362.5 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.297e-05/0.1166, allocations: 7.875 kB / 362.5 MB, free: 9.512 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-06/0.1166, allocations: 4 kB / 362.5 MB, free: 9.508 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 9.753e-05/0.1167, allocations: 113.8 kB / 362.6 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.1169, allocations: 73.53 kB / 362.6 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.624e-05/0.1169, allocations: 16.36 kB / 362.7 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.1169, allocations: 4 kB / 362.7 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.1169, allocations: 0 / 362.7 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1169, allocations: 3.938 kB / 362.7 MB, free: 9.285 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001731/0.1171, allocations: 157.7 kB / 362.8 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1171, allocations: 0 / 362.8 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.786e-05/0.1172, allocations: 7.984 kB / 362.8 MB, free: 9.074 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.1172, allocations: 7.938 kB / 362.8 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.1172, allocations: 0 / 362.8 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1172, allocations: 0 / 362.8 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1172, allocations: 4 kB / 362.8 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001855/0.1174, allocations: 105.1 kB / 362.9 MB, free: 8.941 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.5e-05/0.1175, allocations: 81.05 kB / 363 MB, free: 8.844 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.1175, allocations: 3.938 kB / 363 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.002e-05/0.1176, allocations: 15.98 kB / 363 MB, free: 8.824 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.273e-06/0.1176, allocations: 4 kB / 363.1 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.1176, allocations: 3.984 kB / 363.1 MB, free: 8.816 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.172e-05/0.1177, allocations: 87.75 kB / 363.1 MB, free: 8.73 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1177, allocations: 3.938 kB / 363.1 MB, free: 8.727 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001978/0.1179, allocations: 12 kB / 363.2 MB, free: 8.715 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.0001215/0.118, allocations: 95.25 kB / 363.2 MB, free: 8.609 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000151/0.1182, allocations: 52.16 kB / 363.3 MB, free: 8.559 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1182, allocations: 0 / 363.3 MB, free: 8.559 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.51e-07/0.1182, allocations: 0 / 363.3 MB, free: 8.559 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.1185, allocations: 43.61 kB / 363.3 MB, free: 8.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000379/0.1189, allocations: 167.1 kB / 363.5 MB, free: 8.32 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.1193, allocations: 0.6847 MB / 364.2 MB, free: 7.609 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.701e-05/0.1193, allocations: 11.44 kB / 364.2 MB, free: 7.598 MB / 302.1 MB Notification: Performance of SimCode: time 4e-07/0.1193, allocations: 0 / 364.2 MB, free: 7.598 MB / 302.1 MB Notification: Performance of Templates: time 0.002412/0.1217, allocations: 0.7685 MB / 365 MB, free: 6.832 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedPulse/TimeBasedPulse.csv","/var/lib/jenkins1/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