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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009458/0.0009458, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009468/0.0009468, allocations: 157.3 kB / 24.99 MB, free: 8.797 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9951/0.9951, allocations: 177 MB / 205.2 MB, free: 5.562 MB / 186.7 MB " [Timeout remaining time 179] 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=5011,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=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 273 MB, free: 1.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.514e-05/2.676e-05, allocations: 5.266 kB / 273 MB, free: 1.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.005579/0.005606, allocations: 1.548 MB / 274.5 MB, free: 184 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007811/0.006387, allocations: 474.8 kB / 275 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.096e-05/0.006458, allocations: 7.938 kB / 275 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.695e-05/0.006485, allocations: 0 / 275 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001608/0.006646, allocations: 23.84 kB / 275 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001761/0.006822, allocations: 31.84 kB / 275.1 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.006929, allocations: 55.78 kB / 275.1 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0031/0.01003, allocations: 4 kB / 275.1 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.547e-05/0.01012, allocations: 39.89 kB / 275.2 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.355e-05/0.01017, allocations: 11.98 kB / 275.2 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/0.01019, allocations: 4 kB / 275.2 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.079e-05/0.0102, allocations: 4 kB / 275.2 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.252e-05/0.01023, allocations: 19.88 kB / 275.2 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.416e-05/0.01026, allocations: 15.97 kB / 275.2 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.01037, allocations: 35.84 kB / 275.3 MB, free: 15.46 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.01038, allocations: 0 / 275.3 MB, free: 15.46 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.01038, allocations: 0 / 275.3 MB, free: 15.46 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.087e-06/0.01038, allocations: 0 / 275.3 MB, free: 15.46 MB / 266.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.0004753/0.01086, allocations: 396.5 kB / 275.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.0109, allocations: 15.98 kB / 275.7 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.214e-05/0.01095, allocations: 12.89 kB / 275.7 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.01113, allocations: 124.6 kB / 275.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.01115, allocations: 4.359 kB / 275.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.01117, allocations: 12.31 kB / 275.8 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002963/0.01146, allocations: 134.2 kB / 275.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.01147, allocations: 4.188 kB / 275.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.01148, allocations: 384 / 275.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.01149, allocations: 7.938 kB / 275.9 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.419e-05/0.01154, allocations: 15.98 kB / 276 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001156/0.01165, allocations: 116.6 kB / 276.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.01179, allocations: 55.09 kB / 276.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.166e-05/0.01183, allocations: 27.56 kB / 276.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.01184, allocations: 0 / 276.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.01187, allocations: 41.39 kB / 276.2 MB, free: 14.38 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 4.148e-06/0.01187, allocations: 0 / 276.2 MB, free: 14.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001876/0.01206, allocations: 73.62 kB / 276.3 MB, free: 14.3 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.01211, allocations: 59.34 kB / 276.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.317e-05/0.0122, allocations: 165.9 kB / 276.5 MB, free: 14.05 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.01222, allocations: 33.7 kB / 276.5 MB, free: 14.01 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.729e-05/0.01226, allocations: 126.9 kB / 276.6 MB, free: 13.88 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.12e-05/0.01227, allocations: 0 / 276.6 MB, free: 13.88 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.242e-05/0.01231, allocations: 27.31 kB / 276.7 MB, free: 13.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.01244, allocations: 496.1 kB / 277.2 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.331e-05/0.01245, allocations: 4 kB / 277.2 MB, free: 13.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.434e-06/0.01246, allocations: 0 / 277.2 MB, free: 13.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.737e-05/0.01248, allocations: 19.75 kB / 277.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.01249, allocations: 0 / 277.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.514e-05/0.01255, allocations: 41.64 kB / 277.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.01256, allocations: 4 kB / 277.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.01257, allocations: 4 kB / 277.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.01258, allocations: 0 / 277.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.917e-05/0.01262, allocations: 3.938 kB / 277.2 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.01263, allocations: 3.938 kB / 277.2 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.018e-05/0.01265, allocations: 7.938 kB / 277.2 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.546e-06/0.01265, allocations: 0 / 277.2 MB, free: 13.25 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (pulse.next) * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.721e-05/0.01273, allocations: 160.6 kB / 277.4 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003085/0.01582, allocations: 53.69 kB / 277.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.273e-05/0.01585, allocations: 8.438 kB / 277.5 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.01585, allocations: 4 kB / 277.5 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.01586, allocations: 3.938 kB / 277.5 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.01586, allocations: 3.984 kB / 277.5 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.799e-05/0.01594, allocations: 116.6 kB / 277.6 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.01594, allocations: 320 / 277.6 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.343e-05/0.01599, allocations: 11.98 kB / 277.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.016, allocations: 8 kB / 277.6 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.01601, allocations: 0 / 277.6 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.01601, allocations: 7.875 kB / 277.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.01601, allocations: 0 / 277.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001098/0.01612, allocations: 100.4 kB / 277.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.353e-05/0.01614, allocations: 7.938 kB / 277.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.01615, allocations: 4 kB / 277.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.646e-05/0.0162, allocations: 11.98 kB / 277.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-06/0.0162, allocations: 0 / 277.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-06/0.01621, allocations: 4 kB / 277.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.947e-05/0.01626, allocations: 135.1 kB / 277.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01626, allocations: 0 / 277.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001887/0.01645, allocations: 4 kB / 277.9 MB, free: 12.54 MB / 266.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 9.934e-05/0.01655, allocations: 99.23 kB / 278 MB, free: 12.43 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.43e-05/0.01664, allocations: 27.62 kB / 278 MB, free: 12.4 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01664, allocations: 0 / 278 MB, free: 12.4 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.02e-07/0.01664, allocations: 0 / 278 MB, free: 12.4 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002814/0.01692, allocations: 34.05 kB / 278 MB, free: 12.37 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000259/0.01718, allocations: 136.2 kB / 278.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.423e-05/0.01722, allocations: 55.36 kB / 278.2 MB, free: 12.13 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.584e-05/0.01723, allocations: 7.922 kB / 278.2 MB, free: 12.12 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.155e-05/0.01726, allocations: 12.5 kB / 278.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of SimCode: time 7.52e-07/0.01726, allocations: 0 / 278.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of Templates: time 0.005498/0.02276, allocations: 0.6686 MB / 278.9 MB, free: 11.45 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedPulse/TimeBasedPulse.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.807409674162045]