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.001377/0.001377, allocations: 132.4 kB / 17.79 MB, free: 5.242 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.001455/0.001455, allocations: 210.5 kB / 20.75 MB, free: 2.293 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.41/1.41, allocations: 230.4 MB / 254 MB, free: 15.02 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.001963/0.001963, allocations: 67.91 kB / 373 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1021, allocations: 53.38 MB / 426.4 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003158/0.1053, allocations: 1.529 MB / 427.9 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004093/0.1057, allocations: 155.5 kB / 428 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.874e-05/0.1058, allocations: 0 / 428 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.453e-05/0.1059, allocations: 3.938 kB / 428 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.45e-05/0.106, allocations: 15.86 kB / 428.1 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002337/0.1062, allocations: 39.91 kB / 428.1 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000107/0.1063, allocations: 31.91 kB / 428.1 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.1064, allocations: 16 kB / 428.1 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.764e-05/0.1065, allocations: 15.92 kB / 428.2 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.747e-05/0.1065, allocations: 23.86 kB / 428.2 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.1065, allocations: 0 / 428.2 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.38e-05/0.1065, allocations: 4 kB / 428.2 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.549e-05/0.1066, allocations: 19.91 kB / 428.2 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.446e-05/0.1066, allocations: 27.81 kB / 428.2 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001372/0.1068, allocations: 51.69 kB / 428.3 MB, free: 2.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1068, allocations: 0 / 428.3 MB, free: 2.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1068, allocations: 0 / 428.3 MB, free: 2.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.1068, allocations: 4 kB / 428.3 MB, free: 2.676 MB / 350.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.0005055/0.1073, allocations: 383.1 kB / 428.7 MB, free: 2.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.1073, allocations: 8.031 kB / 428.7 MB, free: 2.242 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.987e-05/0.1074, allocations: 30.75 kB / 428.7 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.527e-05/0.1074, allocations: 8.891 kB / 428.7 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002462/0.1077, allocations: 197.6 kB / 428.9 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.1077, allocations: 4.375 kB / 428.9 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.1077, allocations: 4.312 kB / 428.9 MB, free: 1.957 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002862/0.108, allocations: 122.5 kB / 429 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.108, allocations: 3.938 kB / 429 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.108, allocations: 3.984 kB / 429 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.385e-05/0.108, allocations: 4 kB / 429 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.6e-05/0.1081, allocations: 31.97 kB / 429.1 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004323/0.1085, allocations: 361.8 kB / 429.4 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.1087, allocations: 83.77 kB / 429.5 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.104e-05/0.1087, allocations: 30.62 kB / 429.5 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/0.1088, allocations: 0 / 429.5 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.1088, allocations: 34.56 kB / 429.6 MB, free: 1.172 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.1088, allocations: 0 / 429.6 MB, free: 1.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003031/0.1091, allocations: 105.5 kB / 429.7 MB, free: 1.062 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.023e-05/0.1092, allocations: 102.8 kB / 429.8 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.1093, allocations: 144.2 kB / 429.9 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.1093, allocations: 25.7 kB / 429.9 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.661e-05/0.1094, allocations: 92.08 kB / 430 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.331e-05/0.1094, allocations: 7.891 kB / 430 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.359e-05/0.1094, allocations: 26.08 kB / 430.1 MB, free: 0.625 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1096, allocations: 322.8 kB / 430.4 MB, free: 308 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.634e-05/0.1096, allocations: 11.98 kB / 430.4 MB, free: 296 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.64e-05/0.1097, allocations: 35.42 kB / 430.4 MB, free: 248 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.1098, allocations: 55.36 kB / 430.5 MB, free: 180 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1098, allocations: 0 / 430.5 MB, free: 180 kB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001505/0.1099, allocations: 73.5 kB / 430.5 MB, free: 100 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.1099, allocations: 8 kB / 430.6 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1099, allocations: 0 / 430.6 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.1099, allocations: 128 / 430.6 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.955e-05/0.11, allocations: 12 kB / 430.6 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.11, allocations: 0 / 430.6 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.701e-05/0.11, allocations: 4 kB / 430.6 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.11, allocations: 0 / 430.6 MB, free: 76 kB / 350.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.0001233/0.1101, allocations: 125.8 kB / 430.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.677e-05/0.1102, allocations: 53.58 kB / 430.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.988e-05/0.1103, allocations: 11.88 kB / 430.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/0.1103, allocations: 4.031 kB / 430.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.1103, allocations: 8 kB / 430.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.1103, allocations: 3.984 kB / 430.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000235/0.1105, allocations: 173.6 kB / 430.9 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1105, allocations: 0 / 430.9 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.252e-06/0.1105, allocations: 0 / 430.9 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1105, allocations: 4 kB / 430.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.1105, allocations: 3.984 kB / 430.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1105, allocations: 0 / 430.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.1105, allocations: 4 kB / 431 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002483/0.1108, allocations: 259.5 kB / 431.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.213e-05/0.1109, allocations: 97.05 kB / 431.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.1109, allocations: 3.984 kB / 431.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.924e-05/0.111, allocations: 4 kB / 431.3 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.052e-05/0.111, allocations: 0 / 431.3 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.111, allocations: 0 / 431.3 MB, free: 15.22 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.13e-05/0.1111, allocations: 115.2 kB / 431.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1111, allocations: 3.938 kB / 431.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002531/0.1114, allocations: 4 kB / 431.4 MB, free: 15.1 MB / 366.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.0005545/0.1119, allocations: 0.7983 MB / 432.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001472/0.1121, allocations: 35.92 kB / 432.3 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1121, allocations: 0 / 432.3 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.991e-05/0.1121, allocations: 11.98 kB / 432.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.1125, allocations: 33.31 kB / 432.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.114, allocations: 1.465 MB / 433.8 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.1143, allocations: 0.6924 MB / 434.5 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.351e-05/0.1143, allocations: 8.219 kB / 434.5 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.656e-05/0.1143, allocations: 11.44 kB / 434.5 MB, free: 11.89 MB / 366.1 MB Notification: Performance of SimCode: time 4e-07/0.1143, allocations: 0 / 434.5 MB, free: 11.89 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02253/0.1369, allocations: 1.717 MB / 436.2 MB, free: 10.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.602/7.738, allocations: 10.69 kB / 436.2 MB, free: 10.31 MB / 366.1 MB " [Timeout remaining time 652] (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: 10.407432042062283]