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.001377/0.001377, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001469/0.001469, allocations: 213.9 kB / 23.73 MB, free: 4.164 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.411/1.411, allocations: 230.5 MB / 257.4 MB, free: 7.785 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="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 0.00194/0.00194, allocations: 63.91 kB / 377.7 MB, free: 2.816 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2593, allocations: 53.4 MB / 431.1 MB, free: 6.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002847/0.2622, allocations: 1.499 MB / 432.6 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008754/0.2631, allocations: 458.8 kB / 433.1 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.987e-05/0.2631, allocations: 3.938 kB / 433.1 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.503e-05/0.2632, allocations: 11.86 kB / 433.1 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001681/0.2633, allocations: 11.92 kB / 433.1 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001977/0.2635, allocations: 43.89 kB / 433.1 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.735e-05/0.2636, allocations: 47.86 kB / 433.2 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.717e-05/0.2637, allocations: 15.78 kB / 433.2 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.043e-05/0.2638, allocations: 19.88 kB / 433.2 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.488e-05/0.2639, allocations: 27.89 kB / 433.3 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.2639, allocations: 4 kB / 433.3 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.236e-05/0.2639, allocations: 4 kB / 433.3 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.26e-05/0.2639, allocations: 7.938 kB / 433.3 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.486e-05/0.2639, allocations: 19.92 kB / 433.3 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001081/0.2641, allocations: 43.88 kB / 433.3 MB, free: 4.234 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2641, allocations: 0 / 433.3 MB, free: 4.234 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.2641, allocations: 11.92 kB / 433.3 MB, free: 4.223 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.2641, allocations: 0 / 433.3 MB, free: 4.223 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.0005682/0.2646, allocations: 296 kB / 433.6 MB, free: 3.906 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.2647, allocations: 15.98 kB / 433.6 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.944e-05/0.2647, allocations: 38.73 kB / 433.7 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.841e-05/0.2648, allocations: 8.891 kB / 433.7 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.265, allocations: 126.4 kB / 433.8 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.265, allocations: 4.375 kB / 433.8 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.265, allocations: 4.375 kB / 433.8 MB, free: 3.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003677/0.2653, allocations: 139.3 kB / 434 MB, free: 3.531 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.2654, allocations: 0 / 434 MB, free: 3.531 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.2654, allocations: 7.984 kB / 434 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.2654, allocations: 3.938 kB / 434 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.693e-05/0.2655, allocations: 27.98 kB / 434 MB, free: 3.492 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001561/0.2656, allocations: 132.8 kB / 434.1 MB, free: 3.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.2658, allocations: 54.55 kB / 434.2 MB, free: 3.258 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.33e-05/0.2659, allocations: 28.84 kB / 434.2 MB, free: 3.227 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.2659, allocations: 4 kB / 434.2 MB, free: 3.223 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.2659, allocations: 34.5 kB / 434.3 MB, free: 3.18 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.2659, allocations: 4 kB / 434.3 MB, free: 3.176 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002752/0.2662, allocations: 85.62 kB / 434.3 MB, free: 3.086 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.978e-05/0.2663, allocations: 63.34 kB / 434.4 MB, free: 3.012 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.2664, allocations: 109.8 kB / 434.5 MB, free: 2.895 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.2664, allocations: 25.7 kB / 434.5 MB, free: 2.863 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.253e-05/0.2665, allocations: 84.14 kB / 434.6 MB, free: 2.777 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/0.2665, allocations: 3.984 kB / 434.6 MB, free: 2.773 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.072e-05/0.2665, allocations: 21.72 kB / 434.6 MB, free: 2.746 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.2667, allocations: 314.8 kB / 434.9 MB, free: 2.43 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.85e-05/0.2667, allocations: 7.984 kB / 435 MB, free: 2.422 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.502e-05/0.2667, allocations: 57.08 kB / 435 MB, free: 2.348 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.834e-05/0.2668, allocations: 53.09 kB / 435.1 MB, free: 2.277 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.2668, allocations: 3.984 kB / 435.1 MB, free: 2.273 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001195/0.2669, allocations: 81.64 kB / 435.1 MB, free: 2.188 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.267, allocations: 8 kB / 435.2 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.267, allocations: 4 kB / 435.2 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.267, allocations: 3.938 kB / 435.2 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.236e-05/0.267, allocations: 8.25 kB / 435.2 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.267, allocations: 0 / 435.2 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.478e-05/0.2671, allocations: 11.94 kB / 435.2 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.2671, allocations: 4 kB / 435.2 MB, free: 2.148 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.612e-05/0.2672, allocations: 113.8 kB / 435.3 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/0.2673, allocations: 81.5 kB / 435.4 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.65e-05/0.2674, allocations: 12.38 kB / 435.4 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.2674, allocations: 0 / 435.4 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.2674, allocations: 0 / 435.4 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2674, allocations: 0 / 435.4 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.2675, allocations: 132.7 kB / 435.5 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.2675, allocations: 0 / 435.5 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.492e-05/0.2675, allocations: 7.938 kB / 435.5 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.2676, allocations: 0 / 435.5 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.2676, allocations: 4 kB / 435.5 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2676, allocations: 0 / 435.5 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2676, allocations: 0 / 435.5 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/0.2677, allocations: 105 kB / 435.6 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.236e-05/0.2678, allocations: 11.88 kB / 435.6 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.2678, allocations: 0 / 435.6 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.033e-05/0.2679, allocations: 19.97 kB / 435.7 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.096e-06/0.2679, allocations: 0 / 435.7 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.2679, allocations: 4 kB / 435.7 MB, free: 1.586 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.008e-05/0.2679, allocations: 87.73 kB / 435.8 MB, free: 1.5 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2679, allocations: 0 / 435.8 MB, free: 1.5 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001932/0.2681, allocations: 16 kB / 435.8 MB, free: 1.484 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.0005933/0.2687, allocations: 0.6663 MB / 436.4 MB, free: 0.793 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001461/0.2689, allocations: 39.86 kB / 436.5 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2689, allocations: 0 / 436.5 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.849e-06/0.2689, allocations: 4 kB / 436.5 MB, free: 0.75 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.2692, allocations: 39.25 kB / 436.5 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.2704, allocations: 1.247 MB / 437.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.741e-05/0.2704, allocations: 75.28 kB / 437.8 MB, free: 15.27 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.782e-05/0.2704, allocations: 0 / 437.8 MB, free: 15.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.601e-05/0.2705, allocations: 15.44 kB / 437.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2705, allocations: 0 / 437.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02735/0.2978, allocations: 2.21 MB / 440.1 MB, free: 13.15 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.19, allocations: 12.03 kB / 440.1 MB, free: 13.14 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 & python3 -m fmpy simulate --output-file Modelica_trunk_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_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.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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.csv. Warning: Get data of variable assignClock1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.64611294399947]