Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|pulse.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|pulse.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001607/0.001608, allocations: 108.2 kB / 16.03 MB, free: 6.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001865/0.001865, allocations: 191 kB / 16.95 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.803/1.803, allocations: 205.1 MB / 222.8 MB, free: 12.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08019/0.08019, allocations: 12.58 MB / 282.7 MB, free: 15.63 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001722/0.001723, allocations: 91.86 kB / 343 MB, free: 3.293 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2983, allocations: 49.37 MB / 392.4 MB, free: 49.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.003037/0.3014, allocations: 1.551 MB / 393.9 MB, free: 48.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006672/0.3021, allocations: 488.9 kB / 394.4 MB, free: 47.75 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.143e-05/0.3022, allocations: 13.06 kB / 394.4 MB, free: 47.74 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.701e-05/0.3022, allocations: 1.875 kB / 394.4 MB, free: 47.74 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000155/0.3024, allocations: 11.23 kB / 394.4 MB, free: 47.73 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001696/0.3026, allocations: 28.58 kB / 394.4 MB, free: 47.72 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.689e-05/0.3027, allocations: 58.75 kB / 394.5 MB, free: 47.69 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.926e-05/0.3028, allocations: 10.69 kB / 394.5 MB, free: 47.69 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.104e-05/0.3029, allocations: 19.03 kB / 394.5 MB, free: 47.68 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.64e-05/0.3029, allocations: 24.64 kB / 394.5 MB, free: 47.67 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.3029, allocations: 4.375 kB / 394.6 MB, free: 47.67 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.312e-05/0.3029, allocations: 7.781 kB / 394.6 MB, free: 47.66 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.032e-05/0.303, allocations: 16.25 kB / 394.6 MB, free: 47.65 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.432e-05/0.303, allocations: 15.61 kB / 394.6 MB, free: 47.64 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.808e-05/0.3031, allocations: 50.27 kB / 394.6 MB, free: 47.62 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.3031, allocations: 4 kB / 394.6 MB, free: 47.62 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3031, allocations: 0 / 394.6 MB, free: 47.62 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.3031, allocations: 1.219 kB / 394.6 MB, free: 47.62 MB / 318.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.0004887/0.3036, allocations: 375.8 kB / 395 MB, free: 47.25 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.3037, allocations: 8.094 kB / 395 MB, free: 47.25 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.032e-05/0.3037, allocations: 9.141 kB / 395 MB, free: 47.25 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.3039, allocations: 182.6 kB / 395.2 MB, free: 47.04 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.3039, allocations: 7.188 kB / 395.2 MB, free: 47.04 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.917e-05/0.3039, allocations: 2.688 kB / 395.2 MB, free: 47.04 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003796/0.3043, allocations: 143.6 kB / 395.4 MB, free: 46.95 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.3043, allocations: 1.094 kB / 395.4 MB, free: 46.95 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.3044, allocations: 4 kB / 395.4 MB, free: 46.95 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.3044, allocations: 1.734 kB / 395.4 MB, free: 46.95 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.3045, allocations: 24.3 kB / 395.4 MB, free: 46.94 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000124/0.3046, allocations: 171.9 kB / 395.6 MB, free: 46.74 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001914/0.3048, allocations: 133.3 kB / 395.7 MB, free: 46.61 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.843e-05/0.3049, allocations: 34.77 kB / 395.7 MB, free: 46.59 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.3049, allocations: 1.719 kB / 395.7 MB, free: 46.59 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.305, allocations: 36.3 kB / 395.8 MB, free: 46.55 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.305, allocations: 0 / 395.8 MB, free: 46.55 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002595/0.3052, allocations: 94.7 kB / 395.9 MB, free: 46.49 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.3053, allocations: 59.09 kB / 395.9 MB, free: 46.42 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.56e-05/0.3053, allocations: 107.2 kB / 396 MB, free: 46.32 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.926e-06/0.3054, allocations: 25.7 kB / 396 MB, free: 46.29 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.016e-05/0.3054, allocations: 86.03 kB / 396.1 MB, free: 46.2 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.622e-05/0.3054, allocations: 2.797 kB / 396.1 MB, free: 46.2 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.869e-05/0.3054, allocations: 20.02 kB / 396.1 MB, free: 46.18 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.872e-05/0.3055, allocations: 322 kB / 396.5 MB, free: 45.86 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.704e-05/0.3055, allocations: 14.34 kB / 396.5 MB, free: 45.86 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.889e-05/0.3056, allocations: 45.52 kB / 396.5 MB, free: 45.8 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.662e-05/0.3056, allocations: 61.97 kB / 396.6 MB, free: 45.73 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3056, allocations: 0 / 396.6 MB, free: 45.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.686e-05/0.3057, allocations: 76.72 kB / 396.7 MB, free: 45.68 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.3057, allocations: 11.44 kB / 396.7 MB, free: 45.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3057, allocations: 0.75 kB / 396.7 MB, free: 45.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.3058, allocations: 7.5 kB / 396.7 MB, free: 45.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.683e-05/0.3058, allocations: 8.453 kB / 396.7 MB, free: 45.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.3058, allocations: 0 / 396.7 MB, free: 45.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.319e-05/0.3059, allocations: 4.156 kB / 396.7 MB, free: 45.68 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.3059, allocations: 4.031 kB / 396.7 MB, free: 45.68 MB / 318.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 6.063e-05/0.3059, allocations: 123.1 kB / 396.8 MB, free: 45.55 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.3061, allocations: 72.05 kB / 396.9 MB, free: 45.5 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.858e-05/0.3061, allocations: 11.86 kB / 396.9 MB, free: 45.5 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.3061, allocations: 4 kB / 396.9 MB, free: 45.49 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.3061, allocations: 0 / 396.9 MB, free: 45.49 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3061, allocations: 4.547 kB / 396.9 MB, free: 45.49 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.648e-05/0.3062, allocations: 162.4 kB / 397.1 MB, free: 45.3 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3062, allocations: 0.7969 kB / 397.1 MB, free: 45.3 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.531e-05/0.3062, allocations: 9.703 kB / 397.1 MB, free: 45.29 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.3062, allocations: 3.938 kB / 397.1 MB, free: 45.29 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.3063, allocations: 2.266 kB / 397.1 MB, free: 45.29 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3063, allocations: 0.5625 kB / 397.1 MB, free: 45.29 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3063, allocations: 0 / 397.1 MB, free: 45.29 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.3064, allocations: 97.78 kB / 397.2 MB, free: 45.21 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.377e-05/0.3064, allocations: 88.17 kB / 397.3 MB, free: 45.11 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.3065, allocations: 5.188 kB / 397.3 MB, free: 45.1 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.49e-05/0.3066, allocations: 19.55 kB / 397.3 MB, free: 45.1 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-06/0.3066, allocations: 0 / 397.3 MB, free: 45.1 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.503e-06/0.3066, allocations: 6.031 kB / 397.3 MB, free: 45.09 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.889e-05/0.3066, allocations: 95.38 kB / 397.4 MB, free: 45.01 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3066, allocations: 1 kB / 397.4 MB, free: 45.01 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001909/0.3068, allocations: 7.25 kB / 397.4 MB, free: 45.01 MB / 318.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 9.108e-05/0.3069, allocations: 96.38 kB / 397.5 MB, free: 44.91 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001478/0.3071, allocations: 44.27 kB / 397.5 MB, free: 44.9 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3071, allocations: 1.438 kB / 397.5 MB, free: 44.9 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.3071, allocations: 4 kB / 397.5 MB, free: 44.89 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003222/0.3074, allocations: 42.64 kB / 397.6 MB, free: 44.88 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003009/0.3077, allocations: 142.8 kB / 397.7 MB, free: 44.75 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001322/0.3079, allocations: 0.6889 MB / 398.4 MB, free: 44.05 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.275e-05/0.3079, allocations: 6.203 kB / 398.4 MB, free: 44.05 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.756e-05/0.3079, allocations: 11.41 kB / 398.4 MB, free: 44.04 MB / 318.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3079, allocations: 0 / 398.4 MB, free: 44.04 MB / 318.1 MB Notification: Performance of Templates: time 0.003039/0.311, allocations: 0.6239 MB / 399 MB, free: 43.86 MB / 318.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches