Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001845/0.001845, allocations: 115.6 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 213.4 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.506/1.506, allocations: 230.6 MB / 257.5 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 51.92 kB / 377.8 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.2544, allocations: 53.35 MB / 431.1 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.003292/0.2577, allocations: 1.516 MB / 432.6 MB, free: 5.352 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001057/0.2588, allocations: 498.7 kB / 433.1 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.527e-05/0.2589, allocations: 0 / 433.1 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.192e-05/0.2589, allocations: 3.938 kB / 433.1 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001947/0.2591, allocations: 15.86 kB / 433.2 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002219/0.2593, allocations: 47.78 kB / 433.2 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.2595, allocations: 51.84 kB / 433.2 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.2596, allocations: 11.98 kB / 433.3 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.712e-05/0.2597, allocations: 19.92 kB / 433.3 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.027e-05/0.2597, allocations: 23.92 kB / 433.3 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.2598, allocations: 4 kB / 433.3 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.395e-05/0.2598, allocations: 7.938 kB / 433.3 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.041e-05/0.2598, allocations: 15.86 kB / 433.3 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.407e-05/0.2598, allocations: 19.92 kB / 433.3 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.26, allocations: 47.61 kB / 433.4 MB, free: 4.598 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.26, allocations: 8 kB / 433.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.26, allocations: 0 / 433.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.26, allocations: 0 / 433.4 MB, free: 4.59 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.000685/0.2607, allocations: 298.8 kB / 433.7 MB, free: 4.273 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.2607, allocations: 12.03 kB / 433.7 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.068e-05/0.2608, allocations: 34.75 kB / 433.7 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.79e-05/0.2608, allocations: 4.891 kB / 433.7 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002944/0.2611, allocations: 126.5 kB / 433.9 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.2611, allocations: 16.3 kB / 433.9 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.2612, allocations: 384 / 433.9 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004228/0.2616, allocations: 143.4 kB / 434 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.2616, allocations: 4 kB / 434 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.2616, allocations: 7.984 kB / 434 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.2616, allocations: 0 / 434 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.2617, allocations: 23.98 kB / 434.1 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000187/0.2619, allocations: 132.7 kB / 434.2 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.2621, allocations: 62.61 kB / 434.3 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.533e-05/0.2622, allocations: 28.78 kB / 434.3 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.2622, allocations: 3.938 kB / 434.3 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.2622, allocations: 38.5 kB / 434.3 MB, free: 3.539 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.2622, allocations: 4 kB / 434.3 MB, free: 3.535 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002919/0.2625, allocations: 85.62 kB / 434.4 MB, free: 3.445 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/0.2626, allocations: 51.41 kB / 434.5 MB, free: 3.383 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.2627, allocations: 113.8 kB / 434.6 MB, free: 3.262 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.2627, allocations: 33.64 kB / 434.6 MB, free: 3.223 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.672e-05/0.2628, allocations: 80.14 kB / 434.7 MB, free: 3.141 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.844e-05/0.2628, allocations: 11.94 kB / 434.7 MB, free: 3.129 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.82e-05/0.2628, allocations: 21.7 kB / 434.7 MB, free: 3.102 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.263, allocations: 310.8 kB / 435 MB, free: 2.789 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.863e-05/0.263, allocations: 11.98 kB / 435 MB, free: 2.777 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.062e-05/0.263, allocations: 49.16 kB / 435.1 MB, free: 2.711 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.237e-05/0.2631, allocations: 53.09 kB / 435.1 MB, free: 2.641 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2631, allocations: 0 / 435.1 MB, free: 2.641 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001288/0.2632, allocations: 81.45 kB / 435.2 MB, free: 2.555 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.2633, allocations: 11.98 kB / 435.2 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.2633, allocations: 0 / 435.2 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.2633, allocations: 4 kB / 435.2 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.019e-05/0.2633, allocations: 7.938 kB / 435.2 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.2633, allocations: 4.188 kB / 435.2 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.545e-05/0.2634, allocations: 7.938 kB / 435.2 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.2634, allocations: 4 kB / 435.2 MB, free: 2.516 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.962e-05/0.2635, allocations: 113.8 kB / 435.4 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/0.2636, allocations: 81.5 kB / 435.4 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.493e-05/0.2637, allocations: 8.375 kB / 435.4 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.738e-06/0.2637, allocations: 4 kB / 435.4 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.2637, allocations: 0 / 435.4 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.2637, allocations: 4.297 kB / 435.5 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.2638, allocations: 136.7 kB / 435.6 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.2638, allocations: 4 kB / 435.6 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.226e-05/0.2639, allocations: 11.94 kB / 435.6 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.2639, allocations: 0 / 435.6 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.2639, allocations: 0 / 435.6 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2639, allocations: 0 / 435.6 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2639, allocations: 3.938 kB / 435.6 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001829/0.2641, allocations: 101.1 kB / 435.7 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.312e-05/0.2641, allocations: 7.938 kB / 435.7 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.2641, allocations: 3.984 kB / 435.7 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.56e-05/0.2642, allocations: 19.92 kB / 435.7 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.196e-06/0.2642, allocations: 0 / 435.7 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.2642, allocations: 4 kB / 435.7 MB, free: 1.941 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.485e-05/0.2642, allocations: 83.28 kB / 435.8 MB, free: 1.859 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2642, allocations: 0 / 435.8 MB, free: 1.859 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002153/0.2645, allocations: 16 kB / 435.8 MB, free: 1.844 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.0005806/0.265, allocations: 0.6554 MB / 436.5 MB, free: 1.16 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000166/0.2652, allocations: 40.17 kB / 436.5 MB, free: 1.121 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2652, allocations: 4.125 kB / 436.5 MB, free: 1.117 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.396e-06/0.2652, allocations: 3.984 kB / 436.5 MB, free: 1.113 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.2655, allocations: 35.95 kB / 436.6 MB, free: 1.078 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.2668, allocations: 1.243 MB / 437.8 MB, free: 15.72 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003567/0.2672, allocations: 0.6866 MB / 438.5 MB, free: 15.01 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.55e-05/0.2672, allocations: 7.938 kB / 438.5 MB, free: 15 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.292e-05/0.2673, allocations: 15.44 kB / 438.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2673, allocations: 4 kB / 438.5 MB, free: 14.98 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0293/0.2966, allocations: 1.799 MB / 440.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.27, allocations: 9.703 kB / 440.3 MB, free: 13.32 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.740642860066146]