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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008237/0.0008238, allocations: 92.28 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009625/0.0009625, allocations: 206.3 kB / 18.29 MB, free: 5.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.252/1.252, allocations: 227.7 MB / 246.8 MB, free: 11.25 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001991/0.0001991, allocations: 7.984 kB / 307.8 MB, free: 0.6875 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08165/0.08187, allocations: 51.51 MB / 359.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.001534/0.08343, allocations: 1.211 MB / 360.6 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007578/0.08421, allocations: 474.9 kB / 361 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.387e-05/0.08429, allocations: 3.938 kB / 361 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.511e-05/0.08431, allocations: 0 / 361 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000136/0.08445, allocations: 15.92 kB / 361.1 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001625/0.08462, allocations: 39.34 kB / 361.1 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.339e-05/0.08471, allocations: 47.84 kB / 361.1 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.952e-05/0.0848, allocations: 11.98 kB / 361.1 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.637e-05/0.08486, allocations: 23.88 kB / 361.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.485e-05/0.08492, allocations: 23.91 kB / 361.2 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.08494, allocations: 4 kB / 361.2 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.739e-06/0.08495, allocations: 0 / 361.2 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.669e-05/0.08497, allocations: 3.938 kB / 361.2 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.761e-05/0.08503, allocations: 49.61 kB / 361.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.655e-05/0.08511, allocations: 40.09 kB / 361.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.08512, allocations: 0 / 361.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.08512, allocations: 0 / 361.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.386e-06/0.08513, allocations: 0 / 361.3 MB, free: 11.23 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.0004745/0.08561, allocations: 367.3 kB / 361.6 MB, free: 10.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.08565, allocations: 8.031 kB / 361.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.672e-05/0.0857, allocations: 42.73 kB / 361.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.399e-05/0.08573, allocations: 0.9375 kB / 361.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.0859, allocations: 192.1 kB / 361.9 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.08592, allocations: 384 / 361.9 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.08594, allocations: 8.375 kB / 361.9 MB, free: 10.53 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003366/0.08628, allocations: 155.3 kB / 362 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-06/0.0863, allocations: 0 / 362 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.08631, allocations: 3.938 kB / 362.1 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.08632, allocations: 0 / 362.1 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.08643, allocations: 35.98 kB / 362.1 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001398/0.08658, allocations: 165.6 kB / 362.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001926/0.08678, allocations: 139.7 kB / 362.4 MB, free: 9.953 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.258e-05/0.08686, allocations: 28.84 kB / 362.4 MB, free: 9.922 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.08689, allocations: 8 kB / 362.4 MB, free: 9.914 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.08693, allocations: 38.5 kB / 362.5 MB, free: 9.867 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.08693, allocations: 0 / 362.5 MB, free: 9.867 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002498/0.08719, allocations: 89.52 kB / 362.5 MB, free: 9.773 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/0.08725, allocations: 63.39 kB / 362.6 MB, free: 9.699 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.461e-05/0.08734, allocations: 105.8 kB / 362.7 MB, free: 9.586 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.08736, allocations: 29.64 kB / 362.7 MB, free: 9.551 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.856e-05/0.08742, allocations: 92.14 kB / 362.8 MB, free: 9.457 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.257e-05/0.08743, allocations: 0 / 362.8 MB, free: 9.457 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.363e-05/0.08746, allocations: 13.72 kB / 362.8 MB, free: 9.438 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.08758, allocations: 322.8 kB / 363.2 MB, free: 9.113 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.609e-05/0.0876, allocations: 4 kB / 363.2 MB, free: 9.109 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.811e-05/0.08764, allocations: 41.16 kB / 363.2 MB, free: 9.051 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.785e-05/0.08771, allocations: 61.02 kB / 363.3 MB, free: 8.973 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.08772, allocations: 4 kB / 363.3 MB, free: 8.969 MB / 302.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001107/0.08783, allocations: 81.41 kB / 363.3 MB, free: 8.883 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.08786, allocations: 4 kB / 363.3 MB, free: 8.879 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.08787, allocations: 4 kB / 363.4 MB, free: 8.875 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.08788, allocations: 0 / 363.4 MB, free: 8.875 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.477e-05/0.08793, allocations: 8 kB / 363.4 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.08795, allocations: 7.984 kB / 363.4 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.112e-05/0.08798, allocations: 3.938 kB / 363.4 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.08799, allocations: 4 kB / 363.4 MB, free: 8.852 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 7.68e-05/0.08807, allocations: 126.2 kB / 363.5 MB, free: 8.719 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/0.08822, allocations: 77.53 kB / 363.6 MB, free: 8.637 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.323e-05/0.08826, allocations: 12.36 kB / 363.6 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.08827, allocations: 4 kB / 363.6 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.08828, allocations: 0 / 363.6 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.08828, allocations: 0 / 363.6 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.08839, allocations: 157.7 kB / 363.7 MB, free: 8.418 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.0884, allocations: 0 / 363.7 MB, free: 8.418 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.165e-05/0.08845, allocations: 19.92 kB / 363.8 MB, free: 8.398 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.08846, allocations: 0 / 363.8 MB, free: 8.398 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.08848, allocations: 4 kB / 363.8 MB, free: 8.395 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.08848, allocations: 0 / 363.8 MB, free: 8.395 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.08849, allocations: 0 / 363.8 MB, free: 8.395 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001501/0.08864, allocations: 101 kB / 363.9 MB, free: 8.277 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.714e-05/0.0887, allocations: 88.95 kB / 364 MB, free: 8.172 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.08872, allocations: 0 / 364 MB, free: 8.172 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.672e-05/0.08881, allocations: 27.92 kB / 364 MB, free: 8.145 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.996e-06/0.08882, allocations: 0 / 364 MB, free: 8.145 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.08883, allocations: 0 / 364 MB, free: 8.145 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.25e-05/0.08888, allocations: 91.72 kB / 364.1 MB, free: 8.055 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.08889, allocations: 0 / 364.1 MB, free: 8.055 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001865/0.08908, allocations: 8 kB / 364.1 MB, free: 8.047 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.0004875/0.08957, allocations: 0.6632 MB / 364.7 MB, free: 7.352 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001147/0.0897, allocations: 39.92 kB / 364.8 MB, free: 7.312 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.08971, allocations: 0 / 364.8 MB, free: 7.312 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.72e-07/0.08971, allocations: 448 / 364.8 MB, free: 7.312 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.09003, allocations: 46.78 kB / 364.8 MB, free: 7.27 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000927/0.09096, allocations: 1.254 MB / 366.1 MB, free: 5.902 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002134/0.09119, allocations: 0.6887 MB / 366.8 MB, free: 5.188 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.244e-05/0.09122, allocations: 8.062 kB / 366.8 MB, free: 5.18 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.577e-05/0.09126, allocations: 19.44 kB / 366.8 MB, free: 5.16 MB / 302.1 MB Notification: Performance of SimCode: time 2.81e-07/0.09127, allocations: 0 / 366.8 MB, free: 5.16 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01026/0.1015, allocations: 1.418 MB / 368.2 MB, free: 3.914 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001727/0.1017, allocations: 226.4 kB / 368.4 MB, free: 3.652 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.581/1.683, allocations: 0 / 368.4 MB, free: 3.652 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse.fmu > 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