Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001745/0.001745, allocations: 120.1 kB / 17.78 MB, free: 5.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002046/0.002046, allocations: 198.8 kB / 20.73 MB, free: 2.289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 225.6 MB / 249.1 MB, free: 3.598 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002438/0.002438, allocations: 51.91 kB / 365.6 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1115, allocations: 52.15 MB / 417.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002857/0.1143, allocations: 1.508 MB / 419.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003666/0.1147, allocations: 147.5 kB / 419.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.962e-05/0.1148, allocations: 3.938 kB / 419.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.912e-05/0.1148, allocations: 7.875 kB / 419.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001148/0.1149, allocations: 7.938 kB / 419.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002477/0.1152, allocations: 35.89 kB / 419.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.867e-05/0.1153, allocations: 35.92 kB / 419.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.635e-05/0.1154, allocations: 11.98 kB / 419.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.287e-05/0.1154, allocations: 11.94 kB / 419.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.547e-05/0.1154, allocations: 15.91 kB / 419.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.1154, allocations: 0 / 419.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.105e-05/0.1155, allocations: 8 kB / 419.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.038e-05/0.1155, allocations: 11.94 kB / 419.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.893e-05/0.1155, allocations: 27.8 kB / 419.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001157/0.1157, allocations: 47.75 kB / 419.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1157, allocations: 0 / 419.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1157, allocations: 0 / 419.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.1157, allocations: 0 / 419.6 MB, free: 10.7 MB / 350.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.0004982/0.1162, allocations: 367.2 kB / 420 MB, free: 10.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.1162, allocations: 11.97 kB / 420 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.764e-05/0.1163, allocations: 30.75 kB / 420 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.18e-05/0.1163, allocations: 16.89 kB / 420.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/0.1166, allocations: 194.5 kB / 420.3 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.1166, allocations: 384 / 420.3 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.1166, allocations: 8.375 kB / 420.3 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002747/0.1169, allocations: 121.5 kB / 420.4 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.1169, allocations: 3.938 kB / 420.4 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.483e-06/0.1169, allocations: 3.938 kB / 420.4 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1169, allocations: 0 / 420.4 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.931e-05/0.117, allocations: 12 kB / 420.4 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003116/0.1173, allocations: 257.8 kB / 420.7 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.1175, allocations: 146.2 kB / 420.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.742e-05/0.1175, allocations: 25.77 kB / 420.8 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.1175, allocations: 0 / 420.8 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.1175, allocations: 30.56 kB / 420.9 MB, free: 9.281 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.1175, allocations: 4 kB / 420.9 MB, free: 9.277 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002241/0.1178, allocations: 73.56 kB / 420.9 MB, free: 9.199 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.068e-05/0.1178, allocations: 89.05 kB / 421 MB, free: 9.094 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.118, allocations: 125.8 kB / 421.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.118, allocations: 25.7 kB / 421.2 MB, free: 8.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.066e-05/0.118, allocations: 88.09 kB / 421.2 MB, free: 8.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.236e-06/0.118, allocations: 0 / 421.2 MB, free: 8.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-05/0.1181, allocations: 29.83 kB / 421.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.1182, allocations: 314.8 kB / 421.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.302e-05/0.1183, allocations: 4 kB / 421.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.623e-05/0.1183, allocations: 35.42 kB / 421.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.119e-05/0.1184, allocations: 39.38 kB / 421.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.1184, allocations: 3.938 kB / 421.7 MB, free: 8.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001158/0.1185, allocations: 65.56 kB / 421.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.1185, allocations: 4 kB / 421.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.1185, allocations: 4 kB / 421.7 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.1185, allocations: 0 / 421.7 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.249e-05/0.1185, allocations: 4.062 kB / 421.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.1185, allocations: 8 kB / 421.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.833e-05/0.1186, allocations: 0 / 421.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.1186, allocations: 4 kB / 421.8 MB, free: 8.289 MB / 350.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.0001011/0.1187, allocations: 122.4 kB / 421.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.119e-05/0.1188, allocations: 45.66 kB / 421.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.681e-05/0.1188, allocations: 15.89 kB / 421.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1188, allocations: 336 / 421.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1188, allocations: 0 / 421.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1188, allocations: 7.938 kB / 421.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001814/0.119, allocations: 177.6 kB / 422.1 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.119, allocations: 3.938 kB / 422.1 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.07e-05/0.119, allocations: 7.922 kB / 422.1 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.119, allocations: 0 / 422.1 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.229e-06/0.119, allocations: 0 / 422.1 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.119, allocations: 4 kB / 422.1 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.119, allocations: 0 / 422.1 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001717/0.1192, allocations: 168.3 kB / 422.3 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.464e-05/0.1192, allocations: 85.11 kB / 422.4 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.1192, allocations: 3.984 kB / 422.4 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.172e-05/0.1193, allocations: 0 / 422.4 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.628e-05/0.1193, allocations: 4 kB / 422.4 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.1193, allocations: 0 / 422.4 MB, free: 7.547 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.264e-05/0.1194, allocations: 109.7 kB / 422.5 MB, free: 7.441 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1194, allocations: 0 / 422.5 MB, free: 7.441 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002177/0.1196, allocations: 7.938 kB / 422.5 MB, free: 7.434 MB / 350.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.000472/0.1201, allocations: 0.7015 MB / 423.2 MB, free: 6.703 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001416/0.1202, allocations: 27.92 kB / 423.2 MB, free: 6.676 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1202, allocations: 4.25 kB / 423.2 MB, free: 6.672 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.414e-05/0.1203, allocations: 4 kB / 423.2 MB, free: 6.668 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.1206, allocations: 26.36 kB / 423.3 MB, free: 6.645 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.1218, allocations: 1.31 MB / 424.6 MB, free: 5.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.1222, allocations: 0.6922 MB / 425.3 MB, free: 4.512 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.931e-05/0.1222, allocations: 3.938 kB / 425.3 MB, free: 4.508 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.012e-05/0.1222, allocations: 19.42 kB / 425.3 MB, free: 4.488 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1222, allocations: 0 / 425.3 MB, free: 4.488 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02319/0.1454, allocations: 1.468 MB / 426.8 MB, free: 3.129 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.167/8.313, allocations: 14.12 kB / 426.8 MB, free: 3.121 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.csv. Warning: Get data of variable sample1.y from file Modelica_4.0.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: 11.057999187149107]