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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 107 kB / 16.92 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 190.1 kB / 17.85 MB, free: 5.176 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 241.6 MB, free: 15.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 43.09 kB / 300.7 MB, free: 5.785 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1051, allocations: 49.45 MB / 350.2 MB, free: 4.328 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002951/0.1081, allocations: 1.491 MB / 351.7 MB, free: 2.816 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004929/0.1086, allocations: 141 kB / 351.8 MB, free: 2.68 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.1087, allocations: 0 / 351.8 MB, free: 2.68 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.289e-05/0.1088, allocations: 7.938 kB / 351.8 MB, free: 2.672 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001446/0.109, allocations: 3.938 kB / 351.8 MB, free: 2.668 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003136/0.1093, allocations: 49.95 kB / 351.9 MB, free: 2.621 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.1094, allocations: 27.92 kB / 351.9 MB, free: 2.594 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.1096, allocations: 23.94 kB / 351.9 MB, free: 2.57 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.938e-05/0.1096, allocations: 8 kB / 351.9 MB, free: 2.562 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.267e-05/0.1097, allocations: 19.84 kB / 351.9 MB, free: 2.543 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.1097, allocations: 4 kB / 351.9 MB, free: 2.539 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.356e-05/0.1097, allocations: 4 kB / 351.9 MB, free: 2.535 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.457e-05/0.1098, allocations: 15.92 kB / 352 MB, free: 2.52 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5e-05/0.1098, allocations: 15.88 kB / 352 MB, free: 2.504 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.11, allocations: 43.81 kB / 352 MB, free: 2.461 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.11, allocations: 4 kB / 352 MB, free: 2.457 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.11, allocations: 0 / 352 MB, free: 2.457 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.11, allocations: 0 / 352 MB, free: 2.457 MB / 286.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.0005536/0.1106, allocations: 363.5 kB / 352.4 MB, free: 2.051 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.1106, allocations: 12.03 kB / 352.4 MB, free: 2.039 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.087e-05/0.1107, allocations: 34.75 kB / 352.4 MB, free: 1.996 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.851e-05/0.1107, allocations: 16.77 kB / 352.4 MB, free: 1.98 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/0.111, allocations: 191.7 kB / 352.6 MB, free: 1.758 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.111, allocations: 4.375 kB / 352.6 MB, free: 1.754 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.111, allocations: 4.375 kB / 352.6 MB, free: 1.75 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003272/0.1114, allocations: 117.5 kB / 352.7 MB, free: 1.617 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.1114, allocations: 3.938 kB / 352.7 MB, free: 1.613 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.1114, allocations: 0 / 352.7 MB, free: 1.613 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.1114, allocations: 0 / 352.7 MB, free: 1.613 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.445e-05/0.1115, allocations: 23.98 kB / 352.8 MB, free: 1.59 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003977/0.1119, allocations: 261.7 kB / 353 MB, free: 1.281 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.1121, allocations: 138.2 kB / 353.2 MB, free: 1.109 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.76e-05/0.1122, allocations: 25.77 kB / 353.2 MB, free: 1.078 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.1122, allocations: 4 kB / 353.2 MB, free: 1.074 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.1123, allocations: 38.56 kB / 353.2 MB, free: 1.027 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.1123, allocations: 0 / 353.2 MB, free: 1.027 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002327/0.1125, allocations: 69.61 kB / 353.3 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.681e-05/0.1126, allocations: 77.11 kB / 353.4 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.1127, allocations: 133.7 kB / 353.5 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.1127, allocations: 25.7 kB / 353.5 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.793e-05/0.1128, allocations: 92.27 kB / 353.6 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.096e-05/0.1128, allocations: 3.938 kB / 353.6 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.581e-05/0.1128, allocations: 21.7 kB / 353.6 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.517e-05/0.1129, allocations: 314.8 kB / 353.9 MB, free: 252 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.006e-05/0.113, allocations: 4 kB / 354 MB, free: 248 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.736e-05/0.113, allocations: 31.42 kB / 354 MB, free: 204 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.209e-05/0.1131, allocations: 47.36 kB / 354 MB, free: 144 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/0.1131, allocations: 3.938 kB / 354 MB, free: 140 kB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001055/0.1132, allocations: 65.47 kB / 354.1 MB, free: 68 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.1132, allocations: 8.125 kB / 354.1 MB, free: 60 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1132, allocations: 0 / 354.1 MB, free: 60 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.1132, allocations: 4 kB / 354.1 MB, free: 56 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.314e-05/0.1133, allocations: 4 kB / 354.1 MB, free: 52 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.1133, allocations: 3.938 kB / 354.1 MB, free: 48 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.19e-05/0.1133, allocations: 4 kB / 354.1 MB, free: 44 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.1133, allocations: 0 / 354.1 MB, free: 44 kB / 286.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.34e-05/0.1134, allocations: 125.8 kB / 354.2 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.184e-05/0.1135, allocations: 49.55 kB / 354.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.884e-05/0.1135, allocations: 11.89 kB / 354.3 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.1135, allocations: 4.328 kB / 354.3 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1136, allocations: 0 / 354.3 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1136, allocations: 0 / 354.3 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000161/0.1137, allocations: 169.6 kB / 354.5 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.1137, allocations: 3.984 kB / 354.5 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.436e-06/0.1137, allocations: 4 kB / 354.5 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1138, allocations: 0 / 354.5 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.66e-06/0.1138, allocations: 3.938 kB / 354.5 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1138, allocations: 0 / 354.5 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1138, allocations: 0 / 354.5 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/0.1139, allocations: 176.2 kB / 354.7 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.088e-05/0.114, allocations: 85.09 kB / 354.7 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.114, allocations: 4 kB / 354.7 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.651e-05/0.1141, allocations: 8 kB / 354.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/0.1141, allocations: 0 / 354.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.1141, allocations: 4 kB / 354.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.48e-05/0.1142, allocations: 99.27 kB / 354.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1142, allocations: 0 / 354.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002354/0.1145, allocations: 8 kB / 354.9 MB, free: 15.19 MB / 302.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.0004973/0.115, allocations: 0.7053 MB / 355.6 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001299/0.1151, allocations: 27.92 kB / 355.6 MB, free: 14.43 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.1151, allocations: 4 kB / 355.6 MB, free: 14.43 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.016e-05/0.1152, allocations: 7.984 kB / 355.6 MB, free: 14.42 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004466/0.1156, allocations: 19 kB / 355.6 MB, free: 14.4 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.1169, allocations: 1.314 MB / 356.9 MB, free: 12.98 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.1172, allocations: 0.6924 MB / 357.6 MB, free: 12.26 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.989e-05/0.1172, allocations: 0 / 357.6 MB, free: 12.26 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.999e-05/0.1172, allocations: 19.42 kB / 357.6 MB, free: 12.24 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1172, allocations: 0 / 357.6 MB, free: 12.24 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01863/0.1359, allocations: 1.425 MB / 359.1 MB, free: 10.91 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.471/7.607, allocations: 11.94 kB / 359.1 MB, free: 10.9 MB / 302.1 MB (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 8e-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) 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) "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! " Variables in the reference:time,assignClock.y,sample1.y Variables in the result:time,step.startTime,periodicClock.factor,periodicClock.resolution,assignClock.u,assignClock.y