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.0009447/0.0009447, allocations: 94.67 kB / 18.01 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001156/0.001156, allocations: 204.1 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.7 MB / 247.5 MB, free: 11.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002274/0.0002275, allocations: 8 kB / 308.4 MB, free: 0.8359 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0899/0.09014, allocations: 51.53 MB / 359.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.00162/0.0918, allocations: 1.212 MB / 361.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008054/0.09263, allocations: 471 kB / 361.6 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.136e-05/0.09274, allocations: 4 kB / 361.6 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.179e-05/0.09277, allocations: 3.938 kB / 361.6 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001766/0.09296, allocations: 11.92 kB / 361.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002092/0.09318, allocations: 23.97 kB / 361.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000111/0.0933, allocations: 55.8 kB / 361.7 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.09341, allocations: 7.984 kB / 361.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.063e-05/0.09351, allocations: 27.86 kB / 361.7 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.128e-05/0.09356, allocations: 15.92 kB / 361.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.09359, allocations: 4 kB / 361.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.031e-05/0.0936, allocations: 0 / 361.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.227e-05/0.09363, allocations: 11.92 kB / 361.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.581e-05/0.09368, allocations: 41.62 kB / 361.8 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.325e-05/0.09376, allocations: 31.94 kB / 361.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.09377, allocations: 0 / 361.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.09378, allocations: 0 / 361.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.09379, allocations: 0 / 361.8 MB, free: 11.39 MB / 302.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.0005326/0.09432, allocations: 375.6 kB / 362.2 MB, free: 10.97 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.09437, allocations: 8.031 kB / 362.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.961e-05/0.09442, allocations: 8.844 kB / 362.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.09463, allocations: 184.2 kB / 362.4 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.09466, allocations: 4.375 kB / 362.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.09468, allocations: 4.375 kB / 362.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003833/0.09507, allocations: 151.5 kB / 362.5 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.762e-06/0.09508, allocations: 0 / 362.5 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.0951, allocations: 4 kB / 362.5 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.09511, allocations: 0 / 362.5 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.09524, allocations: 31.98 kB / 362.6 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001593/0.09541, allocations: 169.6 kB / 362.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002052/0.09562, allocations: 135.7 kB / 362.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.007e-05/0.09571, allocations: 36.84 kB / 362.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.09574, allocations: 0 / 362.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.09578, allocations: 38.5 kB / 363 MB, free: 10.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 9.52e-07/0.09578, allocations: 0 / 363 MB, free: 10.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002686/0.09606, allocations: 97.55 kB / 363 MB, free: 9.973 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.09612, allocations: 59.34 kB / 363.1 MB, free: 9.902 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.444e-05/0.09622, allocations: 113.8 kB / 363.2 MB, free: 9.781 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.09624, allocations: 29.7 kB / 363.2 MB, free: 9.746 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.912e-05/0.09629, allocations: 84.14 kB / 363.3 MB, free: 9.66 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.317e-05/0.09631, allocations: 4 kB / 363.3 MB, free: 9.656 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.577e-05/0.09634, allocations: 13.72 kB / 363.3 MB, free: 9.637 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.09647, allocations: 318.8 kB / 363.7 MB, free: 9.316 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.574e-05/0.09649, allocations: 4 kB / 363.7 MB, free: 9.312 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.01e-05/0.09653, allocations: 45.14 kB / 363.7 MB, free: 9.25 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.571e-05/0.0966, allocations: 61.09 kB / 363.8 MB, free: 9.172 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.09661, allocations: 0 / 363.8 MB, free: 9.172 MB / 302.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001202/0.09674, allocations: 77.53 kB / 363.8 MB, free: 9.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.09676, allocations: 15.88 kB / 363.9 MB, free: 9.074 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.09677, allocations: 3.938 kB / 363.9 MB, free: 9.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.09679, allocations: 4 kB / 363.9 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.694e-05/0.09684, allocations: 4 kB / 363.9 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-06/0.09686, allocations: 7.984 kB / 363.9 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.465e-05/0.0969, allocations: 11.88 kB / 363.9 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.09691, allocations: 4 kB / 363.9 MB, free: 9.039 MB / 302.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 8.388e-05/0.097, allocations: 121.9 kB / 364 MB, free: 8.91 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/0.09715, allocations: 69.56 kB / 364.1 MB, free: 8.836 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.516e-05/0.09719, allocations: 16.36 kB / 364.1 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.0972, allocations: 0 / 364.1 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.09721, allocations: 0 / 364.1 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.09722, allocations: 0 / 364.1 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001168/0.09734, allocations: 165.6 kB / 364.3 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.09735, allocations: 4 kB / 364.3 MB, free: 8.605 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.978e-05/0.0974, allocations: 7.984 kB / 364.3 MB, free: 8.598 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.09741, allocations: 3.938 kB / 364.3 MB, free: 8.594 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.09743, allocations: 4 kB / 364.3 MB, free: 8.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.09744, allocations: 4 kB / 364.3 MB, free: 8.586 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.09744, allocations: 0 / 364.3 MB, free: 8.586 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.09762, allocations: 101.4 kB / 364.4 MB, free: 8.469 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.559e-05/0.09768, allocations: 84.95 kB / 364.5 MB, free: 8.367 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.09771, allocations: 4 kB / 364.5 MB, free: 8.363 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.022e-05/0.0978, allocations: 19.98 kB / 364.5 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.186e-06/0.09781, allocations: 0 / 364.5 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.09782, allocations: 0 / 364.5 MB, free: 8.344 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.728e-05/0.09787, allocations: 91.27 kB / 364.6 MB, free: 8.254 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09788, allocations: 0 / 364.6 MB, free: 8.254 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000197/0.09808, allocations: 8 kB / 364.6 MB, free: 8.246 MB / 302.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.000109/0.09819, allocations: 99.25 kB / 364.7 MB, free: 8.137 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001344/0.09834, allocations: 43.92 kB / 364.7 MB, free: 8.094 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.09835, allocations: 0 / 364.7 MB, free: 8.094 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.92e-07/0.09836, allocations: 0 / 364.7 MB, free: 8.094 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.09868, allocations: 39.95 kB / 364.8 MB, free: 8.055 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000313/0.09901, allocations: 182.7 kB / 364.9 MB, free: 7.844 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002345/0.09926, allocations: 0.6848 MB / 365.6 MB, free: 7.133 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.654e-05/0.09929, allocations: 11.42 kB / 365.6 MB, free: 7.121 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.0993, allocations: 0 / 365.6 MB, free: 7.121 MB / 302.1 MB Notification: Performance of Templates: time 0.002029/0.1013, allocations: 0.7605 MB / 366.4 MB, free: 6.371 MB / 302.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