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.0008561/0.0008561, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008372/0.0008372, allocations: 149.4 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.9155/0.9155, allocations: 173.3 MB / 200.4 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] 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 1.432e-06/1.432e-06, allocations: 0 / 318.4 MB, free: 6.258 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.653e-05/1.796e-05, allocations: 2.281 kB / 318.4 MB, free: 6.254 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002035/0.002053, allocations: 1.516 MB / 319.9 MB, free: 4.723 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003384/0.002391, allocations: 151.4 kB / 320.1 MB, free: 4.574 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.642e-05/0.002468, allocations: 0 / 320.1 MB, free: 4.574 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.973e-05/0.002567, allocations: 15.86 kB / 320.1 MB, free: 4.559 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.038e-05/0.002658, allocations: 7.938 kB / 320.1 MB, free: 4.551 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001963/0.002854, allocations: 35.83 kB / 320.1 MB, free: 4.516 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.002955, allocations: 43.86 kB / 320.2 MB, free: 4.473 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.959e-05/0.003054, allocations: 19.95 kB / 320.2 MB, free: 4.453 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.315e-05/0.003097, allocations: 19.92 kB / 320.2 MB, free: 4.434 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.754e-05/0.003135, allocations: 19.92 kB / 320.2 MB, free: 4.414 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.425e-05/0.003159, allocations: 4 kB / 320.3 MB, free: 4.41 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.023e-05/0.003169, allocations: 4 kB / 320.3 MB, free: 4.406 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.063e-05/0.00322, allocations: 11.94 kB / 320.3 MB, free: 4.395 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.928e-05/0.003249, allocations: 15.97 kB / 320.3 MB, free: 4.379 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.895e-05/0.003348, allocations: 47.77 kB / 320.3 MB, free: 4.332 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.003351, allocations: 3.984 kB / 320.3 MB, free: 4.328 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.003352, allocations: 4 kB / 320.3 MB, free: 4.324 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.003356, allocations: 0 / 320.3 MB, free: 4.324 MB / 282.7 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.0003369/0.003693, allocations: 298 kB / 320.6 MB, free: 4 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.003727, allocations: 8.922 kB / 320.6 MB, free: 3.992 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.971e-05/0.003757, allocations: 46.75 kB / 320.7 MB, free: 3.938 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.011e-05/0.003777, allocations: 8.891 kB / 320.7 MB, free: 3.93 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.003935, allocations: 132.6 kB / 320.8 MB, free: 3.777 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.003954, allocations: 8.359 kB / 320.8 MB, free: 3.77 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-06/0.003963, allocations: 4.375 kB / 320.8 MB, free: 3.766 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002253/0.004188, allocations: 122.4 kB / 321 MB, free: 3.625 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.004195, allocations: 192 / 321 MB, free: 3.625 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.004202, allocations: 384 / 321 MB, free: 3.625 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.981e-05/0.004222, allocations: 12.12 kB / 321 MB, free: 3.613 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.165e-05/0.004274, allocations: 27.92 kB / 321 MB, free: 3.586 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002729/0.004547, allocations: 321 kB / 321.3 MB, free: 3.223 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.281e-05/0.004629, allocations: 79.78 kB / 321.4 MB, free: 3.117 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.337e-05/0.004663, allocations: 26.62 kB / 321.4 MB, free: 3.082 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/0.004673, allocations: 7.938 kB / 321.4 MB, free: 3.074 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.004693, allocations: 34.56 kB / 321.5 MB, free: 3.031 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.004694, allocations: 4 kB / 321.5 MB, free: 3.027 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001891/0.004883, allocations: 93.55 kB / 321.5 MB, free: 2.93 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.004934, allocations: 110.8 kB / 321.7 MB, free: 2.797 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.916e-05/0.005023, allocations: 137.8 kB / 321.8 MB, free: 2.652 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.005033, allocations: 25.7 kB / 321.8 MB, free: 2.621 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.112e-05/0.005085, allocations: 100 kB / 321.9 MB, free: 2.52 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.011e-05/0.005095, allocations: 4 kB / 321.9 MB, free: 2.516 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.66e-05/0.005121, allocations: 18.05 kB / 321.9 MB, free: 2.492 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.909e-05/0.0052, allocations: 318.8 kB / 322.2 MB, free: 2.172 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.559e-05/0.005226, allocations: 11.98 kB / 322.3 MB, free: 2.16 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.506e-05/0.005251, allocations: 25.7 kB / 322.3 MB, free: 2.129 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.801e-05/0.005299, allocations: 33.64 kB / 322.3 MB, free: 2.09 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.005301, allocations: 0 / 322.3 MB, free: 2.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.079e-05/0.005372, allocations: 53.62 kB / 322.4 MB, free: 2.031 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.005384, allocations: 12.12 kB / 322.4 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.005388, allocations: 0 / 322.4 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.0054, allocations: 0 / 322.4 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.561e-05/0.005416, allocations: 3.938 kB / 322.4 MB, free: 2.016 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.00542, allocations: 0 / 322.4 MB, free: 2.016 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.846e-05/0.005439, allocations: 7.984 kB / 322.4 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-06/0.005444, allocations: 0 / 322.4 MB, free: 2.008 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u[1],sample1.u[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 8.018e-05/0.005524, allocations: 117.8 kB / 322.5 MB, free: 1.883 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.256e-05/0.005577, allocations: 53.58 kB / 322.6 MB, free: 1.824 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.175e-05/0.005598, allocations: 12 kB / 322.6 MB, free: 1.809 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.005609, allocations: 7.984 kB / 322.6 MB, free: 1.801 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.005614, allocations: 0 / 322.6 MB, free: 1.801 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.005619, allocations: 4 kB / 322.6 MB, free: 1.797 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.005771, allocations: 144.7 kB / 322.7 MB, free: 1.613 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.005774, allocations: 3.938 kB / 322.7 MB, free: 1.609 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-06/0.00578, allocations: 3.984 kB / 322.7 MB, free: 1.605 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.005783, allocations: 8 kB / 322.7 MB, free: 1.598 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.005789, allocations: 0 / 322.7 MB, free: 1.598 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.005791, allocations: 3.938 kB / 322.7 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.005792, allocations: 0 / 322.7 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001461/0.005938, allocations: 263.6 kB / 323 MB, free: 1.316 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.288e-05/0.005971, allocations: 15.86 kB / 323 MB, free: 1.301 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.005982, allocations: 0 / 323 MB, free: 1.301 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.67e-05/0.006038, allocations: 4 kB / 323 MB, free: 1.297 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.397e-05/0.006072, allocations: 7.984 kB / 323 MB, free: 1.289 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.006075, allocations: 4 kB / 323 MB, free: 1.285 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.961e-05/0.006125, allocations: 110.5 kB / 323.1 MB, free: 1.18 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.006125, allocations: 3.938 kB / 323.1 MB, free: 1.176 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000171/0.006296, allocations: 7.953 kB / 323.1 MB, free: 1.168 MB / 282.7 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.0003145/0.00661, allocations: 0.7906 MB / 323.9 MB, free: 356 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001018/0.006712, allocations: 35.92 kB / 324 MB, free: 320 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.006714, allocations: 0 / 324 MB, free: 320 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.475e-05/0.006739, allocations: 11.98 kB / 324 MB, free: 308 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.007045, allocations: 34.77 kB / 324 MB, free: 276 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008574/0.007902, allocations: 1.397 MB / 325.4 MB, free: 14.77 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.017e-05/0.007973, allocations: 75.33 kB / 325.5 MB, free: 14.68 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.422e-05/0.007997, allocations: 7.984 kB / 325.5 MB, free: 14.67 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.345e-05/0.00803, allocations: 16.5 kB / 325.5 MB, free: 14.66 MB / 298.7 MB Notification: Performance of SimCode: time 6.61e-07/0.008031, allocations: 0 / 325.5 MB, free: 14.66 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01461/0.02264, allocations: 2.382 MB / 327.9 MB, free: 12.42 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.838/6.86, allocations: 14.5 kB / 327.9 MB, free: 12.41 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/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: 8.727026859298348]