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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001661/0.001661, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 226.8 MB / 245.5 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00117/0.00117, allocations: 103 kB / 296.7 MB, free: 6.488 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001032/0.001032, allocations: 47.92 kB / 356.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3052, allocations: 50.46 MB / 407.1 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.003019/0.3082, allocations: 1.543 MB / 408.6 MB, free: 26.28 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009975/0.3093, allocations: 489.1 kB / 409.1 MB, free: 25.8 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.677e-05/0.3094, allocations: 4 kB / 409.1 MB, free: 25.8 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.378e-05/0.3095, allocations: 7.125 kB / 409.1 MB, free: 25.79 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002038/0.3097, allocations: 11.86 kB / 409.1 MB, free: 25.78 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001959/0.3099, allocations: 25.94 kB / 409.1 MB, free: 25.76 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.842e-05/0.31, allocations: 51.86 kB / 409.2 MB, free: 25.71 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.3101, allocations: 7.984 kB / 409.2 MB, free: 25.7 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.815e-05/0.3102, allocations: 19.88 kB / 409.2 MB, free: 25.68 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.9e-05/0.3102, allocations: 27.89 kB / 409.2 MB, free: 25.65 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.3103, allocations: 3.312 kB / 409.2 MB, free: 25.65 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.456e-05/0.3103, allocations: 4 kB / 409.2 MB, free: 25.65 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.939e-05/0.3103, allocations: 7.938 kB / 409.2 MB, free: 25.64 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.068e-05/0.3104, allocations: 19.92 kB / 409.3 MB, free: 25.62 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.813e-05/0.3105, allocations: 47.75 kB / 409.3 MB, free: 25.57 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3105, allocations: 3.984 kB / 409.3 MB, free: 25.57 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.3105, allocations: 0 / 409.3 MB, free: 25.57 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.778e-06/0.3105, allocations: 4 kB / 409.3 MB, free: 25.57 MB / 298.7 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.0005851/0.3111, allocations: 376.9 kB / 409.7 MB, free: 25.15 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.3111, allocations: 8.875 kB / 409.7 MB, free: 25.14 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.78e-05/0.3112, allocations: 4.938 kB / 409.7 MB, free: 25.14 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/0.3114, allocations: 188.1 kB / 409.9 MB, free: 24.92 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.3114, allocations: 8.375 kB / 409.9 MB, free: 24.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.3114, allocations: 4.375 kB / 409.9 MB, free: 24.91 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003407/0.3118, allocations: 143.5 kB / 410 MB, free: 24.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.3118, allocations: 3.984 kB / 410 MB, free: 24.75 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.729e-06/0.3118, allocations: 0 / 410 MB, free: 24.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.3118, allocations: 4 kB / 410 MB, free: 24.75 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.412e-05/0.3119, allocations: 27.98 kB / 410.1 MB, free: 24.72 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000124/0.312, allocations: 161.7 kB / 410.2 MB, free: 24.51 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.3122, allocations: 139.7 kB / 410.4 MB, free: 24.35 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.007e-05/0.3123, allocations: 32.84 kB / 410.4 MB, free: 24.31 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/0.3124, allocations: 0 / 410.4 MB, free: 24.31 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.3124, allocations: 38.5 kB / 410.4 MB, free: 24.27 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.3124, allocations: 0 / 410.4 MB, free: 24.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003225/0.3127, allocations: 89.52 kB / 410.5 MB, free: 24.17 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.245e-05/0.3128, allocations: 55.41 kB / 410.6 MB, free: 24.11 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.689e-05/0.3129, allocations: 109.8 kB / 410.7 MB, free: 23.99 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.3129, allocations: 33.64 kB / 410.7 MB, free: 23.95 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.708e-05/0.313, allocations: 84.12 kB / 410.8 MB, free: 23.86 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.313, allocations: 8 kB / 410.8 MB, free: 23.86 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.777e-05/0.313, allocations: 17.72 kB / 410.8 MB, free: 23.83 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.266e-05/0.3131, allocations: 318.8 kB / 411.1 MB, free: 23.51 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.954e-05/0.3131, allocations: 15.92 kB / 411.1 MB, free: 23.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.244e-05/0.3132, allocations: 41.16 kB / 411.2 MB, free: 23.44 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.439e-05/0.3132, allocations: 53.08 kB / 411.2 MB, free: 23.37 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.3132, allocations: 7.938 kB / 411.2 MB, free: 23.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.913e-05/0.3133, allocations: 81.53 kB / 411.3 MB, free: 23.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.3134, allocations: 7.938 kB / 411.3 MB, free: 23.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.3134, allocations: 4.25 kB / 411.3 MB, free: 23.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.3134, allocations: 0 / 411.3 MB, free: 23.26 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.228e-05/0.3135, allocations: 12 kB / 411.4 MB, free: 23.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.3135, allocations: 4 kB / 411.4 MB, free: 23.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.463e-05/0.3135, allocations: 3.984 kB / 411.4 MB, free: 23.24 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-06/0.3135, allocations: 4 kB / 411.4 MB, free: 23.24 MB / 298.7 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.499e-05/0.3136, allocations: 123.4 kB / 411.5 MB, free: 23.11 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.3138, allocations: 77.47 kB / 411.6 MB, free: 23.03 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.22e-05/0.3138, allocations: 8.375 kB / 411.6 MB, free: 23.02 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3138, allocations: 3.984 kB / 411.6 MB, free: 23.01 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.3138, allocations: 0 / 411.6 MB, free: 23.01 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3139, allocations: 0 / 411.6 MB, free: 23.01 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.018e-05/0.3139, allocations: 165.6 kB / 411.7 MB, free: 22.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.314, allocations: 0 / 411.7 MB, free: 22.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.316e-05/0.314, allocations: 7.984 kB / 411.7 MB, free: 22.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.314, allocations: 3.938 kB / 411.7 MB, free: 22.79 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.314, allocations: 0 / 411.7 MB, free: 22.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.314, allocations: 8 kB / 411.8 MB, free: 22.78 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.314, allocations: 0 / 411.8 MB, free: 22.78 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003833/0.3144, allocations: 0.6629 MB / 412.4 MB, free: 22.06 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.793e-05/0.3145, allocations: 81.11 kB / 412.5 MB, free: 21.96 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.3145, allocations: 7.984 kB / 412.5 MB, free: 21.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.45e-05/0.3146, allocations: 23.92 kB / 412.5 MB, free: 21.93 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.564e-06/0.3146, allocations: 0 / 412.5 MB, free: 21.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.3146, allocations: 128 / 412.5 MB, free: 21.93 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.722e-05/0.3147, allocations: 95.22 kB / 412.6 MB, free: 21.84 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3147, allocations: 0 / 412.6 MB, free: 21.84 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002865/0.3149, allocations: 4 kB / 412.6 MB, free: 21.83 MB / 298.7 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.0001393/0.3151, allocations: 111.9 kB / 412.7 MB, free: 21.71 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000148/0.3153, allocations: 43.86 kB / 412.8 MB, free: 21.67 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3153, allocations: 4 kB / 412.8 MB, free: 21.67 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.3153, allocations: 0 / 412.8 MB, free: 21.67 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000426/0.3157, allocations: 32.58 kB / 412.8 MB, free: 21.64 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003595/0.3161, allocations: 262.5 kB / 413.1 MB, free: 21.34 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001577/0.3162, allocations: 0.6925 MB / 413.8 MB, free: 20.62 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.219e-05/0.3163, allocations: 0 / 413.8 MB, free: 20.62 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.184e-05/0.3163, allocations: 15.42 kB / 413.8 MB, free: 20.6 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3163, allocations: 0 / 413.8 MB, free: 20.6 MB / 298.7 MB Notification: Performance of Templates: time 0.002707/0.319, allocations: 0.6272 MB / 414.4 MB, free: 19.99 MB / 298.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedPulse/TimeBasedPulse.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches