Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.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.001425/0.001425, allocations: 119 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.001611/0.001611, allocations: 197.2 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.503/1.503, allocations: 225.6 MB / 249.1 MB, free: 3.605 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.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 47.92 kB / 365.6 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.107, allocations: 52.15 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003033/0.11, allocations: 1.518 MB / 419.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004348/0.1105, allocations: 151.4 kB / 419.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.953e-05/0.1105, allocations: 4 kB / 419.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001131/0.1107, allocations: 7.922 kB / 419.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.524e-05/0.1108, allocations: 7.875 kB / 419.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002458/0.111, allocations: 47.83 kB / 419.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.1111, allocations: 31.92 kB / 419.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.1112, allocations: 15.98 kB / 419.6 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.61e-05/0.1113, allocations: 15.92 kB / 419.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.021e-05/0.1113, allocations: 23.86 kB / 419.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.1113, allocations: 8 kB / 419.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.136e-05/0.1113, allocations: 4 kB / 419.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.703e-05/0.1114, allocations: 15.92 kB / 419.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.835e-05/0.1114, allocations: 19.81 kB / 419.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.1116, allocations: 59.67 kB / 419.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.1116, allocations: 4 kB / 419.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1116, allocations: 0 / 419.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.241e-06/0.1116, allocations: 3.938 kB / 419.7 MB, free: 10.68 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.0005511/0.1121, allocations: 375.1 kB / 420.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.1122, allocations: 12.03 kB / 420.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.619e-05/0.1122, allocations: 34.75 kB / 420.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.829e-05/0.1123, allocations: 8.891 kB / 420.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003087/0.1126, allocations: 196.2 kB / 420.3 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.1126, allocations: 4.359 kB / 420.3 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.1126, allocations: 4.375 kB / 420.3 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002939/0.1129, allocations: 122.5 kB / 420.4 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.1129, allocations: 3.938 kB / 420.5 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.1129, allocations: 0 / 420.5 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.638e-05/0.113, allocations: 7.984 kB / 420.5 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.64e-05/0.1131, allocations: 31.91 kB / 420.5 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004699/0.1135, allocations: 365.8 kB / 420.8 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.1137, allocations: 67.84 kB / 420.9 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.741e-05/0.1137, allocations: 34.58 kB / 420.9 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.1137, allocations: 7.984 kB / 421 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.1138, allocations: 30.56 kB / 421 MB, free: 9.176 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.1138, allocations: 0 / 421 MB, free: 9.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003203/0.1141, allocations: 93.56 kB / 421.1 MB, free: 9.078 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.431e-05/0.1142, allocations: 115.1 kB / 421.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.1143, allocations: 140.2 kB / 421.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.1144, allocations: 25.7 kB / 421.4 MB, free: 8.766 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.178e-05/0.1144, allocations: 88.09 kB / 421.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.749e-05/0.1144, allocations: 11.92 kB / 421.5 MB, free: 8.664 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.309e-05/0.1145, allocations: 25.66 kB / 421.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.1146, allocations: 318.8 kB / 421.8 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.033e-05/0.1147, allocations: 15.98 kB / 421.8 MB, free: 8.297 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.137e-05/0.1147, allocations: 35.42 kB / 421.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.1149, allocations: 59.3 kB / 421.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.1149, allocations: 4 kB / 421.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001547/0.115, allocations: 69.61 kB / 422 MB, free: 8.102 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.115, allocations: 4 kB / 422 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.115, allocations: 4 kB / 422 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.115, allocations: 3.938 kB / 422 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.106e-05/0.1151, allocations: 3.938 kB / 422 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.1151, allocations: 7.984 kB / 422 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.835e-05/0.1151, allocations: 8.109 kB / 422 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.1151, allocations: 4 kB / 422 MB, free: 8.066 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 (sample1.u[1],sample1.u[2],sample1.y[2],sample1.y[1]) * 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.1152, allocations: 121.8 kB / 422.1 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.934e-05/0.1153, allocations: 53.64 kB / 422.2 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.788e-05/0.1154, allocations: 3.875 kB / 422.2 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.651e-05/0.1154, allocations: 7.984 kB / 422.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.1154, allocations: 0 / 422.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.864e-06/0.1154, allocations: 11.94 kB / 422.2 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002432/0.1156, allocations: 177.6 kB / 422.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1156, allocations: 4 kB / 422.4 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.54e-06/0.1156, allocations: 0 / 422.4 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1156, allocations: 0 / 422.4 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.1157, allocations: 4 kB / 422.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.1157, allocations: 0 / 422.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1157, allocations: 0 / 422.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003111/0.116, allocations: 259.6 kB / 422.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.375e-05/0.116, allocations: 93.05 kB / 422.7 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.1161, allocations: 7.938 kB / 422.7 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.1162, allocations: 0 / 422.7 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-05/0.1162, allocations: 4 kB / 422.7 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.1162, allocations: 0 / 422.7 MB, free: 7.227 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001103/0.1163, allocations: 107.2 kB / 422.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1163, allocations: 0 / 422.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.1166, allocations: 11.95 kB / 422.9 MB, free: 7.109 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u[1],sample1.u[2],sample1.y[1],sample1.y[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 1 * 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.000672/0.1172, allocations: 0.7912 MB / 423.6 MB, free: 6.289 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002053/0.1174, allocations: 39.92 kB / 423.7 MB, free: 6.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1174, allocations: 0 / 423.7 MB, free: 6.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.091e-05/0.1175, allocations: 19.92 kB / 423.7 MB, free: 6.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004688/0.118, allocations: 27.91 kB / 423.7 MB, free: 6.203 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.1197, allocations: 1.461 MB / 425.2 MB, free: 4.637 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004048/0.1201, allocations: 0.7 MB / 425.9 MB, free: 3.91 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.508e-05/0.1201, allocations: 11.97 kB / 425.9 MB, free: 3.898 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.692e-05/0.1201, allocations: 19.42 kB / 425.9 MB, free: 3.879 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1201, allocations: 0 / 425.9 MB, free: 3.879 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06689/0.187, allocations: 1.723 MB / 427.6 MB, free: 2.301 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.989/8.176, allocations: 21.78 kB / 427.7 MB, free: 2.281 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_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_SampleVectorizedAndClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable sample1.y[1] in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.csv. Warning: Get data of variable sample1.y[1] from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.csv failed! Error: Could not read variable sample1.y[2] in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.csv. Warning: Get data of variable sample1.y[2] from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.931505096144974]