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.001512/0.001512, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 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.002104/0.002104, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 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 1.772/1.772, allocations: 230.3 MB / 258 MB, free: 8.215 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002022/0.002022, allocations: 67.88 kB / 378.7 MB, free: 2.797 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4298/0.4318, allocations: 53.37 MB / 432.1 MB, free: 7.094 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.003777/0.4356, allocations: 1.5 MB / 433.6 MB, free: 5.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.4368, allocations: 0.4948 MB / 434.1 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.4369, allocations: 0 / 434.1 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.153e-05/0.4369, allocations: 7.875 kB / 434.1 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000214/0.4372, allocations: 19.84 kB / 434.1 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.4374, allocations: 27.97 kB / 434.2 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.4376, allocations: 55.78 kB / 434.2 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.4377, allocations: 8 kB / 434.2 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.545e-05/0.4378, allocations: 19.92 kB / 434.2 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.556e-05/0.4378, allocations: 27.91 kB / 434.3 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.369e-05/0.4379, allocations: 8 kB / 434.3 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.648e-05/0.4379, allocations: 4 kB / 434.3 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.065e-05/0.4379, allocations: 15.92 kB / 434.3 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.644e-05/0.438, allocations: 19.92 kB / 434.3 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001536/0.4381, allocations: 47.61 kB / 434.4 MB, free: 4.836 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4381, allocations: 0 / 434.4 MB, free: 4.836 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4381, allocations: 0 / 434.4 MB, free: 4.836 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.4381, allocations: 3.938 kB / 434.4 MB, free: 4.832 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.0007246/0.4388, allocations: 300.1 kB / 434.7 MB, free: 4.516 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.4389, allocations: 12.03 kB / 434.7 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.635e-05/0.4389, allocations: 8.891 kB / 434.7 MB, free: 4.496 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003274/0.4393, allocations: 126.4 kB / 434.8 MB, free: 4.348 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.4393, allocations: 4.375 kB / 434.8 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.4393, allocations: 12.38 kB / 434.8 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004247/0.4397, allocations: 143.5 kB / 435 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.4397, allocations: 0 / 435 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.4397, allocations: 0 / 435 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.8e-06/0.4398, allocations: 0 / 435 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.4399, allocations: 39.91 kB / 435 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000168/0.4401, allocations: 136.7 kB / 435.1 MB, free: 3.965 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002002/0.4403, allocations: 50.61 kB / 435.2 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.989e-05/0.4403, allocations: 28.8 kB / 435.2 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.4404, allocations: 3.984 kB / 435.2 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/0.4404, allocations: 42.5 kB / 435.3 MB, free: 3.82 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.502e-06/0.4404, allocations: 0 / 435.3 MB, free: 3.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003114/0.4407, allocations: 89.56 kB / 435.3 MB, free: 3.727 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.44e-05/0.4408, allocations: 59.41 kB / 435.4 MB, free: 3.656 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.4409, allocations: 105.8 kB / 435.5 MB, free: 3.543 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.4409, allocations: 25.7 kB / 435.5 MB, free: 3.512 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.334e-05/0.441, allocations: 84.14 kB / 435.6 MB, free: 3.426 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/0.441, allocations: 4 kB / 435.6 MB, free: 3.422 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.397e-05/0.441, allocations: 25.7 kB / 435.6 MB, free: 3.391 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.4412, allocations: 314.8 kB / 436 MB, free: 3.074 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.299e-05/0.4412, allocations: 8.25 kB / 436 MB, free: 3.066 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.503e-05/0.4413, allocations: 57.44 kB / 436 MB, free: 2.992 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.204e-05/0.4414, allocations: 57.03 kB / 436.1 MB, free: 2.918 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4414, allocations: 0 / 436.1 MB, free: 2.918 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000133/0.4415, allocations: 77.52 kB / 436.1 MB, free: 2.836 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.4415, allocations: 14.62 kB / 436.2 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.4415, allocations: 3.984 kB / 436.2 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.4415, allocations: 4 kB / 436.2 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.439e-05/0.4416, allocations: 8 kB / 436.2 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.4416, allocations: 4.141 kB / 436.2 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.043e-05/0.4416, allocations: 8 kB / 436.2 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.4417, allocations: 3.938 kB / 436.2 MB, free: 2.793 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 0.0001178/0.4418, allocations: 121.7 kB / 436.3 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/0.4419, allocations: 77.56 kB / 436.4 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.115e-05/0.442, allocations: 8.375 kB / 436.4 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.442, allocations: 4 kB / 436.4 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.442, allocations: 0 / 436.4 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.442, allocations: 0 / 436.4 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001132/0.4421, allocations: 136.7 kB / 436.5 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.4421, allocations: 0 / 436.5 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.18e-05/0.4421, allocations: 8 kB / 436.5 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.4421, allocations: 3.938 kB / 436.5 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.4422, allocations: 0 / 436.5 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.4422, allocations: 7.875 kB / 436.6 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4422, allocations: 4 kB / 436.6 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001776/0.4423, allocations: 97.06 kB / 436.7 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.903e-05/0.4424, allocations: 7.938 kB / 436.7 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.334e-05/0.4424, allocations: 8.125 kB / 436.7 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.179e-05/0.4425, allocations: 15.97 kB / 436.7 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.016e-06/0.4425, allocations: 4 kB / 436.7 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.4425, allocations: 4 kB / 436.7 MB, free: 2.215 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.826e-05/0.4425, allocations: 83.28 kB / 436.8 MB, free: 2.133 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4425, allocations: 0 / 436.8 MB, free: 2.133 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002072/0.4427, allocations: 8 kB / 436.8 MB, free: 2.125 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.0001197/0.4429, allocations: 107.2 kB / 436.9 MB, free: 2.012 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001652/0.443, allocations: 40.17 kB / 436.9 MB, free: 1.973 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.443, allocations: 0 / 436.9 MB, free: 1.973 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.02e-07/0.443, allocations: 3.938 kB / 436.9 MB, free: 1.969 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.4434, allocations: 35.95 kB / 437 MB, free: 1.934 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004094/0.4438, allocations: 141.6 kB / 437.1 MB, free: 1.77 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.4441, allocations: 0.6807 MB / 437.8 MB, free: 1.062 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.936e-05/0.4441, allocations: 8.125 kB / 437.8 MB, free: 1.055 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.92e-05/0.4442, allocations: 15.42 kB / 437.8 MB, free: 1.039 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4442, allocations: 0 / 437.8 MB, free: 1.039 MB / 334.1 MB Notification: Performance of Templates: time 0.003934/0.4481, allocations: 0.6726 MB / 438.5 MB, free: 388 kB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.581524124369025]