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.001726/0.001726, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001798/0.001798, allocations: 206 kB / 23.73 MB, free: 4.379 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.412/1.412, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.001434/0.001434, allocations: 47.92 kB / 377.7 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/0.2283, allocations: 53.36 MB / 431.1 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002961/0.2313, allocations: 1.53 MB / 432.6 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004201/0.2317, allocations: 131.5 kB / 432.7 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.808e-05/0.2318, allocations: 0 / 432.7 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.048e-05/0.2318, allocations: 11.92 kB / 432.7 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001305/0.232, allocations: 7.922 kB / 432.8 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.2322, allocations: 31.92 kB / 432.8 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.2323, allocations: 35.91 kB / 432.8 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.2324, allocations: 15.78 kB / 432.8 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.1e-05/0.2325, allocations: 15.92 kB / 432.9 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.502e-05/0.2325, allocations: 15.88 kB / 432.9 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.785e-05/0.2325, allocations: 8 kB / 432.9 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.042e-05/0.2325, allocations: 0 / 432.9 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.249e-05/0.2326, allocations: 7.984 kB / 432.9 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.412e-05/0.2326, allocations: 15.88 kB / 432.9 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001233/0.2327, allocations: 55.67 kB / 433 MB, free: 4.758 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2327, allocations: 0 / 433 MB, free: 4.758 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2328, allocations: 4 kB / 433 MB, free: 4.754 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.002e-06/0.2328, allocations: 0 / 433 MB, free: 4.754 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.0004212/0.2332, allocations: 287.9 kB / 433.2 MB, free: 4.441 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.2332, allocations: 12.03 kB / 433.2 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.025e-05/0.2333, allocations: 38.75 kB / 433.3 MB, free: 4.383 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.731e-05/0.2333, allocations: 12.88 kB / 433.3 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/0.2335, allocations: 133.7 kB / 433.4 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.2335, allocations: 4.312 kB / 433.4 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.2336, allocations: 8.359 kB / 433.4 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002636/0.2338, allocations: 113.6 kB / 433.6 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.2338, allocations: 7.938 kB / 433.6 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-06/0.2338, allocations: 0 / 433.6 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.2338, allocations: 0 / 433.6 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.465e-05/0.2339, allocations: 15.98 kB / 433.6 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002964/0.2342, allocations: 236.8 kB / 433.8 MB, free: 3.777 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.2343, allocations: 53.14 kB / 433.9 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.497e-05/0.2344, allocations: 29.7 kB / 433.9 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.2344, allocations: 4 kB / 433.9 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.2344, allocations: 34.56 kB / 433.9 MB, free: 3.625 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.2344, allocations: 7.938 kB / 433.9 MB, free: 3.617 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000223/0.2346, allocations: 73.56 kB / 434 MB, free: 3.539 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.096e-05/0.2347, allocations: 81.11 kB / 434.1 MB, free: 3.441 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.2348, allocations: 129.8 kB / 434.2 MB, free: 3.305 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.2349, allocations: 25.7 kB / 434.2 MB, free: 3.273 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.012e-05/0.2349, allocations: 88.08 kB / 434.3 MB, free: 3.184 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.259e-05/0.2349, allocations: 7.984 kB / 434.3 MB, free: 3.176 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-05/0.235, allocations: 21.67 kB / 434.4 MB, free: 3.148 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.2351, allocations: 310.8 kB / 434.7 MB, free: 2.836 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.36e-05/0.2351, allocations: 12.11 kB / 434.7 MB, free: 2.824 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.16e-05/0.2352, allocations: 31.44 kB / 434.7 MB, free: 2.781 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.326e-05/0.2353, allocations: 47.36 kB / 434.7 MB, free: 2.723 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.2353, allocations: 3.938 kB / 434.7 MB, free: 2.719 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001165/0.2354, allocations: 65.56 kB / 434.8 MB, free: 2.648 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.2354, allocations: 4.125 kB / 434.8 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2354, allocations: 4 kB / 434.8 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.924e-05/0.2354, allocations: 4 kB / 434.8 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.152e-05/0.2354, allocations: 0 / 434.8 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.2354, allocations: 0 / 434.8 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.123e-05/0.2355, allocations: 4 kB / 434.8 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.2355, allocations: 0 / 434.8 MB, free: 2.633 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 9.951e-05/0.2356, allocations: 125.8 kB / 435 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.226e-05/0.2357, allocations: 53.58 kB / 435 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.287e-05/0.2357, allocations: 8 kB / 435 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.2357, allocations: 8 kB / 435 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.2357, allocations: 0 / 435 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2357, allocations: 336 / 435 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.2359, allocations: 132.7 kB / 435.1 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2359, allocations: 0 / 435.1 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.267e-06/0.2359, allocations: 7.984 kB / 435.2 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2359, allocations: 0 / 435.2 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.2359, allocations: 3.984 kB / 435.2 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2359, allocations: 0 / 435.2 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2359, allocations: 4 kB / 435.2 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.2361, allocations: 168.2 kB / 435.3 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.586e-05/0.2361, allocations: 15.94 kB / 435.3 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.2361, allocations: 4 kB / 435.3 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.28e-05/0.2362, allocations: 4 kB / 435.4 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.775e-05/0.2362, allocations: 0 / 435.4 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.2362, allocations: 7.984 kB / 435.4 MB, free: 2.016 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.538e-05/0.2363, allocations: 95.27 kB / 435.5 MB, free: 1.922 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2363, allocations: 3.938 kB / 435.5 MB, free: 1.918 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002184/0.2365, allocations: 11.94 kB / 435.5 MB, free: 1.906 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.0005039/0.237, allocations: 0.7053 MB / 436.2 MB, free: 1.172 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001099/0.2371, allocations: 19.98 kB / 436.2 MB, free: 1.152 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.2371, allocations: 4 kB / 436.2 MB, free: 1.148 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.506e-05/0.2371, allocations: 7.938 kB / 436.2 MB, free: 1.141 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.2375, allocations: 26.97 kB / 436.2 MB, free: 1.117 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.2388, allocations: 1.295 MB / 437.5 MB, free: 15.72 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.882e-05/0.2388, allocations: 79.58 kB / 437.6 MB, free: 15.62 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.906e-05/0.2389, allocations: 4 kB / 437.6 MB, free: 15.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.872e-05/0.2389, allocations: 11.44 kB / 437.6 MB, free: 15.61 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2389, allocations: 0 / 437.6 MB, free: 15.61 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02874/0.2676, allocations: 2.03 MB / 439.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.05, allocations: 2.578 kB / 439.7 MB, free: 13.71 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.542235298024025]