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.001378/0.001378, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.001491/0.001491, allocations: 216.6 kB / 23.74 MB, free: 4.656 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.428/1.428, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.001566/0.001566, allocations: 47.92 kB / 377.8 MB, free: 3.238 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3084, allocations: 53.36 MB / 431.1 MB, free: 6.891 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003294/0.3117, allocations: 1.552 MB / 432.7 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000471/0.3121, allocations: 143.5 kB / 432.8 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.806e-05/0.3122, allocations: 7.938 kB / 432.8 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00011/0.3124, allocations: 3.938 kB / 432.8 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.3125, allocations: 7.922 kB / 432.8 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002381/0.3127, allocations: 35.91 kB / 432.9 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001362/0.3128, allocations: 47.78 kB / 432.9 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.313, allocations: 11.98 kB / 432.9 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.307e-05/0.313, allocations: 19.92 kB / 433 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.862e-05/0.313, allocations: 15.92 kB / 433 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.3131, allocations: 8 kB / 433 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.135e-05/0.3131, allocations: 0 / 433 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.341e-05/0.3132, allocations: 15.94 kB / 433 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.877e-05/0.3132, allocations: 27.8 kB / 433 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.3133, allocations: 51.55 kB / 433.1 MB, free: 4.949 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/0.3133, allocations: 4 kB / 433.1 MB, free: 4.945 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3133, allocations: 0 / 433.1 MB, free: 4.945 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.3134, allocations: 0 / 433.1 MB, free: 4.945 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.0005418/0.3139, allocations: 294.6 kB / 433.4 MB, free: 4.629 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.3139, allocations: 12.02 kB / 433.4 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.19e-05/0.314, allocations: 46.69 kB / 433.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.126e-05/0.314, allocations: 8.891 kB / 433.4 MB, free: 4.555 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.3143, allocations: 142.3 kB / 433.6 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.3143, allocations: 384 / 433.6 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.3143, allocations: 4.375 kB / 433.6 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002956/0.3146, allocations: 122.5 kB / 433.7 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.3146, allocations: 3.938 kB / 433.7 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.3146, allocations: 0 / 433.7 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.602e-05/0.3147, allocations: 7.984 kB / 433.7 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.762e-05/0.3147, allocations: 31.86 kB / 433.7 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004393/0.3152, allocations: 333 kB / 434.1 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.3153, allocations: 75.77 kB / 434.1 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.177e-05/0.3154, allocations: 30.64 kB / 434.2 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.3154, allocations: 4 kB / 434.2 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.3154, allocations: 38.48 kB / 434.2 MB, free: 3.637 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.3154, allocations: 0 / 434.2 MB, free: 3.637 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002972/0.3157, allocations: 93.56 kB / 434.3 MB, free: 3.539 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.309e-05/0.3158, allocations: 115.2 kB / 434.4 MB, free: 3.402 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.3159, allocations: 140.9 kB / 434.5 MB, free: 3.258 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.316, allocations: 25.7 kB / 434.6 MB, free: 3.227 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.878e-05/0.316, allocations: 84.14 kB / 434.7 MB, free: 3.141 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.413e-05/0.316, allocations: 11.89 kB / 434.7 MB, free: 3.129 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-05/0.3161, allocations: 21.7 kB / 434.7 MB, free: 3.102 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.3162, allocations: 318.8 kB / 435 MB, free: 2.781 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.559e-05/0.3163, allocations: 15.92 kB / 435 MB, free: 2.766 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.745e-05/0.3163, allocations: 39.42 kB / 435.1 MB, free: 2.715 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.3164, allocations: 55.36 kB / 435.1 MB, free: 2.648 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3164, allocations: 4 kB / 435.1 MB, free: 2.645 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001376/0.3166, allocations: 73.56 kB / 435.2 MB, free: 2.566 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.3166, allocations: 4 kB / 435.2 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.3166, allocations: 4 kB / 435.2 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.3166, allocations: 0 / 435.2 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.148e-05/0.3166, allocations: 4 kB / 435.2 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.3166, allocations: 4 kB / 435.2 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.279e-05/0.3167, allocations: 0 / 435.2 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.3167, allocations: 8.125 kB / 435.2 MB, free: 2.543 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.000134/0.3168, allocations: 129.7 kB / 435.3 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.139e-05/0.3169, allocations: 49.64 kB / 435.4 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.202e-05/0.3169, allocations: 15.86 kB / 435.4 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/0.3169, allocations: 4 kB / 435.4 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.3169, allocations: 3.984 kB / 435.4 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.3169, allocations: 4 kB / 435.4 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002301/0.3172, allocations: 144.7 kB / 435.6 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.3172, allocations: 4.031 kB / 435.6 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.501e-06/0.3172, allocations: 96 / 435.6 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.3172, allocations: 7.922 kB / 435.6 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.3172, allocations: 4 kB / 435.6 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3172, allocations: 0 / 435.6 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3172, allocations: 3.938 kB / 435.6 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002455/0.3174, allocations: 259.6 kB / 435.8 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.893e-05/0.3175, allocations: 19.94 kB / 435.8 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.3175, allocations: 0 / 435.8 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.694e-05/0.3176, allocations: 3.984 kB / 435.8 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.3176, allocations: 4 kB / 435.9 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.3176, allocations: 0 / 435.9 MB, free: 1.816 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.412e-05/0.3177, allocations: 107.2 kB / 436 MB, free: 1.711 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3177, allocations: 0 / 436 MB, free: 1.711 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002567/0.318, allocations: 8 kB / 436 MB, free: 1.703 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.0006227/0.3186, allocations: 0.7906 MB / 436.8 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000201/0.3188, allocations: 47.91 kB / 436.8 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3188, allocations: 0 / 436.8 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.467e-05/0.3189, allocations: 15.98 kB / 436.8 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004414/0.3193, allocations: 23.95 kB / 436.8 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00188/0.3212, allocations: 1.451 MB / 438.3 MB, free: 15.24 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004301/0.3216, allocations: 0.6963 MB / 439 MB, free: 14.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.883e-05/0.3217, allocations: 7.984 kB / 439 MB, free: 14.51 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.61e-05/0.3217, allocations: 15.44 kB / 439 MB, free: 14.5 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3217, allocations: 0 / 439 MB, free: 14.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03413/0.3558, allocations: 1.826 MB / 440.8 MB, free: 12.81 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.13, allocations: 14.91 kB / 440.9 MB, free: 12.8 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.593082296996727]