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.001328/0.001328, allocations: 117.7 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001118/0.001118, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 59.91 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2455, allocations: 50.53 MB / 409.9 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002351/0.2479, allocations: 1.496 MB / 411.4 MB, free: 116 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008389/0.2487, allocations: 486.8 kB / 411.9 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.769e-05/0.2488, allocations: 3.938 kB / 411.9 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.059e-05/0.2489, allocations: 0 / 411.9 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001572/0.249, allocations: 19.84 kB / 411.9 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001716/0.2492, allocations: 31.91 kB / 411.9 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.484e-05/0.2493, allocations: 55.78 kB / 412 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.087e-05/0.2494, allocations: 8 kB / 412 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.378e-05/0.2495, allocations: 19.92 kB / 412 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.521e-05/0.2495, allocations: 31.91 kB / 412.1 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.623e-05/0.2496, allocations: 4 kB / 412.1 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.335e-05/0.2496, allocations: 7.938 kB / 412.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.23e-05/0.2496, allocations: 15.92 kB / 412.1 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.249e-05/0.2497, allocations: 15.92 kB / 412.1 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.2498, allocations: 47.81 kB / 412.1 MB, free: 15.38 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2498, allocations: 0 / 412.1 MB, free: 15.38 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2498, allocations: 3.938 kB / 412.1 MB, free: 15.37 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.2498, allocations: 0 / 412.1 MB, free: 15.37 MB / 334.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.0005866/0.2504, allocations: 380.5 kB / 412.5 MB, free: 14.96 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.2504, allocations: 12.03 kB / 412.5 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/0.2505, allocations: 4.844 kB / 412.5 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002152/0.2507, allocations: 188.2 kB / 412.7 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.2507, allocations: 12.38 kB / 412.7 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.2507, allocations: 4.312 kB / 412.7 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000338/0.2511, allocations: 139.5 kB / 412.9 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.2511, allocations: 4 kB / 412.9 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.2511, allocations: 4 kB / 412.9 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.2511, allocations: 0 / 412.9 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.2512, allocations: 27.98 kB / 412.9 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001392/0.2514, allocations: 165.6 kB / 413.1 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.2516, allocations: 131.7 kB / 413.2 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.128e-05/0.2516, allocations: 32.78 kB / 413.2 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.2517, allocations: 4 kB / 413.2 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.2517, allocations: 38.5 kB / 413.3 MB, free: 14.06 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 2.464e-06/0.2517, allocations: 0 / 413.3 MB, free: 14.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002477/0.252, allocations: 85.61 kB / 413.4 MB, free: 13.97 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.252, allocations: 67.3 kB / 413.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.655e-05/0.2521, allocations: 101.9 kB / 413.5 MB, free: 13.79 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.2521, allocations: 25.7 kB / 413.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.534e-05/0.2522, allocations: 92.12 kB / 413.6 MB, free: 13.66 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.142e-05/0.2522, allocations: 0 / 413.6 MB, free: 13.66 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/0.2522, allocations: 25.7 kB / 413.7 MB, free: 13.63 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.492e-05/0.2523, allocations: 326.8 kB / 414 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.536e-05/0.2523, allocations: 4 kB / 414 MB, free: 13.3 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.625e-05/0.2524, allocations: 41.16 kB / 414 MB, free: 13.24 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.468e-05/0.2524, allocations: 61.02 kB / 414.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2524, allocations: 0 / 414.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001004/0.2526, allocations: 77.62 kB / 414.2 MB, free: 13.08 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.2526, allocations: 11.97 kB / 414.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.2526, allocations: 4 kB / 414.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.2526, allocations: 3.984 kB / 414.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.663e-05/0.2527, allocations: 11.94 kB / 414.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.2527, allocations: 3.984 kB / 414.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.334e-05/0.2527, allocations: 4.25 kB / 414.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.2527, allocations: 4 kB / 414.2 MB, free: 13.04 MB / 334.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 7.396e-05/0.2528, allocations: 125.7 kB / 414.3 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/0.253, allocations: 69.62 kB / 414.4 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.478e-05/0.253, allocations: 20.3 kB / 414.4 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.253, allocations: 0 / 414.4 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.253, allocations: 0 / 414.4 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.253, allocations: 0 / 414.4 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.2532, allocations: 165.6 kB / 414.6 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2532, allocations: 4 kB / 414.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.856e-05/0.2532, allocations: 7.984 kB / 414.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.2532, allocations: 3.938 kB / 414.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.2532, allocations: 0 / 414.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2533, allocations: 0 / 414.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2533, allocations: 8 kB / 414.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001585/0.2534, allocations: 89.11 kB / 414.7 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.579e-05/0.2535, allocations: 84.95 kB / 414.8 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.2535, allocations: 11.94 kB / 414.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.486e-05/0.2536, allocations: 15.98 kB / 414.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.158e-06/0.2536, allocations: 0 / 414.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.2536, allocations: 7.938 kB / 414.8 MB, free: 12.33 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.516e-05/0.2537, allocations: 87.27 kB / 414.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2537, allocations: 0 / 414.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001983/0.2539, allocations: 8 kB / 414.9 MB, free: 12.24 MB / 334.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.0001342/0.254, allocations: 95.25 kB / 415 MB, free: 12.14 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001472/0.2542, allocations: 48.05 kB / 415 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2542, allocations: 0 / 415 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.2542, allocations: 0 / 415 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.2545, allocations: 39.69 kB / 415.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002906/0.2548, allocations: 162.7 kB / 415.2 MB, free: 11.86 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.2551, allocations: 0.6884 MB / 415.9 MB, free: 11.15 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.015e-05/0.2551, allocations: 11.69 kB / 415.9 MB, free: 11.14 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2551, allocations: 4 kB / 415.9 MB, free: 11.13 MB / 334.1 MB Notification: Performance of Templates: time 0.001958/0.2571, allocations: 0.7717 MB / 416.7 MB, free: 10.36 MB / 334.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.0.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