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.001351/0.001351, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001385/0.001385, allocations: 208.3 kB / 23.73 MB, free: 4.523 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.43/1.43, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.001501/0.001501, allocations: 43.92 kB / 377.7 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2859, allocations: 53.36 MB / 431.1 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.004002/0.2899, allocations: 1.538 MB / 432.6 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004907/0.2903, allocations: 143.5 kB / 432.7 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.927e-05/0.2904, allocations: 3.938 kB / 432.8 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001327/0.2906, allocations: 7.875 kB / 432.8 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.2907, allocations: 15.92 kB / 432.8 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002636/0.2909, allocations: 35.91 kB / 432.8 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.2911, allocations: 43.84 kB / 432.9 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.2912, allocations: 15.78 kB / 432.9 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.203e-05/0.2912, allocations: 19.92 kB / 432.9 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.744e-05/0.2913, allocations: 19.86 kB / 432.9 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.2913, allocations: 4 kB / 432.9 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.542e-05/0.2913, allocations: 4 kB / 432.9 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.464e-05/0.2914, allocations: 11.94 kB / 432.9 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.463e-05/0.2914, allocations: 19.86 kB / 432.9 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.2916, allocations: 53.58 kB / 433 MB, free: 4.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2916, allocations: 4 kB / 433 MB, free: 4.727 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2916, allocations: 0 / 433 MB, free: 4.727 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.2916, allocations: 0 / 433 MB, free: 4.727 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.0005489/0.2921, allocations: 298.1 kB / 433.3 MB, free: 4.402 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.2922, allocations: 8.031 kB / 433.3 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.283e-05/0.2922, allocations: 38.73 kB / 433.3 MB, free: 4.348 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.589e-05/0.2923, allocations: 8.891 kB / 433.3 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003244/0.2926, allocations: 142.3 kB / 433.5 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/0.2926, allocations: 4.375 kB / 433.5 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.2926, allocations: 4.375 kB / 433.5 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003628/0.293, allocations: 118.5 kB / 433.6 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.293, allocations: 7.938 kB / 433.6 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.293, allocations: 3.938 kB / 433.6 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.42e-05/0.293, allocations: 0 / 433.6 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/0.2932, allocations: 31.91 kB / 433.7 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005379/0.2937, allocations: 329 kB / 434 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.2939, allocations: 83.78 kB / 434.1 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.432e-05/0.294, allocations: 30.62 kB / 434.1 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.107e-06/0.294, allocations: 0 / 434.1 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.294, allocations: 38.5 kB / 434.1 MB, free: 3.422 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.294, allocations: 0 / 434.1 MB, free: 3.422 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004149/0.2944, allocations: 93.55 kB / 434.2 MB, free: 3.324 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.046e-05/0.2945, allocations: 107.2 kB / 434.3 MB, free: 3.195 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.2947, allocations: 148.5 kB / 434.5 MB, free: 3.043 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.2947, allocations: 25.7 kB / 434.5 MB, free: 3.012 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.549e-05/0.2948, allocations: 88.08 kB / 434.6 MB, free: 2.922 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.2948, allocations: 15.88 kB / 434.6 MB, free: 2.906 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.157e-05/0.2949, allocations: 17.72 kB / 434.6 MB, free: 2.883 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.295, allocations: 322.8 kB / 434.9 MB, free: 2.559 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.039e-05/0.2951, allocations: 11.92 kB / 434.9 MB, free: 2.547 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.617e-05/0.2952, allocations: 39.42 kB / 435 MB, free: 2.496 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.2954, allocations: 51.36 kB / 435 MB, free: 2.434 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2954, allocations: 0 / 435 MB, free: 2.434 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002169/0.2956, allocations: 77.56 kB / 435.1 MB, free: 2.352 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.2956, allocations: 4 kB / 435.1 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.2956, allocations: 4 kB / 435.1 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.2956, allocations: 4.125 kB / 435.1 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.134e-05/0.2956, allocations: 4 kB / 435.1 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.2956, allocations: 0 / 435.1 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.355e-05/0.2957, allocations: 7.984 kB / 435.1 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.2957, allocations: 0 / 435.1 MB, free: 2.328 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.0001458/0.2959, allocations: 129.7 kB / 435.3 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.296, allocations: 49.64 kB / 435.3 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.034e-05/0.296, allocations: 15.92 kB / 435.3 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.506e-05/0.2961, allocations: 12.06 kB / 435.3 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.2961, allocations: 0 / 435.3 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2961, allocations: 4.031 kB / 435.3 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003449/0.2964, allocations: 140.7 kB / 435.5 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.854e-06/0.2964, allocations: 7.938 kB / 435.5 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.024e-05/0.2964, allocations: 3.984 kB / 435.5 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2964, allocations: 0 / 435.5 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.2964, allocations: 0 / 435.5 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-06/0.2964, allocations: 4 kB / 435.5 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.2964, allocations: 3.938 kB / 435.5 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003217/0.2968, allocations: 255.6 kB / 435.7 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.413e-05/0.2968, allocations: 15.94 kB / 435.8 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.2968, allocations: 4 kB / 435.8 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.297, allocations: 4 kB / 435.8 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.259e-05/0.2971, allocations: 7.984 kB / 435.8 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-06/0.2971, allocations: 0 / 435.8 MB, free: 1.602 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001045/0.2972, allocations: 107.3 kB / 435.9 MB, free: 1.496 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2972, allocations: 0 / 435.9 MB, free: 1.496 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004764/0.2976, allocations: 4 kB / 435.9 MB, free: 1.492 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.0007186/0.2984, allocations: 0.7984 MB / 436.7 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000193/0.2986, allocations: 43.91 kB / 436.7 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.2986, allocations: 3.938 kB / 436.7 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.712e-05/0.2986, allocations: 8 kB / 436.7 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006349/0.2992, allocations: 32.8 kB / 436.8 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/0.3012, allocations: 1.461 MB / 438.2 MB, free: 15.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001171/0.3013, allocations: 79.33 kB / 438.3 MB, free: 14.93 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.745e-05/0.3014, allocations: 7.984 kB / 438.3 MB, free: 14.92 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.144e-05/0.3014, allocations: 15.44 kB / 438.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3014, allocations: 0 / 438.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02912/0.3305, allocations: 2.279 MB / 440.6 MB, free: 12.76 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/10.99, allocations: 10.75 kB / 440.6 MB, free: 12.75 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.46960517700063]