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.001204/0.001204, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001423/0.001423, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.512/1.512, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 59.78 kB / 307 MB, free: 0.5508 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1141, allocations: 50.54 MB / 357.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.003963/0.1182, allocations: 1.482 MB / 359.1 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009939/0.1192, allocations: 492.4 kB / 359.6 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.767e-05/0.1193, allocations: 4 kB / 359.6 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.697e-05/0.1194, allocations: 7.875 kB / 359.6 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001852/0.1196, allocations: 15.84 kB / 359.6 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002164/0.1198, allocations: 27.97 kB / 359.6 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.1199, allocations: 55.84 kB / 359.7 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.12, allocations: 8 kB / 359.7 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.143e-05/0.1201, allocations: 23.86 kB / 359.7 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.249e-05/0.1202, allocations: 27.91 kB / 359.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.1202, allocations: 4 kB / 359.7 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.345e-05/0.1203, allocations: 4 kB / 359.7 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.748e-05/0.1203, allocations: 11.92 kB / 359.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.033e-05/0.1203, allocations: 23.92 kB / 359.8 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.1205, allocations: 40.09 kB / 359.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.1205, allocations: 4 kB / 359.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1205, allocations: 0 / 359.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.1205, allocations: 0 / 359.8 MB, free: 11.79 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.0005922/0.1211, allocations: 383.3 kB / 360.2 MB, free: 11.37 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.1211, allocations: 8.031 kB / 360.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.723e-05/0.1212, allocations: 42.73 kB / 360.2 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.157e-05/0.1212, allocations: 0.9375 kB / 360.2 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.1215, allocations: 200.1 kB / 360.4 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.1215, allocations: 384 / 360.4 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.1215, allocations: 4.375 kB / 360.4 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004016/0.1219, allocations: 143.3 kB / 360.6 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.1219, allocations: 0 / 360.6 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.122, allocations: 0 / 360.6 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.122, allocations: 8 kB / 360.6 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.1221, allocations: 23.98 kB / 360.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001795/0.1223, allocations: 169.6 kB / 360.8 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002286/0.1225, allocations: 131.7 kB / 360.9 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.647e-05/0.1226, allocations: 28.84 kB / 360.9 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.1226, allocations: 0 / 360.9 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.1227, allocations: 46.5 kB / 361 MB, free: 10.43 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 2.114e-06/0.1227, allocations: 0 / 361 MB, free: 10.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002809/0.123, allocations: 89.45 kB / 361.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.443e-05/0.123, allocations: 63.39 kB / 361.1 MB, free: 10.26 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.1231, allocations: 101.9 kB / 361.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.1232, allocations: 29.7 kB / 361.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.551e-05/0.1232, allocations: 84.12 kB / 361.3 MB, free: 10.03 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.091e-05/0.1233, allocations: 12 kB / 361.3 MB, free: 10.02 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-05/0.1233, allocations: 17.72 kB / 361.4 MB, free: 9.996 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.1235, allocations: 318.8 kB / 361.7 MB, free: 9.676 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.556e-05/0.1235, allocations: 12 kB / 361.7 MB, free: 9.664 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.333e-05/0.1236, allocations: 41.14 kB / 361.7 MB, free: 9.605 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.123e-05/0.1236, allocations: 57.03 kB / 361.8 MB, free: 9.531 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1237, allocations: 0 / 361.8 MB, free: 9.531 MB / 302.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001364/0.1238, allocations: 85.47 kB / 361.9 MB, free: 9.441 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.1238, allocations: 4 kB / 361.9 MB, free: 9.438 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.1238, allocations: 480 / 361.9 MB, free: 9.438 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.1239, allocations: 7.938 kB / 361.9 MB, free: 9.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-05/0.1239, allocations: 8.25 kB / 361.9 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.124, allocations: 3.984 kB / 361.9 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.386e-05/0.124, allocations: 15.94 kB / 361.9 MB, free: 9.402 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.124, allocations: 0 / 361.9 MB, free: 9.402 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 0.0001104/0.1241, allocations: 121.8 kB / 362 MB, free: 9.273 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.1243, allocations: 73.53 kB / 362.1 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.056e-05/0.1243, allocations: 12.36 kB / 362.1 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.1244, allocations: 4 kB / 362.1 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.1244, allocations: 0 / 362.1 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1244, allocations: 0 / 362.1 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.1245, allocations: 161.7 kB / 362.3 MB, free: 8.973 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1245, allocations: 0 / 362.3 MB, free: 8.973 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.778e-05/0.1246, allocations: 15.92 kB / 362.3 MB, free: 8.957 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.1246, allocations: 0 / 362.3 MB, free: 8.957 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.1246, allocations: 0 / 362.3 MB, free: 8.957 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1246, allocations: 4 kB / 362.3 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.1246, allocations: 3.984 kB / 362.3 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000192/0.1248, allocations: 101 kB / 362.4 MB, free: 8.832 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.82e-05/0.1249, allocations: 85.05 kB / 362.5 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.1249, allocations: 3.938 kB / 362.5 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.125, allocations: 23.97 kB / 362.5 MB, free: 8.703 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.847e-06/0.125, allocations: 0 / 362.5 MB, free: 8.703 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.1251, allocations: 0 / 362.5 MB, free: 8.703 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.212e-05/0.1251, allocations: 91.27 kB / 362.6 MB, free: 8.613 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1251, allocations: 0 / 362.6 MB, free: 8.613 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002508/0.1254, allocations: 8 kB / 362.6 MB, free: 8.605 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.0006398/0.126, allocations: 0.671 MB / 363.3 MB, free: 7.902 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000165/0.1262, allocations: 39.92 kB / 363.3 MB, free: 7.863 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.1262, allocations: 0 / 363.3 MB, free: 7.863 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.02e-07/0.1262, allocations: 0 / 363.3 MB, free: 7.863 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004078/0.1266, allocations: 36 kB / 363.3 MB, free: 7.828 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.1277, allocations: 1.255 MB / 364.6 MB, free: 6.457 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002206/0.128, allocations: 0.6885 MB / 365.3 MB, free: 5.742 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.046e-05/0.128, allocations: 3.938 kB / 365.3 MB, free: 5.738 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.637e-05/0.128, allocations: 19.42 kB / 365.3 MB, free: 5.719 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.128, allocations: 0 / 365.3 MB, free: 5.719 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01961/0.1477, allocations: 1.617 MB / 366.9 MB, free: 4.223 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.511/7.659, allocations: 7.562 kB / 366.9 MB, free: 4.219 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