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.001346/0.001346, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.001445/0.001445, allocations: 184.2 kB / 23.72 MB, free: 4.699 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.422/1.422, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.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.001486/0.001486, allocations: 43.94 kB / 370.4 MB, free: 9.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.256, allocations: 52.19 MB / 422.6 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002839/0.2588, allocations: 1.528 MB / 424.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004082/0.2592, allocations: 151.5 kB / 424.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.232e-05/0.2593, allocations: 0 / 424.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.583e-05/0.2594, allocations: 7.875 kB / 424.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.121e-05/0.2595, allocations: 15.92 kB / 424.3 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002259/0.2597, allocations: 35.91 kB / 424.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001082/0.2598, allocations: 43.84 kB / 424.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.2599, allocations: 8 kB / 424.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.837e-05/0.26, allocations: 23.86 kB / 424.4 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.665e-05/0.26, allocations: 15.92 kB / 424.5 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.26, allocations: 4 kB / 424.5 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.021e-05/0.26, allocations: 0 / 424.5 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.885e-05/0.2601, allocations: 19.92 kB / 424.5 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.547e-05/0.2601, allocations: 27.8 kB / 424.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.2603, allocations: 59.55 kB / 424.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2603, allocations: 0 / 424.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2603, allocations: 0 / 424.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.2603, allocations: 0 / 424.6 MB, free: 12.64 MB / 334.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.0004359/0.2607, allocations: 302.6 kB / 424.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.2607, allocations: 12.03 kB / 424.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.443e-05/0.2608, allocations: 34.75 kB / 424.9 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.834e-05/0.2608, allocations: 8.891 kB / 424.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002475/0.2611, allocations: 141.6 kB / 425.1 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.2611, allocations: 4.375 kB / 425.1 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.2611, allocations: 4.375 kB / 425.1 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002746/0.2614, allocations: 118.4 kB / 425.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.2614, allocations: 3.938 kB / 425.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.2614, allocations: 4 kB / 425.2 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.76e-05/0.2614, allocations: 11.98 kB / 425.2 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.014e-05/0.2615, allocations: 27.92 kB / 425.2 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004045/0.2619, allocations: 324.9 kB / 425.5 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.262, allocations: 83.77 kB / 425.6 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.301e-05/0.2621, allocations: 30.64 kB / 425.7 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.2621, allocations: 0 / 425.7 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.2621, allocations: 42.48 kB / 425.7 MB, free: 11.34 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.2621, allocations: 0 / 425.7 MB, free: 11.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003033/0.2625, allocations: 89.56 kB / 425.8 MB, free: 11.24 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.124e-05/0.2625, allocations: 106.8 kB / 425.9 MB, free: 11.11 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.2627, allocations: 145.8 kB / 426 MB, free: 10.96 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.2627, allocations: 25.7 kB / 426.1 MB, free: 10.93 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.35e-05/0.2627, allocations: 92.47 kB / 426.1 MB, free: 10.84 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.291e-05/0.2627, allocations: 7.938 kB / 426.2 MB, free: 10.83 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.096e-05/0.2628, allocations: 25.66 kB / 426.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.2629, allocations: 322.8 kB / 426.5 MB, free: 10.47 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.583e-05/0.263, allocations: 7.984 kB / 426.5 MB, free: 10.46 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.218e-05/0.263, allocations: 43.36 kB / 426.5 MB, free: 10.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.2631, allocations: 47.42 kB / 426.6 MB, free: 10.35 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2631, allocations: 0 / 426.6 MB, free: 10.35 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001434/0.2633, allocations: 77.55 kB / 426.7 MB, free: 10.27 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.2633, allocations: 12.12 kB / 426.7 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.2633, allocations: 0 / 426.7 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.2633, allocations: 0 / 426.7 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.095e-05/0.2633, allocations: 4 kB / 426.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.2633, allocations: 0 / 426.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.744e-05/0.2634, allocations: 4 kB / 426.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.2634, allocations: 3.984 kB / 426.7 MB, free: 10.25 MB / 334.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.0001166/0.2635, allocations: 125.7 kB / 426.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.255e-05/0.2636, allocations: 57.64 kB / 426.9 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.676e-05/0.2636, allocations: 8.062 kB / 426.9 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/0.2636, allocations: 11.97 kB / 426.9 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.2636, allocations: 0 / 426.9 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.2636, allocations: 4 kB / 426.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002313/0.2639, allocations: 152.6 kB / 427 MB, free: 9.832 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.2639, allocations: 0 / 427 MB, free: 9.832 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.121e-06/0.2639, allocations: 0 / 427 MB, free: 9.832 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.2639, allocations: 4 kB / 427 MB, free: 9.828 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-06/0.2639, allocations: 3.938 kB / 427 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.2639, allocations: 32 / 427 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2639, allocations: 4 kB / 427.1 MB, free: 9.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/0.2642, allocations: 259.5 kB / 427.3 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.571e-05/0.2642, allocations: 11.95 kB / 427.3 MB, free: 9.535 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.2642, allocations: 0 / 427.3 MB, free: 9.535 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.982e-05/0.2643, allocations: 15.98 kB / 427.3 MB, free: 9.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.637e-05/0.2643, allocations: 0 / 427.3 MB, free: 9.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.2643, allocations: 0 / 427.3 MB, free: 9.52 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.582e-05/0.2644, allocations: 112.7 kB / 427.4 MB, free: 9.41 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2644, allocations: 0 / 427.4 MB, free: 9.41 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002669/0.2647, allocations: 7.953 kB / 427.4 MB, free: 9.402 MB / 334.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.0005627/0.2653, allocations: 0.7867 MB / 428.2 MB, free: 8.586 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001609/0.2654, allocations: 43.91 kB / 428.3 MB, free: 8.543 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2654, allocations: 0 / 428.3 MB, free: 8.543 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.925e-05/0.2655, allocations: 16.23 kB / 428.3 MB, free: 8.527 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/0.2659, allocations: 27.97 kB / 428.3 MB, free: 8.5 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.2673, allocations: 1.443 MB / 429.8 MB, free: 6.949 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000335/0.2677, allocations: 0.6961 MB / 430.5 MB, free: 6.227 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.406e-05/0.2677, allocations: 7.984 kB / 430.5 MB, free: 6.219 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.348e-05/0.2677, allocations: 15.44 kB / 430.5 MB, free: 6.203 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2677, allocations: 0 / 430.5 MB, free: 6.203 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02812/0.2959, allocations: 1.835 MB / 432.3 MB, free: 4.508 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.32, allocations: 7.344 kB / 432.3 MB, free: 4.504 MB / 334.1 MB " [Timeout remaining time 649] (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: 13.830465678998735]