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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001575/0.001575, allocations: 109.1 kB / 21.22 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00223/0.00223, allocations: 206.9 kB / 24.51 MB, free: 3.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.539/1.539, allocations: 230.5 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003025/0.003025, allocations: 59.91 kB / 378.5 MB, free: 2.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.3488, allocations: 53.41 MB / 431.9 MB, free: 6.477 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002784/0.3516, allocations: 1.493 MB / 433.4 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008815/0.3525, allocations: 454.9 kB / 433.8 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.8e-05/0.3525, allocations: 3.938 kB / 433.8 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.549e-05/0.3526, allocations: 7.922 kB / 433.9 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001581/0.3527, allocations: 11.92 kB / 433.9 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000182/0.3529, allocations: 43.16 kB / 433.9 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.353, allocations: 55.78 kB / 434 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.51e-05/0.3531, allocations: 7.984 kB / 434 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.081e-05/0.3532, allocations: 23.88 kB / 434 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.692e-05/0.3532, allocations: 27.84 kB / 434 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.3533, allocations: 4 kB / 434 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.183e-05/0.3533, allocations: 4 kB / 434 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.513e-05/0.3533, allocations: 7.984 kB / 434 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.018e-05/0.3533, allocations: 23.86 kB / 434.1 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.3535, allocations: 46.12 kB / 434.1 MB, free: 4.277 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.3535, allocations: 4 kB / 434.1 MB, free: 4.273 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3535, allocations: 0 / 434.1 MB, free: 4.273 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.308e-06/0.3535, allocations: 0 / 434.1 MB, free: 4.273 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.0005637/0.354, allocations: 298.2 kB / 434.4 MB, free: 3.953 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.3541, allocations: 16.02 kB / 434.4 MB, free: 3.938 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.272e-05/0.3541, allocations: 4.188 kB / 434.4 MB, free: 3.934 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.607e-05/0.3541, allocations: 38.75 kB / 434.5 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.005e-05/0.3542, allocations: 4.891 kB / 434.5 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.3544, allocations: 126.4 kB / 434.6 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.3544, allocations: 4.375 kB / 434.6 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.3544, allocations: 8.297 kB / 434.6 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003871/0.3548, allocations: 151.2 kB / 434.7 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.3548, allocations: 0 / 434.7 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.3549, allocations: 0 / 434.7 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3549, allocations: 0 / 434.7 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.355, allocations: 27.98 kB / 434.8 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001533/0.3551, allocations: 128.8 kB / 434.9 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/0.3553, allocations: 54.55 kB / 434.9 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.635e-05/0.3554, allocations: 28.84 kB / 435 MB, free: 3.273 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.3554, allocations: 3.938 kB / 435 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.3554, allocations: 46.56 kB / 435 MB, free: 3.215 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.3554, allocations: 0 / 435 MB, free: 3.215 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003082/0.3558, allocations: 89.5 kB / 435.1 MB, free: 3.121 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.773e-05/0.3558, allocations: 59.41 kB / 435.2 MB, free: 3.051 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.356, allocations: 105.8 kB / 435.3 MB, free: 2.938 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.356, allocations: 29.7 kB / 435.3 MB, free: 2.902 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.676e-05/0.356, allocations: 84.14 kB / 435.4 MB, free: 2.816 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.164e-05/0.3561, allocations: 7.984 kB / 435.4 MB, free: 2.809 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.671e-05/0.3561, allocations: 17.72 kB / 435.4 MB, free: 2.785 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.3562, allocations: 318.8 kB / 435.7 MB, free: 2.465 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.898e-05/0.3563, allocations: 12 kB / 435.7 MB, free: 2.453 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.077e-05/0.3563, allocations: 49.45 kB / 435.8 MB, free: 2.387 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.863e-05/0.3564, allocations: 53.08 kB / 435.8 MB, free: 2.316 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.3564, allocations: 0 / 435.8 MB, free: 2.316 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001254/0.3565, allocations: 89.45 kB / 435.9 MB, free: 2.223 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.3565, allocations: 4 kB / 435.9 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.3565, allocations: 0 / 435.9 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.3566, allocations: 4 kB / 435.9 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.053e-05/0.3566, allocations: 8 kB / 435.9 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.3566, allocations: 0 / 435.9 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.771e-05/0.3567, allocations: 11.94 kB / 435.9 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-06/0.3567, allocations: 4 kB / 436 MB, free: 2.191 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 9.445e-05/0.3568, allocations: 117.8 kB / 436.1 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/0.3569, allocations: 77.58 kB / 436.1 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.46e-05/0.357, allocations: 12.38 kB / 436.2 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.357, allocations: 0 / 436.2 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.357, allocations: 0 / 436.2 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.357, allocations: 3.984 kB / 436.2 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001111/0.3571, allocations: 124.8 kB / 436.3 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3571, allocations: 7.938 kB / 436.3 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.074e-05/0.3571, allocations: 8 kB / 436.3 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.3571, allocations: 0 / 436.3 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.3571, allocations: 320 / 436.3 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.3571, allocations: 4 kB / 436.3 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3572, allocations: 8 kB / 436.3 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001806/0.3573, allocations: 97 kB / 436.4 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.665e-05/0.3573, allocations: 7.938 kB / 436.4 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.3574, allocations: 7.984 kB / 436.4 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.371e-05/0.3575, allocations: 11.98 kB / 436.4 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.196e-06/0.3575, allocations: 4 kB / 436.4 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.3575, allocations: 0 / 436.4 MB, free: 1.629 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.672e-05/0.3575, allocations: 91.28 kB / 436.5 MB, free: 1.539 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3575, allocations: 0 / 436.5 MB, free: 1.539 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000206/0.3577, allocations: 4 kB / 436.5 MB, free: 1.535 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.0007642/0.3585, allocations: 0.6631 MB / 437.2 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002014/0.3587, allocations: 47.91 kB / 437.2 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3587, allocations: 0 / 437.2 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.3587, allocations: 0 / 437.2 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004615/0.3592, allocations: 43.77 kB / 437.3 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.3605, allocations: 1.251 MB / 438.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.476e-05/0.3606, allocations: 75.28 kB / 438.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.06e-05/0.3606, allocations: 0 / 438.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.31e-05/0.3607, allocations: 15.44 kB / 438.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of SimCode: time 4.4e-07/0.3607, allocations: 0 / 438.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02279/0.3835, allocations: 1.872 MB / 440.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/11, allocations: 18.69 kB / 440.5 MB, free: 13.52 MB / 350.1 MB " [Timeout remaining time 649] (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 --stepSize=0.000199561 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.691303316969424]