Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 206.9 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.449/1.449, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 47.92 kB / 377.7 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3101, allocations: 53.37 MB / 431.1 MB, free: 6.762 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003334/0.3134, allocations: 1.538 MB / 432.6 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004854/0.3139, allocations: 139.5 kB / 432.8 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.314, allocations: 7.938 kB / 432.8 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001031/0.3141, allocations: 3.938 kB / 432.8 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001229/0.3143, allocations: 7.938 kB / 432.8 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002397/0.3145, allocations: 47.77 kB / 432.8 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.3146, allocations: 39.92 kB / 432.9 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.3148, allocations: 15.78 kB / 432.9 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.02e-05/0.3148, allocations: 19.92 kB / 432.9 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.206e-05/0.3148, allocations: 15.86 kB / 432.9 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.3149, allocations: 0 / 432.9 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.695e-05/0.3149, allocations: 4 kB / 432.9 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.315, allocations: 19.92 kB / 432.9 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.733e-05/0.315, allocations: 15.88 kB / 432.9 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.3152, allocations: 53.91 kB / 433 MB, free: 4.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3152, allocations: 4 kB / 433 MB, free: 4.836 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3152, allocations: 3.938 kB / 433 MB, free: 4.832 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.3152, allocations: 4 kB / 433 MB, free: 4.828 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.0005366/0.3157, allocations: 298 kB / 433.3 MB, free: 4.504 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.3158, allocations: 12.03 kB / 433.3 MB, free: 4.492 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.283e-05/0.3158, allocations: 30.75 kB / 433.3 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.669e-05/0.3158, allocations: 8.891 kB / 433.4 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/0.3161, allocations: 138.4 kB / 433.5 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.019e-05/0.3161, allocations: 4.359 kB / 433.5 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.3162, allocations: 8.375 kB / 433.5 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003411/0.3165, allocations: 118.5 kB / 433.6 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.3165, allocations: 3.938 kB / 433.6 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.3165, allocations: 0 / 433.6 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.158e-05/0.3166, allocations: 4 kB / 433.6 MB, free: 4.129 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.347e-05/0.3166, allocations: 27.92 kB / 433.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005029/0.3171, allocations: 333 kB / 434 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.3173, allocations: 71.78 kB / 434 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.299e-05/0.3174, allocations: 42.56 kB / 434.1 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.3174, allocations: 0 / 434.1 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.3174, allocations: 38.56 kB / 434.1 MB, free: 3.531 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.3174, allocations: 0 / 434.1 MB, free: 3.531 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003594/0.3178, allocations: 97.48 kB / 434.2 MB, free: 3.43 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.3179, allocations: 106.8 kB / 434.3 MB, free: 3.301 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.318, allocations: 144.8 kB / 434.5 MB, free: 3.152 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.3181, allocations: 29.7 kB / 434.5 MB, free: 3.117 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.646e-05/0.3181, allocations: 88.14 kB / 434.6 MB, free: 3.027 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/0.3182, allocations: 11.94 kB / 434.6 MB, free: 3.016 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.027e-05/0.3182, allocations: 21.7 kB / 434.6 MB, free: 2.988 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.3184, allocations: 318.8 kB / 434.9 MB, free: 2.668 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.087e-05/0.3184, allocations: 15.98 kB / 434.9 MB, free: 2.652 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.087e-05/0.3185, allocations: 35.41 kB / 435 MB, free: 2.605 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.3186, allocations: 59.36 kB / 435 MB, free: 2.535 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3186, allocations: 0 / 435 MB, free: 2.535 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001586/0.3188, allocations: 73.56 kB / 435.1 MB, free: 2.457 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.3188, allocations: 4 kB / 435.1 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.3188, allocations: 4 kB / 435.1 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.3188, allocations: 0 / 435.1 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.648e-05/0.3189, allocations: 7.938 kB / 435.1 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.3189, allocations: 4.125 kB / 435.1 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.848e-05/0.3189, allocations: 7.938 kB / 435.1 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.3189, allocations: 0 / 435.1 MB, free: 2.43 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.0001375/0.3191, allocations: 125.8 kB / 435.3 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.224e-05/0.3192, allocations: 53.64 kB / 435.3 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.572e-05/0.3192, allocations: 11.92 kB / 435.3 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.3192, allocations: 0 / 435.3 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/0.3192, allocations: 8 kB / 435.3 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3192, allocations: 0 / 435.3 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002803/0.3195, allocations: 144.7 kB / 435.5 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.3195, allocations: 4.031 kB / 435.5 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.37e-06/0.3195, allocations: 3.938 kB / 435.5 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.3195, allocations: 4 kB / 435.5 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.3195, allocations: 0 / 435.5 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3195, allocations: 0 / 435.5 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3195, allocations: 0 / 435.5 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000282/0.3198, allocations: 263.5 kB / 435.7 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.945e-05/0.3199, allocations: 15.94 kB / 435.8 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/0.3199, allocations: 4 kB / 435.8 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.842e-05/0.32, allocations: 4 kB / 435.8 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.783e-05/0.32, allocations: 7.938 kB / 435.8 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.32, allocations: 3.938 kB / 435.8 MB, free: 1.707 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001063/0.3201, allocations: 110.4 kB / 435.9 MB, free: 1.602 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3201, allocations: 0 / 435.9 MB, free: 1.602 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002828/0.3204, allocations: 8 kB / 435.9 MB, free: 1.594 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.0007156/0.3211, allocations: 0.7979 MB / 436.7 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00017/0.3213, allocations: 35.92 kB / 436.7 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.3213, allocations: 4 kB / 436.7 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.812e-05/0.3213, allocations: 15.92 kB / 436.7 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000481/0.3218, allocations: 26.59 kB / 436.8 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.3236, allocations: 1.458 MB / 438.2 MB, free: 15.13 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/0.3237, allocations: 75.31 kB / 438.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.348e-05/0.3238, allocations: 8 kB / 438.3 MB, free: 15.03 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.429e-05/0.3238, allocations: 15.42 kB / 438.3 MB, free: 15.01 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.3238, allocations: 0 / 438.3 MB, free: 15.01 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03392/0.3577, allocations: 2.254 MB / 440.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.24, allocations: 10.81 kB / 440.6 MB, free: 12.88 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.csv. Warning: Get data of variable sample1.y[1] from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.csv failed! Error: Could not read variable sample1.y[2] in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.csv. Warning: Get data of variable sample1.y[2] from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.771369514986873]