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) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 111 kB / 16.92 MB, free: 5.699 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.001197/0.001197, allocations: 192.7 kB / 17.85 MB, free: 5.195 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.421/1.421, allocations: 222.9 MB / 241.5 MB, free: 15.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 45.86 kB / 300.7 MB, free: 5.777 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09827/0.09949, allocations: 49.45 MB / 350.2 MB, free: 4.324 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003102/0.1026, allocations: 1.495 MB / 351.7 MB, free: 2.809 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004474/0.1031, allocations: 149 kB / 351.8 MB, free: 2.664 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.82e-05/0.1032, allocations: 3.938 kB / 351.8 MB, free: 2.66 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000104/0.1033, allocations: 15.92 kB / 351.8 MB, free: 2.645 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.856e-05/0.1034, allocations: 3.938 kB / 351.8 MB, free: 2.641 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002695/0.1037, allocations: 43.89 kB / 351.9 MB, free: 2.598 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.1039, allocations: 35.86 kB / 351.9 MB, free: 2.562 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.104, allocations: 15.94 kB / 351.9 MB, free: 2.547 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.173e-05/0.104, allocations: 19.91 kB / 351.9 MB, free: 2.527 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.155e-05/0.1041, allocations: 15.92 kB / 352 MB, free: 2.512 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.29e-05/0.1041, allocations: 8 kB / 352 MB, free: 2.504 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.488e-05/0.1041, allocations: 4 kB / 352 MB, free: 2.5 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.634e-05/0.1042, allocations: 15.92 kB / 352 MB, free: 2.484 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.872e-05/0.1043, allocations: 23.81 kB / 352 MB, free: 2.461 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.1045, allocations: 51.81 kB / 352.1 MB, free: 2.41 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.1045, allocations: 0 / 352.1 MB, free: 2.41 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1045, allocations: 0 / 352.1 MB, free: 2.41 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.1045, allocations: 0 / 352.1 MB, free: 2.41 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.0005334/0.105, allocations: 379.4 kB / 352.4 MB, free: 1.988 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.1051, allocations: 8.031 kB / 352.4 MB, free: 1.98 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.326e-05/0.1051, allocations: 42.75 kB / 352.5 MB, free: 1.93 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.319e-05/0.1052, allocations: 8.844 kB / 352.5 MB, free: 1.922 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.1054, allocations: 194.9 kB / 352.7 MB, free: 1.695 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.1054, allocations: 8.312 kB / 352.7 MB, free: 1.688 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-06/0.1054, allocations: 384 / 352.7 MB, free: 1.688 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002707/0.1057, allocations: 126.4 kB / 352.8 MB, free: 1.543 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1057, allocations: 7.938 kB / 352.8 MB, free: 1.535 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.1057, allocations: 0 / 352.8 MB, free: 1.535 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.474e-05/0.1058, allocations: 7.984 kB / 352.8 MB, free: 1.527 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.26e-05/0.1059, allocations: 27.92 kB / 352.9 MB, free: 1.5 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004316/0.1063, allocations: 369.8 kB / 353.2 MB, free: 1.082 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.1064, allocations: 75.78 kB / 353.3 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.494e-05/0.1065, allocations: 34.62 kB / 353.3 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.1065, allocations: 4 kB / 353.3 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.1066, allocations: 34.5 kB / 353.4 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.342e-06/0.1066, allocations: 0 / 353.4 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003196/0.1069, allocations: 97.5 kB / 353.5 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.24e-05/0.107, allocations: 103.2 kB / 353.6 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.1071, allocations: 141.8 kB / 353.7 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.1071, allocations: 25.7 kB / 353.7 MB, free: 496 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.306e-05/0.1072, allocations: 88.12 kB / 353.8 MB, free: 404 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.433e-05/0.1072, allocations: 7.906 kB / 353.8 MB, free: 396 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.367e-05/0.1073, allocations: 21.66 kB / 353.8 MB, free: 368 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.1074, allocations: 322.8 kB / 354.1 MB, free: 36 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.587e-05/0.1075, allocations: 8 kB / 354.2 MB, free: 28 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.326e-05/0.1075, allocations: 43.36 kB / 354.2 MB, free: 15.97 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.1076, allocations: 55.34 kB / 354.3 MB, free: 15.91 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.1077, allocations: 4 kB / 354.3 MB, free: 15.9 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001462/0.1078, allocations: 69.53 kB / 354.3 MB, free: 15.83 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.1078, allocations: 4 kB / 354.3 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.1079, allocations: 7.984 kB / 354.3 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.1079, allocations: 0 / 354.3 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.078e-05/0.1079, allocations: 7.984 kB / 354.3 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.1079, allocations: 4 kB / 354.3 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.629e-05/0.1079, allocations: 0 / 354.3 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/0.108, allocations: 4.125 kB / 354.4 MB, free: 15.8 MB / 302.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.000159/0.1081, allocations: 133.7 kB / 354.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.077e-05/0.1082, allocations: 45.59 kB / 354.5 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.829e-05/0.1083, allocations: 15.86 kB / 354.5 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.65e-05/0.1083, allocations: 4 kB / 354.5 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1083, allocations: 0 / 354.5 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.1083, allocations: 3.938 kB / 354.6 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002424/0.1086, allocations: 173.6 kB / 354.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.1086, allocations: 4 kB / 354.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.323e-06/0.1086, allocations: 4.031 kB / 354.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1086, allocations: 0 / 354.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.1086, allocations: 3.984 kB / 354.7 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1086, allocations: 4 kB / 354.7 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1086, allocations: 0 / 354.7 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002747/0.1089, allocations: 263.5 kB / 355 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.285e-05/0.109, allocations: 89.09 kB / 355.1 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.109, allocations: 0 / 355.1 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.327e-05/0.1091, allocations: 8 kB / 355.1 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.1092, allocations: 3.984 kB / 355.1 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.1092, allocations: 4 kB / 355.1 MB, free: 14.95 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.887e-05/0.1092, allocations: 110.3 kB / 355.2 MB, free: 14.84 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1093, allocations: 0 / 355.2 MB, free: 14.84 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002733/0.1095, allocations: 4 kB / 355.2 MB, free: 14.84 MB / 302.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.0005652/0.1101, allocations: 0.8027 MB / 356 MB, free: 14.01 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001654/0.1103, allocations: 47.91 kB / 356.1 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1103, allocations: 0 / 356.1 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.454e-05/0.1103, allocations: 8 kB / 356.1 MB, free: 13.95 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004442/0.1108, allocations: 34.45 kB / 356.1 MB, free: 13.92 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.1122, allocations: 1.451 MB / 357.5 MB, free: 12.36 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.1125, allocations: 0.6963 MB / 358.2 MB, free: 11.64 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.667e-05/0.1126, allocations: 7.984 kB / 358.3 MB, free: 11.63 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.826e-05/0.1126, allocations: 23.42 kB / 358.3 MB, free: 11.61 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1126, allocations: 0 / 358.3 MB, free: 11.61 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01931/0.1319, allocations: 1.694 MB / 360 MB, free: 10.05 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.447/7.579, allocations: 16.67 kB / 360 MB, free: 10.03 MB / 302.1 MB (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 8e-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) 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) Reference file matches