Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001391/0.001391, allocations: 200.7 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.799/1.799, allocations: 229.5 MB / 247.7 MB, free: 6.32 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009396/0.0009395, allocations: 96.05 kB / 299.8 MB, free: 5.344 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000247/0.000247, allocations: 4 kB / 360.6 MB, free: 8.473 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2903, allocations: 51.42 MB / 412.1 MB, free: 25.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.001448/0.2918, allocations: 1.195 MB / 413.2 MB, free: 24.7 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006635/0.2925, allocations: 0.6016 MB / 413.8 MB, free: 24.06 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.432e-05/0.2926, allocations: 0 / 413.8 MB, free: 24.06 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.653e-05/0.2926, allocations: 7.875 kB / 413.9 MB, free: 24.05 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001505/0.2928, allocations: 16.95 kB / 413.9 MB, free: 24.04 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001621/0.2929, allocations: 23.97 kB / 413.9 MB, free: 24.01 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.565e-05/0.293, allocations: 49.05 kB / 413.9 MB, free: 23.96 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.2931, allocations: 11.97 kB / 414 MB, free: 23.95 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.66e-05/0.2932, allocations: 22.22 kB / 414 MB, free: 23.93 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.117e-05/0.2933, allocations: 19.92 kB / 414 MB, free: 23.91 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.2933, allocations: 0 / 414 MB, free: 23.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.071e-05/0.2933, allocations: 4 kB / 414 MB, free: 23.91 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.792e-05/0.2933, allocations: 7.922 kB / 414 MB, free: 23.9 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.349e-05/0.2934, allocations: 45.62 kB / 414.1 MB, free: 23.85 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.976e-05/0.2935, allocations: 50.92 kB / 414.1 MB, free: 23.8 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.2935, allocations: 0 / 414.1 MB, free: 23.8 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2935, allocations: 0 / 414.1 MB, free: 23.8 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.808e-06/0.2935, allocations: 0 / 414.1 MB, free: 23.8 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.000483/0.294, allocations: 369 kB / 414.5 MB, free: 23.4 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.294, allocations: 8.031 kB / 414.5 MB, free: 23.39 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.43e-05/0.2941, allocations: 8.844 kB / 414.5 MB, free: 23.38 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.2942, allocations: 176.2 kB / 414.7 MB, free: 23.17 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.2943, allocations: 8.375 kB / 414.7 MB, free: 23.16 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.2943, allocations: 8.344 kB / 414.7 MB, free: 23.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003321/0.2946, allocations: 147.5 kB / 414.8 MB, free: 23 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.2946, allocations: 0 / 414.8 MB, free: 23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.2946, allocations: 4 kB / 414.8 MB, free: 23 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.341e-06/0.2947, allocations: 7.984 kB / 414.8 MB, free: 22.99 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.554e-05/0.2948, allocations: 31.92 kB / 414.9 MB, free: 22.96 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001141/0.2949, allocations: 161.7 kB / 415 MB, free: 22.75 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.2951, allocations: 147.7 kB / 415.2 MB, free: 22.58 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.281e-05/0.2951, allocations: 28.84 kB / 415.2 MB, free: 22.55 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.2952, allocations: 4 kB / 415.2 MB, free: 22.54 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.501e-05/0.2952, allocations: 34.5 kB / 415.2 MB, free: 22.5 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.2952, allocations: 0 / 415.2 MB, free: 22.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002224/0.2954, allocations: 89.67 kB / 415.3 MB, free: 22.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.2955, allocations: 59.34 kB / 415.4 MB, free: 22.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.407e-05/0.2955, allocations: 121.7 kB / 415.5 MB, free: 22.21 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.245e-06/0.2956, allocations: 25.7 kB / 415.5 MB, free: 22.18 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.245e-05/0.2956, allocations: 84.14 kB / 415.6 MB, free: 22.09 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.236e-05/0.2956, allocations: 7.984 kB / 415.6 MB, free: 22.08 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.475e-06/0.2956, allocations: 0 / 415.6 MB, free: 22.08 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.302e-05/0.2957, allocations: 314.8 kB / 415.9 MB, free: 21.77 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.371e-05/0.2957, allocations: 8 kB / 415.9 MB, free: 21.76 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.616e-05/0.2957, allocations: 45.14 kB / 416 MB, free: 21.7 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.546e-05/0.2958, allocations: 57.09 kB / 416 MB, free: 21.62 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2958, allocations: 0 / 416 MB, free: 21.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.755e-05/0.2959, allocations: 69.56 kB / 416.1 MB, free: 21.55 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.2959, allocations: 7.938 kB / 416.1 MB, free: 21.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.2959, allocations: 4 kB / 416.1 MB, free: 21.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.2959, allocations: 4.188 kB / 416.1 MB, free: 21.53 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.686e-05/0.296, allocations: 15.92 kB / 416.1 MB, free: 21.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.296, allocations: 4 kB / 416.1 MB, free: 21.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.257e-05/0.296, allocations: 7.906 kB / 416.1 MB, free: 21.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.296, allocations: 4 kB / 416.1 MB, free: 21.5 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 5.897e-05/0.2961, allocations: 117.8 kB / 416.2 MB, free: 21.38 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.2962, allocations: 73.55 kB / 416.3 MB, free: 21.3 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.206e-05/0.2962, allocations: 8.375 kB / 416.3 MB, free: 21.29 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.2962, allocations: 8 kB / 416.3 MB, free: 21.28 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.2963, allocations: 0 / 416.3 MB, free: 21.28 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2963, allocations: 0 / 416.3 MB, free: 21.28 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.684e-05/0.2963, allocations: 165.6 kB / 416.5 MB, free: 21.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2963, allocations: 0 / 416.5 MB, free: 21.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.364e-05/0.2964, allocations: 11.98 kB / 416.5 MB, free: 21.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2964, allocations: 3.938 kB / 416.5 MB, free: 21.05 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.2964, allocations: 320 / 416.5 MB, free: 21.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2964, allocations: 0 / 416.5 MB, free: 21.05 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.2964, allocations: 4 kB / 416.5 MB, free: 21.05 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001298/0.2966, allocations: 105 kB / 416.6 MB, free: 20.93 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.485e-05/0.2966, allocations: 88.95 kB / 416.7 MB, free: 20.82 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.2966, allocations: 7.938 kB / 416.7 MB, free: 20.81 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.102e-05/0.2967, allocations: 15.92 kB / 416.7 MB, free: 20.8 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.035e-06/0.2967, allocations: 0 / 416.7 MB, free: 20.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.084e-06/0.2967, allocations: 7.984 kB / 416.7 MB, free: 20.79 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.745e-05/0.2967, allocations: 87.75 kB / 416.8 MB, free: 20.7 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2967, allocations: 0 / 416.8 MB, free: 20.7 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001743/0.2969, allocations: 8 kB / 416.8 MB, free: 20.7 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 8.861e-05/0.297, allocations: 107.2 kB / 416.9 MB, free: 20.58 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00014/0.2972, allocations: 39.92 kB / 417 MB, free: 20.54 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2972, allocations: 384 / 417 MB, free: 20.54 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.91e-07/0.2972, allocations: 4 kB / 417 MB, free: 20.54 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.2975, allocations: 43.88 kB / 417 MB, free: 20.5 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002467/0.2978, allocations: 148.7 kB / 417.2 MB, free: 20.32 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.2979, allocations: 0.6848 MB / 417.9 MB, free: 19.61 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.14e-05/0.2979, allocations: 19.67 kB / 417.9 MB, free: 19.59 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.353e-05/0.2979, allocations: 11.44 kB / 417.9 MB, free: 19.58 MB / 298.7 MB Notification: Performance of SimCode: time 3.5e-07/0.2979, allocations: 0 / 417.9 MB, free: 19.58 MB / 298.7 MB Notification: Performance of Templates: time 0.002258/0.3002, allocations: 0.5828 MB / 418.5 MB, free: 19 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/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