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.001286/0.001286, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001273/0.001273, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001814, allocations: 63.88 kB / 358.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3052, allocations: 50.54 MB / 408.8 MB, free: 1.461 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002948/0.3082, allocations: 1.498 MB / 410.3 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000912/0.3092, allocations: 490.7 kB / 410.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.599e-05/0.3092, allocations: 0 / 410.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.345e-05/0.3093, allocations: 3.938 kB / 410.8 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001537/0.3094, allocations: 15.86 kB / 410.8 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001776/0.3096, allocations: 31.97 kB / 410.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.3098, allocations: 55.78 kB / 410.9 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.675e-05/0.3099, allocations: 8 kB / 410.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.47e-05/0.3099, allocations: 23.91 kB / 410.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.101e-05/0.31, allocations: 23.91 kB / 411 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.31, allocations: 4 kB / 411 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.491e-05/0.31, allocations: 4 kB / 411 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.501e-05/0.3101, allocations: 11.94 kB / 411 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.975e-05/0.3101, allocations: 23.86 kB / 411 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.3102, allocations: 50.91 kB / 411 MB, free: 15.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.3103, allocations: 0 / 411 MB, free: 15.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3103, allocations: 3.938 kB / 411.1 MB, free: 15.22 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.3103, allocations: 0 / 411.1 MB, free: 15.22 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.0006365/0.3109, allocations: 379.3 kB / 411.4 MB, free: 14.8 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.311, allocations: 12.03 kB / 411.4 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.886e-05/0.311, allocations: 38.73 kB / 411.5 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.505e-05/0.3111, allocations: 8.891 kB / 411.5 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002711/0.3113, allocations: 180.3 kB / 411.7 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.3114, allocations: 384 / 411.7 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.3114, allocations: 8.375 kB / 411.7 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003905/0.3118, allocations: 143.3 kB / 411.8 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.3118, allocations: 0 / 411.8 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.3118, allocations: 0 / 411.8 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.3118, allocations: 3.938 kB / 411.8 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.3119, allocations: 35.91 kB / 411.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000186/0.3121, allocations: 165.7 kB / 412 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002261/0.3124, allocations: 127.7 kB / 412.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.958e-05/0.3125, allocations: 32.84 kB / 412.2 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.3125, allocations: 0 / 412.2 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/0.3125, allocations: 42.48 kB / 412.2 MB, free: 13.87 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.3125, allocations: 0 / 412.2 MB, free: 13.87 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.00028/0.3128, allocations: 97.56 kB / 412.3 MB, free: 13.77 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/0.3129, allocations: 55.41 kB / 412.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.758e-05/0.313, allocations: 117.8 kB / 412.5 MB, free: 13.58 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.313, allocations: 29.7 kB / 412.5 MB, free: 13.54 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.105e-05/0.3131, allocations: 80.14 kB / 412.6 MB, free: 13.46 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.602e-05/0.3131, allocations: 11.94 kB / 412.6 MB, free: 13.45 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.723e-05/0.3131, allocations: 21.7 kB / 412.6 MB, free: 13.42 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.3133, allocations: 310.8 kB / 412.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.181e-05/0.3133, allocations: 12 kB / 412.9 MB, free: 13.1 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.676e-05/0.3133, allocations: 49.08 kB / 413 MB, free: 13.03 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.491e-05/0.3134, allocations: 53.09 kB / 413 MB, free: 12.96 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3134, allocations: 0 / 413 MB, free: 12.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001133/0.3135, allocations: 81.45 kB / 413.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.3136, allocations: 10.97 kB / 413.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.279e-06/0.3136, allocations: 0 / 413.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.3136, allocations: 4 kB / 413.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.828e-05/0.3136, allocations: 12.17 kB / 413.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/0.3137, allocations: 4 kB / 413.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.284e-05/0.3137, allocations: 7.875 kB / 413.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.3137, allocations: 4 kB / 413.1 MB, free: 12.84 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 8.693e-05/0.3138, allocations: 113.8 kB / 413.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.314, allocations: 77.56 kB / 413.3 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.446e-05/0.314, allocations: 12.36 kB / 413.3 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.314, allocations: 0 / 413.3 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.314, allocations: 4 kB / 413.3 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.314, allocations: 4 kB / 413.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001145/0.3141, allocations: 157.7 kB / 413.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.3141, allocations: 0 / 413.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.332e-05/0.3142, allocations: 19.8 kB / 413.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.3142, allocations: 4 kB / 413.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.3142, allocations: 0 / 413.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3142, allocations: 320 / 413.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3142, allocations: 0 / 413.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001769/0.3144, allocations: 105.1 kB / 413.6 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.158e-05/0.3145, allocations: 85.05 kB / 413.7 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.3145, allocations: 0 / 413.7 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.446e-05/0.3146, allocations: 19.97 kB / 413.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.364e-06/0.3146, allocations: 0 / 413.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.3146, allocations: 0 / 413.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.259e-05/0.3147, allocations: 87.28 kB / 413.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3147, allocations: 4 kB / 413.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001978/0.3149, allocations: 12 kB / 413.8 MB, free: 12.04 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.000574/0.3155, allocations: 0.6553 MB / 414.5 MB, free: 11.36 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001471/0.3156, allocations: 44.05 kB / 414.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3156, allocations: 0 / 414.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.3157, allocations: 3.938 kB / 414.5 MB, free: 11.31 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.316, allocations: 51.48 kB / 414.6 MB, free: 11.27 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.3172, allocations: 1.244 MB / 415.8 MB, free: 9.906 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.3175, allocations: 0.6885 MB / 416.5 MB, free: 9.191 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.132e-05/0.3176, allocations: 0 / 416.5 MB, free: 9.191 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.372e-05/0.3176, allocations: 19.44 kB / 416.5 MB, free: 9.172 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3176, allocations: 0 / 416.5 MB, free: 9.172 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02089/0.3385, allocations: 1.669 MB / 418.2 MB, free: 7.641 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.882/8.221, allocations: 0 / 418.2 MB, free: 7.641 MB / 334.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.1.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