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.001312/0.001312, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.001376/0.001376, allocations: 194.3 kB / 23.71 MB, free: 4.406 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.472/1.472, allocations: 225.7 MB / 252.5 MB, free: 12.79 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.001594/0.001594, allocations: 47.92 kB / 370.4 MB, free: 9.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2891, allocations: 52.18 MB / 422.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003061/0.2922, allocations: 1.536 MB / 424.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003817/0.2926, allocations: 135.6 kB / 424.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.568e-05/0.2926, allocations: 7.938 kB / 424.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.517e-05/0.2927, allocations: 7.922 kB / 424.3 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.102e-05/0.2928, allocations: 3.938 kB / 424.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002058/0.293, allocations: 39.89 kB / 424.3 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.2931, allocations: 43.8 kB / 424.3 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.2932, allocations: 19.77 kB / 424.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.166e-05/0.2933, allocations: 15.94 kB / 424.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.577e-05/0.2933, allocations: 15.92 kB / 424.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.2933, allocations: 4 kB / 424.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.129e-05/0.2933, allocations: 4 kB / 424.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.715e-05/0.2934, allocations: 19.92 kB / 424.4 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.381e-05/0.2934, allocations: 15.88 kB / 424.4 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001091/0.2935, allocations: 53.56 kB / 424.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2935, allocations: 4 kB / 424.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2935, allocations: 0 / 424.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.2935, allocations: 0 / 424.5 MB, free: 12.46 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.0004101/0.294, allocations: 302 kB / 424.8 MB, free: 12.13 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.294, allocations: 12.03 kB / 424.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.588e-05/0.294, allocations: 38.75 kB / 424.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.585e-05/0.2941, allocations: 8.891 kB / 424.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.2943, allocations: 150.2 kB / 425 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.2943, allocations: 384 / 425 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.2943, allocations: 4.375 kB / 425 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002864/0.2946, allocations: 114.5 kB / 425.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.2946, allocations: 3.938 kB / 425.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.2946, allocations: 4 kB / 425.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.03e-05/0.2946, allocations: 8 kB / 425.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.095e-05/0.2947, allocations: 27.92 kB / 425.1 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003967/0.2951, allocations: 325 kB / 425.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.2952, allocations: 75.78 kB / 425.5 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.375e-05/0.2953, allocations: 34.62 kB / 425.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.308e-06/0.2953, allocations: 0 / 425.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.2954, allocations: 38.5 kB / 425.6 MB, free: 11.15 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.2954, allocations: 4 kB / 425.6 MB, free: 11.15 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002765/0.2956, allocations: 93.55 kB / 425.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.256e-05/0.2957, allocations: 102.8 kB / 425.8 MB, free: 10.93 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.2958, allocations: 142.7 kB / 425.9 MB, free: 10.78 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.2959, allocations: 29.69 kB / 426 MB, free: 10.74 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.021e-05/0.2959, allocations: 92.12 kB / 426.1 MB, free: 10.65 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.107e-05/0.2959, allocations: 3.938 kB / 426.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.944e-05/0.296, allocations: 26.05 kB / 426.1 MB, free: 10.61 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.2961, allocations: 322.8 kB / 426.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.703e-05/0.2962, allocations: 15.94 kB / 426.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.948e-05/0.2962, allocations: 35.42 kB / 426.5 MB, free: 10.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.922e-05/0.2963, allocations: 55.34 kB / 426.5 MB, free: 10.16 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2963, allocations: 0 / 426.5 MB, free: 10.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001382/0.2965, allocations: 73.62 kB / 426.6 MB, free: 10.08 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.2965, allocations: 10.8 kB / 426.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.2965, allocations: 4 kB / 426.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.2965, allocations: 0 / 426.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.97e-05/0.2965, allocations: 4 kB / 426.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.2965, allocations: 0 / 426.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.632e-05/0.2966, allocations: 7.938 kB / 426.6 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.2966, allocations: 0 / 426.6 MB, free: 10.06 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.0001201/0.2967, allocations: 137.8 kB / 426.7 MB, free: 9.914 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.862e-05/0.2968, allocations: 53.64 kB / 426.8 MB, free: 9.855 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.762e-05/0.2968, allocations: 11.97 kB / 426.8 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.2968, allocations: 96 / 426.8 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.2968, allocations: 7.984 kB / 426.8 MB, free: 9.832 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.2968, allocations: 0 / 426.8 MB, free: 9.832 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.2971, allocations: 148.6 kB / 427 MB, free: 9.645 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.2971, allocations: 0 / 427 MB, free: 9.645 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.841e-06/0.2971, allocations: 0 / 427 MB, free: 9.645 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.2971, allocations: 4 kB / 427 MB, free: 9.641 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.2971, allocations: 0 / 427 MB, free: 9.641 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2971, allocations: 4.031 kB / 427 MB, free: 9.637 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.2971, allocations: 3.938 kB / 427 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/0.2973, allocations: 263.5 kB / 427.2 MB, free: 9.355 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.282e-05/0.2973, allocations: 4 kB / 427.2 MB, free: 9.352 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.2974, allocations: 4 kB / 427.2 MB, free: 9.348 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.919e-05/0.2975, allocations: 3.984 kB / 427.2 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/0.2975, allocations: 8 kB / 427.3 MB, free: 9.336 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.2975, allocations: 0 / 427.3 MB, free: 9.336 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.143e-05/0.2976, allocations: 107.2 kB / 427.4 MB, free: 9.23 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2976, allocations: 4 kB / 427.4 MB, free: 9.227 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002584/0.2978, allocations: 11.95 kB / 427.4 MB, free: 9.215 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.0005588/0.2984, allocations: 0.7906 MB / 428.2 MB, free: 8.395 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001428/0.2985, allocations: 31.92 kB / 428.2 MB, free: 8.363 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.2985, allocations: 4 kB / 428.2 MB, free: 8.359 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.752e-05/0.2986, allocations: 16.3 kB / 428.2 MB, free: 8.344 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004018/0.299, allocations: 31.94 kB / 428.2 MB, free: 8.312 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001415/0.3004, allocations: 1.439 MB / 429.7 MB, free: 6.766 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.032e-05/0.3005, allocations: 75.19 kB / 429.8 MB, free: 6.672 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.846e-05/0.3005, allocations: 11.98 kB / 429.8 MB, free: 6.66 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.186e-05/0.3006, allocations: 19.59 kB / 429.8 MB, free: 6.641 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3006, allocations: 0 / 429.8 MB, free: 6.641 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02771/0.3283, allocations: 2.276 MB / 432.1 MB, free: 4.516 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.15, allocations: 14.16 kB / 432.1 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.727719067130238]