Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.001742/0.001742, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002195/0.002195, allocations: 217.2 kB / 23.75 MB, free: 4.668 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.504/1.504, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.Sample1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 55.92 kB / 377.8 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2741, allocations: 53.35 MB / 431.1 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.003072/0.2771, allocations: 1.538 MB / 432.7 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004697/0.2776, allocations: 139.5 kB / 432.8 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.223e-05/0.2777, allocations: 0 / 432.8 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.381e-05/0.2777, allocations: 7.938 kB / 432.8 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001306/0.2779, allocations: 3.938 kB / 432.8 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002556/0.2781, allocations: 43.83 kB / 432.9 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.2782, allocations: 39.86 kB / 432.9 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.2784, allocations: 11.98 kB / 432.9 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.827e-05/0.2784, allocations: 11.98 kB / 432.9 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.532e-05/0.2785, allocations: 19.86 kB / 432.9 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.2785, allocations: 4 kB / 432.9 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.025e-05/0.2785, allocations: 0 / 432.9 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.211e-05/0.2785, allocations: 7.938 kB / 432.9 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.459e-05/0.2786, allocations: 23.86 kB / 433 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.2787, allocations: 47.61 kB / 433 MB, free: 4.965 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2787, allocations: 0 / 433 MB, free: 4.965 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2787, allocations: 0 / 433 MB, free: 4.965 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.2787, allocations: 4 kB / 433 MB, free: 4.961 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.0005323/0.2793, allocations: 294.6 kB / 433.3 MB, free: 4.645 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.2793, allocations: 8.031 kB / 433.3 MB, free: 4.637 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.399e-05/0.2794, allocations: 38.75 kB / 433.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.92e-05/0.2794, allocations: 12.83 kB / 433.4 MB, free: 4.578 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.2796, allocations: 129.4 kB / 433.5 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/0.2797, allocations: 8.375 kB / 433.5 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.367e-06/0.2797, allocations: 384 / 433.5 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002932/0.28, allocations: 113.6 kB / 433.6 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.28, allocations: 3.938 kB / 433.6 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.28, allocations: 4 kB / 433.6 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.28, allocations: 0 / 433.6 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.2801, allocations: 19.92 kB / 433.6 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003323/0.2804, allocations: 236.8 kB / 433.9 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.2806, allocations: 57.08 kB / 433.9 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.699e-05/0.2806, allocations: 25.77 kB / 434 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.2806, allocations: 8 kB / 434 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.2807, allocations: 34.56 kB / 434 MB, free: 3.832 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.2807, allocations: 0 / 434 MB, free: 3.832 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002292/0.2809, allocations: 77.69 kB / 434.1 MB, free: 3.75 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/0.281, allocations: 77.11 kB / 434.1 MB, free: 3.656 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.2812, allocations: 134 kB / 434.3 MB, free: 3.516 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.2812, allocations: 25.7 kB / 434.3 MB, free: 3.484 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.343e-05/0.2812, allocations: 92.12 kB / 434.4 MB, free: 3.391 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.179e-05/0.2813, allocations: 3.984 kB / 434.4 MB, free: 3.387 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/0.2813, allocations: 21.67 kB / 434.4 MB, free: 3.359 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.2814, allocations: 314.8 kB / 434.7 MB, free: 3.043 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.371e-05/0.2815, allocations: 15.86 kB / 434.7 MB, free: 3.027 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.138e-05/0.2815, allocations: 31.44 kB / 434.8 MB, free: 2.984 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.439e-05/0.2816, allocations: 47.36 kB / 434.8 MB, free: 2.926 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.2816, allocations: 3.938 kB / 434.8 MB, free: 2.922 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001094/0.2817, allocations: 61.62 kB / 434.9 MB, free: 2.855 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.2817, allocations: 4 kB / 434.9 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.2817, allocations: 0 / 434.9 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.2818, allocations: 4 kB / 434.9 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.316e-05/0.2818, allocations: 4 kB / 434.9 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.2818, allocations: 0 / 434.9 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.511e-05/0.2818, allocations: 4 kB / 434.9 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.439e-05/0.2818, allocations: 3.984 kB / 434.9 MB, free: 2.836 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001085/0.2819, allocations: 133.8 kB / 435 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.419e-05/0.282, allocations: 57.58 kB / 435.1 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.092e-05/0.2821, allocations: 4 kB / 435.1 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.2821, allocations: 4 kB / 435.1 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2821, allocations: 0 / 435.1 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2821, allocations: 0 / 435.1 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.2822, allocations: 140.7 kB / 435.2 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2822, allocations: 0 / 435.2 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.053e-06/0.2822, allocations: 4 kB / 435.2 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2823, allocations: 0 / 435.2 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-06/0.2823, allocations: 0 / 435.2 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2823, allocations: 4 kB / 435.2 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.2823, allocations: 7.938 kB / 435.2 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001709/0.2824, allocations: 168.3 kB / 435.4 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.387e-05/0.2825, allocations: 11.94 kB / 435.4 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.2825, allocations: 0 / 435.4 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.638e-05/0.2825, allocations: 8 kB / 435.4 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.842e-05/0.2826, allocations: 4 kB / 435.4 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.2826, allocations: 0 / 435.4 MB, free: 2.215 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001181/0.2827, allocations: 99.27 kB / 435.5 MB, free: 2.117 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2827, allocations: 0 / 435.5 MB, free: 2.117 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002196/0.2829, allocations: 8 kB / 435.5 MB, free: 2.109 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0004984/0.2834, allocations: 0.7041 MB / 436.2 MB, free: 1.379 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001746/0.2836, allocations: 27.92 kB / 436.3 MB, free: 1.352 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2836, allocations: 7.938 kB / 436.3 MB, free: 1.344 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.372e-05/0.2836, allocations: 3.984 kB / 436.3 MB, free: 1.34 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.2839, allocations: 22.95 kB / 436.3 MB, free: 1.32 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.2854, allocations: 1.303 MB / 437.6 MB, free: 15.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003579/0.2857, allocations: 0.6885 MB / 438.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.274e-05/0.2858, allocations: 11.98 kB / 438.3 MB, free: 15.19 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.325e-05/0.2858, allocations: 11.44 kB / 438.3 MB, free: 15.18 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2858, allocations: 0 / 438.3 MB, free: 15.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02868/0.3145, allocations: 1.578 MB / 439.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.19, allocations: 9.109 kB / 439.9 MB, free: 13.73 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.99122e-05 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable sample1.y in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.csv. Warning: Get data of variable sample1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,assignClock.y,sample1.y Variables in the result:time,step.startTime,periodicClock.factor,periodicClock.resolution,assignClock.u,assignClock.y [Calling sys.exit(0), Time elapsed: 13.84639754499949]