Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001751/0.001751, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002041/0.002041, allocations: 214.9 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 230.5 MB / 257.4 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00252/0.00252, allocations: 59.91 kB / 377.8 MB, free: 2.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2839, allocations: 53.41 MB / 431.2 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003129/0.287, allocations: 1.54 MB / 432.7 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004678/0.2875, allocations: 147.5 kB / 432.9 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.394e-05/0.2876, allocations: 0 / 432.9 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000116/0.2877, allocations: 11.88 kB / 432.9 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.2878, allocations: 11.92 kB / 432.9 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002684/0.2881, allocations: 31.91 kB / 432.9 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.2882, allocations: 43.84 kB / 433 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.2883, allocations: 15.98 kB / 433 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.981e-05/0.2884, allocations: 15.92 kB / 433 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.432e-05/0.2884, allocations: 15.92 kB / 433 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.43e-05/0.2884, allocations: 7.938 kB / 433 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.226e-05/0.2885, allocations: 4 kB / 433 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.376e-05/0.2885, allocations: 11.94 kB / 433 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.702e-05/0.2886, allocations: 31.8 kB / 433.1 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.2887, allocations: 55.55 kB / 433.1 MB, free: 4.711 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.2887, allocations: 0 / 433.1 MB, free: 4.711 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.2887, allocations: 0 / 433.1 MB, free: 4.711 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.2887, allocations: 0 / 433.1 MB, free: 4.711 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.0005226/0.2893, allocations: 294.6 kB / 433.4 MB, free: 4.395 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.2893, allocations: 12.03 kB / 433.4 MB, free: 4.383 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.605e-05/0.2893, allocations: 46.66 kB / 433.5 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.844e-05/0.2894, allocations: 8.891 kB / 433.5 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/0.2896, allocations: 146.3 kB / 433.6 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.2897, allocations: 384 / 433.6 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.2897, allocations: 4.375 kB / 433.6 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000289/0.29, allocations: 122.5 kB / 433.7 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.29, allocations: 3.938 kB / 433.7 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-06/0.29, allocations: 7.938 kB / 433.8 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.436e-05/0.29, allocations: 4 kB / 433.8 MB, free: 3.992 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.023e-05/0.2901, allocations: 27.97 kB / 433.8 MB, free: 3.965 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004387/0.2905, allocations: 332.9 kB / 434.1 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.2907, allocations: 75.72 kB / 434.2 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.556e-05/0.2908, allocations: 34.69 kB / 434.2 MB, free: 3.445 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.2908, allocations: 0 / 434.2 MB, free: 3.445 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.2908, allocations: 38.56 kB / 434.3 MB, free: 3.398 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.71e-07/0.2908, allocations: 0 / 434.3 MB, free: 3.398 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003105/0.2911, allocations: 101.5 kB / 434.4 MB, free: 3.293 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.352e-05/0.2912, allocations: 106.8 kB / 434.5 MB, free: 3.164 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.2913, allocations: 137.8 kB / 434.6 MB, free: 3.02 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.2914, allocations: 26.08 kB / 434.6 MB, free: 2.988 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.61e-05/0.2914, allocations: 92.14 kB / 434.7 MB, free: 2.895 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.369e-05/0.2914, allocations: 7.891 kB / 434.7 MB, free: 2.887 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.882e-05/0.2915, allocations: 21.7 kB / 434.7 MB, free: 2.859 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.2916, allocations: 322.8 kB / 435.1 MB, free: 2.535 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.338e-05/0.2917, allocations: 11.98 kB / 435.1 MB, free: 2.523 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.85e-05/0.2917, allocations: 39.36 kB / 435.1 MB, free: 2.473 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/0.2918, allocations: 51.42 kB / 435.2 MB, free: 2.41 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2918, allocations: 0 / 435.2 MB, free: 2.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001489/0.292, allocations: 81.56 kB / 435.2 MB, free: 2.324 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.292, allocations: 10.5 kB / 435.2 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.292, allocations: 0 / 435.2 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.292, allocations: 0 / 435.2 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.252e-05/0.2921, allocations: 4 kB / 435.2 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.2921, allocations: 0 / 435.2 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.599e-05/0.2921, allocations: 4 kB / 435.3 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.2921, allocations: 0 / 435.3 MB, free: 2.309 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.0001295/0.2922, allocations: 125.8 kB / 435.4 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.621e-05/0.2923, allocations: 61.64 kB / 435.4 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.345e-05/0.2924, allocations: 15.86 kB / 435.5 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/0.2924, allocations: 0 / 435.5 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.2924, allocations: 4 kB / 435.5 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.2924, allocations: 3.984 kB / 435.5 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002435/0.2926, allocations: 144.7 kB / 435.6 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.2926, allocations: 3.938 kB / 435.6 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.941e-06/0.2926, allocations: 0 / 435.6 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2926, allocations: 4 kB / 435.6 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.2926, allocations: 0 / 435.6 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2926, allocations: 4.031 kB / 435.6 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.2927, allocations: 4 kB / 435.6 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002651/0.2929, allocations: 259.6 kB / 435.9 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.116e-05/0.293, allocations: 19.94 kB / 435.9 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/0.293, allocations: 4 kB / 435.9 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.809e-05/0.2931, allocations: 8 kB / 435.9 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.591e-05/0.2931, allocations: 3.984 kB / 435.9 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.2931, allocations: 4 kB / 435.9 MB, free: 1.57 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.109e-05/0.2932, allocations: 103.3 kB / 436 MB, free: 1.469 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2932, allocations: 0 / 436 MB, free: 1.469 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002525/0.2935, allocations: 4 kB / 436 MB, free: 1.465 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.0006151/0.2941, allocations: 0.7984 MB / 436.8 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001794/0.2942, allocations: 39.91 kB / 436.9 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2943, allocations: 256 / 436.9 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.508e-05/0.2943, allocations: 16 kB / 436.9 MB, free: 0.582 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000468/0.2948, allocations: 24.02 kB / 436.9 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/0.2963, allocations: 1.458 MB / 438.3 MB, free: 15 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.2966, allocations: 0.6885 MB / 439 MB, free: 14.28 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.642e-05/0.2967, allocations: 7.984 kB / 439 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.762e-05/0.2967, allocations: 15.44 kB / 439.1 MB, free: 14.26 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2967, allocations: 4 kB / 439.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02909/0.3258, allocations: 1.822 MB / 440.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/10.94, allocations: 11.98 kB / 440.9 MB, free: 12.54 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.csv. Warning: Get data of variable sample1.y[1] from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.csv failed! Error: Could not read variable sample1.y[2] in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.csv. Warning: Get data of variable sample1.y[2] from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.49458501999834]