Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001518/0.001517, 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.001571/0.001571, 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 4.1.0-beta.om/package.mo): time 1.42/1.42, allocations: 227.7 MB / 247.7 MB, free: 10.41 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 71.28 kB / 307.9 MB, free: 0.5039 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0969/0.09883, allocations: 50.53 MB / 358.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002726/0.1016, allocations: 1.488 MB / 359.9 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008358/0.1024, allocations: 492.4 kB / 360.4 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.772e-05/0.1025, allocations: 7.938 kB / 360.4 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.275e-05/0.1026, allocations: 0 / 360.4 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001286/0.1027, allocations: 19.78 kB / 360.4 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000154/0.1029, allocations: 31.91 kB / 360.5 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.004e-05/0.1029, allocations: 51.84 kB / 360.5 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.337e-05/0.103, allocations: 11.94 kB / 360.5 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.742e-05/0.1031, allocations: 19.92 kB / 360.5 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.851e-05/0.1032, allocations: 27.91 kB / 360.6 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.1032, allocations: 4 kB / 360.6 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.307e-05/0.1032, allocations: 8 kB / 360.6 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.241e-05/0.1032, allocations: 15.86 kB / 360.6 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.566e-05/0.1033, allocations: 19.94 kB / 360.6 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.209e-05/0.1034, allocations: 51.8 kB / 360.7 MB, free: 11.71 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.1034, allocations: 0 / 360.7 MB, free: 11.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1034, allocations: 0 / 360.7 MB, free: 11.71 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.1034, allocations: 0 / 360.7 MB, free: 11.71 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.0005896/0.104, allocations: 379.6 kB / 361 MB, free: 11.29 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.104, allocations: 8.031 kB / 361 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.221e-05/0.1041, allocations: 4.938 kB / 361 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002025/0.1043, allocations: 184.2 kB / 361.2 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.286e-06/0.1043, allocations: 384 / 361.2 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.1043, allocations: 4.375 kB / 361.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003505/0.1047, allocations: 151.5 kB / 361.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.1047, allocations: 0 / 361.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.1047, allocations: 0 / 361.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.1047, allocations: 0 / 361.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.1048, allocations: 31.97 kB / 361.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001659/0.105, allocations: 165.7 kB / 361.6 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.1052, allocations: 131.7 kB / 361.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.533e-05/0.1053, allocations: 32.84 kB / 361.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.1053, allocations: 0 / 361.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.1054, allocations: 38.44 kB / 361.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 8.52e-07/0.1054, allocations: 0 / 361.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002626/0.1056, allocations: 93.58 kB / 361.9 MB, free: 10.32 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.225e-05/0.1057, allocations: 59.34 kB / 361.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.1058, allocations: 113.8 kB / 362 MB, free: 10.12 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.1058, allocations: 25.7 kB / 362.1 MB, free: 10.09 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.145e-05/0.1059, allocations: 84.14 kB / 362.1 MB, free: 10.01 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.416e-05/0.1059, allocations: 4 kB / 362.1 MB, free: 10 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.699e-05/0.1059, allocations: 21.7 kB / 362.2 MB, free: 9.977 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.1061, allocations: 318.8 kB / 362.5 MB, free: 9.656 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.567e-05/0.1061, allocations: 4 kB / 362.5 MB, free: 9.652 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.386e-05/0.1062, allocations: 49.08 kB / 362.5 MB, free: 9.586 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.793e-05/0.1062, allocations: 61.09 kB / 362.6 MB, free: 9.508 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1062, allocations: 0 / 362.6 MB, free: 9.508 MB / 302.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001166/0.1064, allocations: 73.47 kB / 362.7 MB, free: 9.43 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.1064, allocations: 15.92 kB / 362.7 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1064, allocations: 192 / 362.7 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.1064, allocations: 8 kB / 362.7 MB, free: 9.406 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.307e-05/0.1065, allocations: 4.25 kB / 362.7 MB, free: 9.402 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.1065, allocations: 7.938 kB / 362.7 MB, free: 9.395 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.486e-05/0.1065, allocations: 7.938 kB / 362.7 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-06/0.1065, allocations: 8 kB / 362.7 MB, free: 9.379 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 8.635e-05/0.1066, allocations: 113.8 kB / 362.8 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.1068, allocations: 73.52 kB / 362.9 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.97e-05/0.1068, allocations: 8.375 kB / 362.9 MB, free: 9.172 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1068, allocations: 7.984 kB / 362.9 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1068, allocations: 4 kB / 362.9 MB, free: 9.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.1069, allocations: 0 / 362.9 MB, free: 9.16 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001259/0.107, allocations: 165.6 kB / 363.1 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.107, allocations: 0 / 363.1 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.825e-05/0.107, allocations: 7.938 kB / 363.1 MB, free: 8.941 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.1071, allocations: 7.938 kB / 363.1 MB, free: 8.934 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.1071, allocations: 0 / 363.1 MB, free: 8.934 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1071, allocations: 480 / 363.1 MB, free: 8.934 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1071, allocations: 0 / 363.1 MB, free: 8.934 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.1073, allocations: 97.02 kB / 363.2 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.821e-05/0.1073, allocations: 85.05 kB / 363.3 MB, free: 8.719 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.1074, allocations: 7.984 kB / 363.3 MB, free: 8.711 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.491e-05/0.1075, allocations: 19.92 kB / 363.3 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.533e-06/0.1075, allocations: 0 / 363.3 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.1075, allocations: 0 / 363.3 MB, free: 8.691 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.766e-05/0.1075, allocations: 99.25 kB / 363.4 MB, free: 8.594 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1075, allocations: 0 / 363.4 MB, free: 8.594 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001948/0.1077, allocations: 8 kB / 363.4 MB, free: 8.586 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.0001085/0.1079, allocations: 107.2 kB / 363.5 MB, free: 8.469 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000145/0.108, allocations: 51.98 kB / 363.6 MB, free: 8.418 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.108, allocations: 384 / 363.6 MB, free: 8.418 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.108, allocations: 4 kB / 363.6 MB, free: 8.414 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.1083, allocations: 32.02 kB / 363.6 MB, free: 8.383 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003079/0.1087, allocations: 167.2 kB / 363.8 MB, free: 8.184 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.109, allocations: 0.6845 MB / 364.4 MB, free: 7.473 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.774e-05/0.109, allocations: 15.42 kB / 364.5 MB, free: 7.457 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.109, allocations: 4 kB / 364.5 MB, free: 7.453 MB / 302.1 MB Notification: Performance of Templates: time 0.002168/0.1112, allocations: 0.7558 MB / 365.2 MB, free: 6.699 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches