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.001292/0.001292, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002736/0.002736, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.476/1.476, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.001652/0.001652, allocations: 55.92 kB / 377.7 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2457, allocations: 53.36 MB / 431.1 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002955/0.2486, allocations: 1.494 MB / 432.6 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009107/0.2495, allocations: 466.8 kB / 433 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.936e-05/0.2496, allocations: 3.938 kB / 433 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.035e-05/0.2496, allocations: 3.938 kB / 433 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001609/0.2498, allocations: 23.91 kB / 433.1 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000174/0.25, allocations: 27.92 kB / 433.1 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.2501, allocations: 59.77 kB / 433.1 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.734e-05/0.2502, allocations: 7.797 kB / 433.2 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.584e-05/0.2503, allocations: 19.98 kB / 433.2 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.143e-05/0.2503, allocations: 27.8 kB / 433.2 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.2503, allocations: 4 kB / 433.2 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.321e-05/0.2503, allocations: 4 kB / 433.2 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.461e-05/0.2504, allocations: 11.97 kB / 433.2 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.561e-05/0.2504, allocations: 19.88 kB / 433.2 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000108/0.2505, allocations: 39.88 kB / 433.3 MB, free: 4.434 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.2505, allocations: 4 kB / 433.3 MB, free: 4.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.2505, allocations: 0 / 433.3 MB, free: 4.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.2505, allocations: 0 / 433.3 MB, free: 4.43 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.0005615/0.2511, allocations: 304 kB / 433.6 MB, free: 4.105 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.2511, allocations: 16.03 kB / 433.6 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.127e-05/0.2512, allocations: 34.75 kB / 433.6 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.655e-05/0.2512, allocations: 8.891 kB / 433.6 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.2514, allocations: 126.4 kB / 433.8 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.2515, allocations: 4.359 kB / 433.8 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.2515, allocations: 8.375 kB / 433.8 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003544/0.2518, allocations: 135.4 kB / 433.9 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.2518, allocations: 4 kB / 433.9 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.2518, allocations: 7.922 kB / 433.9 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.2518, allocations: 7.938 kB / 433.9 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.2519, allocations: 31.98 kB / 434 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001429/0.2521, allocations: 124.8 kB / 434.1 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.2523, allocations: 58.56 kB / 434.1 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.181e-05/0.2523, allocations: 28.84 kB / 434.2 MB, free: 3.422 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.2524, allocations: 0 / 434.2 MB, free: 3.422 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.2524, allocations: 42.48 kB / 434.2 MB, free: 3.371 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 8.52e-07/0.2524, allocations: 0 / 434.2 MB, free: 3.371 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002575/0.2526, allocations: 89.62 kB / 434.3 MB, free: 3.277 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.98e-05/0.2527, allocations: 55.34 kB / 434.3 MB, free: 3.211 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.623e-05/0.2528, allocations: 114.1 kB / 434.5 MB, free: 3.09 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.2528, allocations: 25.7 kB / 434.5 MB, free: 3.059 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5e-05/0.2529, allocations: 84.14 kB / 434.6 MB, free: 2.973 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.413e-05/0.2529, allocations: 4 kB / 434.6 MB, free: 2.969 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-05/0.2529, allocations: 21.7 kB / 434.6 MB, free: 2.941 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.2531, allocations: 314.8 kB / 434.9 MB, free: 2.625 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.563e-05/0.2531, allocations: 4 kB / 434.9 MB, free: 2.621 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.039e-05/0.2531, allocations: 61.2 kB / 435 MB, free: 2.543 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.213e-05/0.2532, allocations: 53.09 kB / 435 MB, free: 2.473 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2532, allocations: 0 / 435 MB, free: 2.473 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001142/0.2533, allocations: 81.52 kB / 435.1 MB, free: 2.387 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.2533, allocations: 8 kB / 435.1 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.2533, allocations: 0 / 435.1 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.2534, allocations: 4 kB / 435.1 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.87e-05/0.2534, allocations: 11.92 kB / 435.1 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.2534, allocations: 4 kB / 435.1 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.256e-05/0.2535, allocations: 3.938 kB / 435.1 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.2535, allocations: 4 kB / 435.1 MB, free: 2.352 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 0.0001038/0.2536, allocations: 113.8 kB / 435.2 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.2537, allocations: 85.62 kB / 435.3 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.373e-05/0.2537, allocations: 8.375 kB / 435.3 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.2537, allocations: 0 / 435.3 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.2537, allocations: 3.984 kB / 435.3 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.2537, allocations: 4 kB / 435.3 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001111/0.2539, allocations: 128.7 kB / 435.5 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2539, allocations: 320 / 435.5 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.039e-05/0.2539, allocations: 15.92 kB / 435.5 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.2539, allocations: 4 kB / 435.5 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.2539, allocations: 0 / 435.5 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2539, allocations: 0 / 435.5 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2539, allocations: 4 kB / 435.5 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001692/0.2541, allocations: 105 kB / 435.6 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.247e-05/0.2541, allocations: 7.875 kB / 435.6 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.2541, allocations: 4 kB / 435.6 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.364e-05/0.2542, allocations: 11.98 kB / 435.6 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.134e-06/0.2542, allocations: 0 / 435.6 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.2542, allocations: 0 / 435.6 MB, free: 1.785 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.369e-05/0.2543, allocations: 91.27 kB / 435.7 MB, free: 1.695 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2543, allocations: 4 kB / 435.7 MB, free: 1.691 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001909/0.2545, allocations: 12 kB / 435.7 MB, free: 1.68 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.0005784/0.255, allocations: 0.6554 MB / 436.4 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001404/0.2552, allocations: 43.86 kB / 436.4 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2552, allocations: 0 / 436.4 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.2552, allocations: 0 / 436.4 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.2555, allocations: 38.8 kB / 436.5 MB, free: 0.918 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.2567, allocations: 1.247 MB / 437.7 MB, free: 15.56 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.406e-05/0.2568, allocations: 71.3 kB / 437.8 MB, free: 15.47 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.377e-05/0.2568, allocations: 7.984 kB / 437.8 MB, free: 15.46 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.139e-05/0.2569, allocations: 11.44 kB / 437.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.2569, allocations: 0 / 437.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02709/0.2839, allocations: 2.202 MB / 440 MB, free: 13.38 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.11, allocations: 2.812 kB / 440 MB, free: 13.38 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.638376725371927]