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.0008562/0.0008562, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008384/0.0008384, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8669/0.8669, allocations: 177 MB / 204.1 MB, free: 5.773 MB / 186.7 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 324.5 MB, free: 15.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.902e-05/2.065e-05, allocations: 2.281 kB / 324.5 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002191/0.002211, allocations: 1.502 MB / 326 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006235/0.002835, allocations: 466.8 kB / 326.5 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.836e-05/0.002893, allocations: 4 kB / 326.5 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.767e-05/0.002921, allocations: 3.938 kB / 326.5 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001494/0.00307, allocations: 23.84 kB / 326.5 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001624/0.003233, allocations: 31.84 kB / 326.5 MB, free: 13.76 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.593e-05/0.003319, allocations: 51.78 kB / 326.6 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.994e-05/0.003419, allocations: 12 kB / 326.6 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.974e-05/0.003498, allocations: 27.92 kB / 326.6 MB, free: 13.67 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.94e-05/0.003538, allocations: 19.95 kB / 326.6 MB, free: 13.65 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.241e-05/0.00357, allocations: 4 kB / 326.6 MB, free: 13.65 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.826e-06/0.003579, allocations: 4 kB / 326.6 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.901e-05/0.003598, allocations: 15.94 kB / 326.7 MB, free: 13.63 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.474e-05/0.003623, allocations: 11.98 kB / 326.7 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.003723, allocations: 51.8 kB / 326.7 MB, free: 13.57 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.003726, allocations: 0 / 326.7 MB, free: 13.57 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.003729, allocations: 4 kB / 326.7 MB, free: 13.56 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.003733, allocations: 0 / 326.7 MB, free: 13.56 MB / 298.7 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.0004139/0.004147, allocations: 302.2 kB / 327 MB, free: 13.24 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.004188, allocations: 11.98 kB / 327 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.11e-05/0.004219, allocations: 38.75 kB / 327.1 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.447e-05/0.004243, allocations: 8.828 kB / 327.1 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.004455, allocations: 129.7 kB / 327.2 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.004471, allocations: 4.375 kB / 327.2 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-06/0.00448, allocations: 384 / 327.2 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002649/0.004745, allocations: 151.7 kB / 327.4 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.004751, allocations: 192 / 327.4 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.004761, allocations: 4.125 kB / 327.4 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.004765, allocations: 0 / 327.4 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.153e-05/0.004827, allocations: 35.91 kB / 327.4 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.756e-05/0.004924, allocations: 128.7 kB / 327.5 MB, free: 12.65 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.005042, allocations: 54.62 kB / 327.6 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.929e-05/0.005081, allocations: 28.84 kB / 327.6 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.005099, allocations: 0 / 327.6 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/0.005116, allocations: 38.56 kB / 327.6 MB, free: 12.51 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 7.81e-07/0.005117, allocations: 0 / 327.6 MB, free: 12.51 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001799/0.005297, allocations: 101.5 kB / 327.7 MB, free: 12.4 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.005343, allocations: 55.41 kB / 327.8 MB, free: 12.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.814e-05/0.005411, allocations: 105.8 kB / 327.9 MB, free: 12.22 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.005422, allocations: 29.7 kB / 327.9 MB, free: 12.19 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.769e-05/0.005449, allocations: 84.14 kB / 328 MB, free: 12.1 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.011e-05/0.005459, allocations: 0 / 328 MB, free: 12.1 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.318e-05/0.005483, allocations: 21.72 kB / 328 MB, free: 12.07 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.475e-05/0.005557, allocations: 314.8 kB / 328.3 MB, free: 11.76 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.046e-05/0.005568, allocations: 8 kB / 328.3 MB, free: 11.75 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.552e-06/0.005574, allocations: 0 / 328.3 MB, free: 11.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.085e-05/0.005595, allocations: 8.859 kB / 328.4 MB, free: 11.74 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.005597, allocations: 0 / 328.4 MB, free: 11.74 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.324e-05/0.00564, allocations: 45.59 kB / 328.4 MB, free: 11.69 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.005653, allocations: 8 kB / 328.4 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.005657, allocations: 0 / 328.4 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.00567, allocations: 4.031 kB / 328.4 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.552e-05/0.005705, allocations: 11.98 kB / 328.4 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.00571, allocations: 320 / 328.4 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.428e-05/0.005724, allocations: 0 / 328.4 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-06/0.005728, allocations: 0 / 328.4 MB, free: 11.66 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (pulse.next) * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 5.793e-05/0.005786, allocations: 113.8 kB / 328.5 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.989e-05/0.005855, allocations: 57.69 kB / 328.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.748e-05/0.005883, allocations: 20.36 kB / 328.6 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.005886, allocations: 7.922 kB / 328.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.00589, allocations: 0 / 328.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.005893, allocations: 0 / 328.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.992e-05/0.005953, allocations: 136.7 kB / 328.8 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.005954, allocations: 0 / 328.8 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.029e-05/0.005984, allocations: 11.94 kB / 328.8 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.005986, allocations: 3.938 kB / 328.8 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.005994, allocations: 3.984 kB / 328.8 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.005997, allocations: 7.938 kB / 328.8 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.006, allocations: 3.984 kB / 328.8 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.276e-05/0.006092, allocations: 89.48 kB / 328.9 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.423e-05/0.006107, allocations: 15.89 kB / 328.9 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.006119, allocations: 0 / 328.9 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.185e-05/0.006161, allocations: 27.92 kB / 328.9 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.875e-06/0.006164, allocations: 0 / 328.9 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/0.006168, allocations: 3.938 kB / 328.9 MB, free: 11.09 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.78e-05/0.006206, allocations: 91.27 kB / 329 MB, free: 11 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006206, allocations: 0 / 329 MB, free: 11 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001259/0.006332, allocations: 4 kB / 329 MB, free: 11 MB / 298.7 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.000337/0.006669, allocations: 0.6516 MB / 329.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.919e-05/0.006758, allocations: 23.94 kB / 329.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.006759, allocations: 0 / 329.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.314e-06/0.006762, allocations: 3.984 kB / 329.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.007009, allocations: 40.8 kB / 329.7 MB, free: 10.25 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006675/0.007677, allocations: 1.137 MB / 330.9 MB, free: 9.027 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.908e-05/0.007716, allocations: 79.38 kB / 330.9 MB, free: 8.93 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.738e-05/0.007733, allocations: 0 / 330.9 MB, free: 8.93 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.839e-05/0.007772, allocations: 20.48 kB / 331 MB, free: 8.91 MB / 298.7 MB Notification: Performance of SimCode: time 4.71e-07/0.007772, allocations: 0 / 331 MB, free: 8.91 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01623/0.024, allocations: 2.281 MB / 333.2 MB, free: 6.738 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.646/6.67, allocations: 4 kB / 333.3 MB, free: 6.734 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedPulse/TimeBasedPulse.csv","/var/lib/jenkins/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: 8.269808388315141]