Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001453/0.001454, allocations: 111.3 kB / 17.06 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001663/0.001663, allocations: 200 kB / 18 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.684/1.684, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 39.94 kB / 350.8 MB, free: 3.762 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5408/0.542, allocations: 49.45 MB / 400.2 MB, free: 8.426 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.01101/0.5532, allocations: 1.474 MB / 401.7 MB, free: 7.277 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001915/0.5552, allocations: 453.7 kB / 402.1 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001777/0.5554, allocations: 0 / 402.1 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.1e-05/0.5556, allocations: 7.922 kB / 402.2 MB, free: 6.887 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00033/0.5559, allocations: 19.86 kB / 402.2 MB, free: 6.867 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004405/0.5564, allocations: 39.89 kB / 402.2 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002516/0.5566, allocations: 51.8 kB / 402.3 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002436/0.5569, allocations: 7.984 kB / 402.3 MB, free: 6.77 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001889/0.5571, allocations: 23.92 kB / 402.3 MB, free: 6.746 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.5572, allocations: 19.92 kB / 402.3 MB, free: 6.727 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.656e-05/0.5573, allocations: 7.984 kB / 402.3 MB, free: 6.719 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.41e-05/0.5573, allocations: 4 kB / 402.3 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.886e-05/0.5574, allocations: 11.98 kB / 402.3 MB, free: 6.703 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.187e-05/0.5575, allocations: 19.88 kB / 402.4 MB, free: 6.684 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002404/0.5577, allocations: 57.42 kB / 402.4 MB, free: 6.629 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.5577, allocations: 0 / 402.4 MB, free: 6.629 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.13e-06/0.5578, allocations: 0 / 402.4 MB, free: 6.629 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.368e-06/0.5578, allocations: 3.938 kB / 402.4 MB, free: 6.625 MB / 318.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.001226/0.559, allocations: 379.4 kB / 402.8 MB, free: 6.207 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.23e-05/0.5591, allocations: 12.03 kB / 402.8 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.377e-05/0.5592, allocations: 34.75 kB / 402.8 MB, free: 6.152 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.277e-05/0.5593, allocations: 8.844 kB / 402.8 MB, free: 6.145 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006195/0.5599, allocations: 184.2 kB / 403 MB, free: 5.926 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.256e-05/0.56, allocations: 4.375 kB / 403 MB, free: 5.922 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.56, allocations: 4.375 kB / 403 MB, free: 5.918 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006515/0.5607, allocations: 151.3 kB / 403.2 MB, free: 5.758 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.5607, allocations: 0 / 403.2 MB, free: 5.758 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.087e-05/0.5608, allocations: 0 / 403.2 MB, free: 5.758 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.5608, allocations: 3.984 kB / 403.2 MB, free: 5.754 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001718/0.561, allocations: 27.98 kB / 403.2 MB, free: 5.727 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002689/0.5613, allocations: 161.7 kB / 403.4 MB, free: 5.52 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003541/0.5616, allocations: 139.7 kB / 403.5 MB, free: 5.355 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.5618, allocations: 32.84 kB / 403.5 MB, free: 5.32 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.9e-05/0.5618, allocations: 0 / 403.5 MB, free: 5.32 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.744e-05/0.5619, allocations: 38.44 kB / 403.6 MB, free: 5.273 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 2.645e-06/0.5619, allocations: 0 / 403.6 MB, free: 5.273 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005214/0.5625, allocations: 85.67 kB / 403.7 MB, free: 5.184 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/0.5626, allocations: 63.31 kB / 403.7 MB, free: 5.109 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.5628, allocations: 109.8 kB / 403.8 MB, free: 4.992 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/0.5628, allocations: 25.7 kB / 403.9 MB, free: 4.961 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.612e-05/0.5629, allocations: 88.08 kB / 403.9 MB, free: 4.871 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.897e-05/0.563, allocations: 3.984 kB / 403.9 MB, free: 4.867 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.671e-05/0.5631, allocations: 21.72 kB / 404 MB, free: 4.84 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002309/0.5633, allocations: 314.8 kB / 404.3 MB, free: 4.523 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.867e-05/0.5634, allocations: 7.984 kB / 404.3 MB, free: 4.516 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.12e-05/0.5635, allocations: 49.09 kB / 404.3 MB, free: 4.449 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.5637, allocations: 65.02 kB / 404.4 MB, free: 4.367 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.5637, allocations: 0 / 404.4 MB, free: 4.367 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002301/0.5639, allocations: 73.5 kB / 404.5 MB, free: 4.289 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.653e-05/0.564, allocations: 8 kB / 404.5 MB, free: 4.281 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.564, allocations: 0 / 404.5 MB, free: 4.281 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.392e-05/0.564, allocations: 4 kB / 404.5 MB, free: 4.277 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-05/0.5641, allocations: 4.188 kB / 404.5 MB, free: 4.273 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.792e-05/0.5642, allocations: 11.94 kB / 404.5 MB, free: 4.262 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.327e-05/0.5642, allocations: 7.906 kB / 404.5 MB, free: 4.254 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.5643, allocations: 4 kB / 404.5 MB, free: 4.25 MB / 318.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.0001836/0.5645, allocations: 121.8 kB / 404.6 MB, free: 4.121 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002505/0.5647, allocations: 65.62 kB / 404.7 MB, free: 4.051 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.344e-05/0.5648, allocations: 8.375 kB / 404.7 MB, free: 4.043 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.5648, allocations: 0 / 404.7 MB, free: 4.043 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.5649, allocations: 0 / 404.7 MB, free: 4.043 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.5649, allocations: 8 kB / 404.7 MB, free: 4.035 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002383/0.5651, allocations: 169.5 kB / 404.9 MB, free: 3.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.5652, allocations: 320 / 404.9 MB, free: 3.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.952e-05/0.5653, allocations: 11.88 kB / 404.9 MB, free: 3.809 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.016e-05/0.5653, allocations: 4 kB / 404.9 MB, free: 3.805 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.844e-05/0.5653, allocations: 7.984 kB / 404.9 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.5654, allocations: 0 / 404.9 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.5654, allocations: 0 / 404.9 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003238/0.5657, allocations: 89.12 kB / 405 MB, free: 3.691 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.5658, allocations: 92.94 kB / 405.1 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.51e-05/0.5659, allocations: 4 kB / 405.1 MB, free: 3.578 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.5661, allocations: 11.98 kB / 405.1 MB, free: 3.566 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.065e-06/0.5661, allocations: 7.938 kB / 405.1 MB, free: 3.559 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.5661, allocations: 0 / 405.1 MB, free: 3.559 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001128/0.5662, allocations: 95.72 kB / 405.2 MB, free: 3.465 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5662, allocations: 4 kB / 405.2 MB, free: 3.461 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000388/0.5666, allocations: 4 kB / 405.2 MB, free: 3.457 MB / 318.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.001166/0.5678, allocations: 0.6672 MB / 405.9 MB, free: 2.762 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002745/0.5681, allocations: 40.17 kB / 405.9 MB, free: 2.723 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.5681, allocations: 0 / 405.9 MB, free: 2.723 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.916e-06/0.5682, allocations: 4 kB / 405.9 MB, free: 2.719 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006658/0.5688, allocations: 49.19 kB / 405.9 MB, free: 2.672 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002366/0.5712, allocations: 1.249 MB / 407.2 MB, free: 1.312 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004697/0.5717, allocations: 0.6844 MB / 407.9 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.717e-05/0.5718, allocations: 8 kB / 407.9 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.5719, allocations: 15.42 kB / 407.9 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of SimCode: time 1.974e-06/0.5719, allocations: 0 / 407.9 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06596/0.6379, allocations: 1.679 MB / 409.6 MB, free: 15.04 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.49/15.13, allocations: 8.625 kB / 409.6 MB, free: 15.03 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches