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.00137/0.00137, allocations: 113.2 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.001695/0.001695, allocations: 211.3 kB / 23.74 MB, free: 4.66 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.45/1.45, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.001395/0.001395, allocations: 47.92 kB / 377.8 MB, free: 3.234 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.2643, allocations: 53.36 MB / 431.1 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002808/0.2671, allocations: 1.51 MB / 432.6 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008573/0.2679, allocations: 0.4909 MB / 433.1 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.27e-05/0.268, allocations: 0 / 433.1 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.084e-05/0.268, allocations: 3.938 kB / 433.1 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001418/0.2682, allocations: 11.88 kB / 433.2 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001707/0.2683, allocations: 42.89 kB / 433.2 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.2684, allocations: 55.8 kB / 433.2 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.2685, allocations: 11.98 kB / 433.3 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.912e-05/0.2686, allocations: 23.91 kB / 433.3 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.913e-05/0.2687, allocations: 23.92 kB / 433.3 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.2687, allocations: 4 kB / 433.3 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.139e-05/0.2687, allocations: 4 kB / 433.3 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.961e-05/0.2687, allocations: 7.938 kB / 433.3 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.328e-05/0.2688, allocations: 19.92 kB / 433.3 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.2689, allocations: 55.53 kB / 433.4 MB, free: 4.605 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2689, allocations: 4 kB / 433.4 MB, free: 4.602 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2689, allocations: 0 / 433.4 MB, free: 4.602 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.2689, allocations: 4 kB / 433.4 MB, free: 4.598 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.0005556/0.2694, allocations: 298.8 kB / 433.7 MB, free: 4.281 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.2695, allocations: 8.031 kB / 433.7 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.344e-05/0.2695, allocations: 38.75 kB / 433.7 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.6e-05/0.2696, allocations: 8.891 kB / 433.8 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.2698, allocations: 130.5 kB / 433.9 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.2698, allocations: 8.375 kB / 433.9 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-06/0.2698, allocations: 384 / 433.9 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003571/0.2702, allocations: 151.3 kB / 434 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.2702, allocations: 0 / 434 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/0.2702, allocations: 0 / 434 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.2702, allocations: 3.938 kB / 434 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.807e-05/0.2703, allocations: 27.98 kB / 434.1 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001513/0.2704, allocations: 136.7 kB / 434.2 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.2706, allocations: 54.62 kB / 434.3 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.9e-05/0.2707, allocations: 28.84 kB / 434.3 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.2707, allocations: 0 / 434.3 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.2707, allocations: 46.38 kB / 434.3 MB, free: 3.543 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 9.02e-07/0.2707, allocations: 4 kB / 434.3 MB, free: 3.539 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002547/0.271, allocations: 89.61 kB / 434.4 MB, free: 3.445 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.385e-05/0.271, allocations: 51.41 kB / 434.5 MB, free: 3.383 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.161e-05/0.2711, allocations: 113.8 kB / 434.6 MB, free: 3.262 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.2711, allocations: 29.7 kB / 434.6 MB, free: 3.227 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.012e-05/0.2712, allocations: 80.14 kB / 434.7 MB, free: 3.145 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.477e-05/0.2712, allocations: 8 kB / 434.7 MB, free: 3.137 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.234e-05/0.2712, allocations: 17.72 kB / 434.7 MB, free: 3.113 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.2714, allocations: 314.8 kB / 435 MB, free: 2.797 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.733e-05/0.2714, allocations: 8 kB / 435 MB, free: 2.789 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.846e-05/0.2714, allocations: 57.08 kB / 435.1 MB, free: 2.715 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.354e-05/0.2715, allocations: 49.09 kB / 435.1 MB, free: 2.648 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.2715, allocations: 4 kB / 435.1 MB, free: 2.645 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001118/0.2716, allocations: 77.45 kB / 435.2 MB, free: 2.562 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.2716, allocations: 8 kB / 435.2 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.2716, allocations: 0 / 435.2 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.2717, allocations: 4 kB / 435.2 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.431e-05/0.2717, allocations: 15.98 kB / 435.2 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.2717, allocations: 3.938 kB / 435.2 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.307e-05/0.2718, allocations: 4.125 kB / 435.2 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-06/0.2718, allocations: 8 kB / 435.3 MB, free: 2.52 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.567e-05/0.2718, allocations: 113.8 kB / 435.4 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.272, allocations: 73.83 kB / 435.4 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.997e-05/0.272, allocations: 16.34 kB / 435.5 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.272, allocations: 4.062 kB / 435.5 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.272, allocations: 4 kB / 435.5 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.272, allocations: 0 / 435.5 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.964e-05/0.2721, allocations: 132.7 kB / 435.6 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.2721, allocations: 4 kB / 435.6 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.88e-05/0.2722, allocations: 15.92 kB / 435.6 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.2722, allocations: 0 / 435.6 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.2722, allocations: 0 / 435.6 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2722, allocations: 0 / 435.6 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.2722, allocations: 0 / 435.6 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001696/0.2724, allocations: 105 kB / 435.7 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.145e-05/0.2724, allocations: 7.875 kB / 435.7 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.2724, allocations: 4 kB / 435.7 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.466e-05/0.2725, allocations: 15.98 kB / 435.7 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.265e-06/0.2725, allocations: 0 / 435.7 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.2725, allocations: 0 / 435.7 MB, free: 1.953 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.361e-05/0.2725, allocations: 91.27 kB / 435.8 MB, free: 1.863 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2725, allocations: 0 / 435.8 MB, free: 1.863 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001933/0.2727, allocations: 15.94 kB / 435.8 MB, free: 1.848 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.0005446/0.2733, allocations: 0.6616 MB / 436.5 MB, free: 1.16 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001348/0.2734, allocations: 35.92 kB / 436.5 MB, free: 1.125 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2734, allocations: 448 / 436.5 MB, free: 1.125 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.2734, allocations: 4 kB / 436.5 MB, free: 1.121 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.2737, allocations: 38.77 kB / 436.6 MB, free: 1.086 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.2748, allocations: 1.248 MB / 437.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.2751, allocations: 0.6807 MB / 438.5 MB, free: 15.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.126e-05/0.2752, allocations: 7.984 kB / 438.5 MB, free: 15.01 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.408e-05/0.2752, allocations: 15.44 kB / 438.5 MB, free: 15 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2752, allocations: 0 / 438.5 MB, free: 15 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02812/0.3033, allocations: 1.802 MB / 440.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/10.95, allocations: 3.266 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000199561 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.csv","/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] "Error: Could not read variable assignClock1.y in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.csv. Warning: Get data of variable assignClock1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.435639732000709]