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.00135/0.00135, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.001342/0.001342, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.388/1.388, allocations: 230.2 MB / 254.5 MB, free: 15.42 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.001809/0.001809, allocations: 59.89 kB / 373.3 MB, free: 10.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1076, allocations: 53.33 MB / 426.7 MB, free: 5.031 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002931/0.1105, allocations: 1.534 MB / 428.2 MB, free: 3.492 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000391/0.1109, allocations: 139.5 kB / 428.3 MB, free: 3.355 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.11e-05/0.1109, allocations: 3.938 kB / 428.3 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001072/0.1111, allocations: 11.92 kB / 428.3 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.005e-05/0.1111, allocations: 11.88 kB / 428.4 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002195/0.1114, allocations: 39.89 kB / 428.4 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.1115, allocations: 35.92 kB / 428.4 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.866e-05/0.1116, allocations: 15.98 kB / 428.4 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.431e-05/0.1116, allocations: 15.88 kB / 428.5 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.972e-05/0.1116, allocations: 27.84 kB / 428.5 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.1117, allocations: 0 / 428.5 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.164e-05/0.1117, allocations: 4 kB / 428.5 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.041e-05/0.1117, allocations: 15.92 kB / 428.5 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.068e-05/0.1118, allocations: 27.81 kB / 428.5 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.1119, allocations: 51.73 kB / 428.6 MB, free: 3.098 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1119, allocations: 0 / 428.6 MB, free: 3.098 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1119, allocations: 0 / 428.6 MB, free: 3.098 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.1119, allocations: 7.938 kB / 428.6 MB, free: 3.09 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.0005018/0.1124, allocations: 371.2 kB / 429 MB, free: 2.676 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.1125, allocations: 8.031 kB / 429 MB, free: 2.668 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.643e-05/0.1125, allocations: 30.75 kB / 429 MB, free: 2.629 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.31e-05/0.1125, allocations: 16.88 kB / 429 MB, free: 2.613 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.1128, allocations: 194.2 kB / 429.2 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.1128, allocations: 384 / 429.2 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.1128, allocations: 8.375 kB / 429.2 MB, free: 2.379 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003044/0.1131, allocations: 122.4 kB / 429.3 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.1131, allocations: 3.938 kB / 429.3 MB, free: 2.234 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.1131, allocations: 0 / 429.3 MB, free: 2.234 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.626e-05/0.1132, allocations: 7.984 kB / 429.3 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.808e-05/0.1133, allocations: 31.92 kB / 429.4 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004274/0.1137, allocations: 361.9 kB / 429.7 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.1138, allocations: 79.84 kB / 429.8 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.046e-05/0.1139, allocations: 30.56 kB / 429.8 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.1139, allocations: 0 / 429.8 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.1139, allocations: 42.5 kB / 429.9 MB, free: 1.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.1139, allocations: 0 / 429.9 MB, free: 1.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002983/0.1142, allocations: 93.66 kB / 430 MB, free: 1.492 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.059e-05/0.1143, allocations: 106.8 kB / 430.1 MB, free: 1.363 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.1144, allocations: 133.8 kB / 430.2 MB, free: 1.223 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.1144, allocations: 33.64 kB / 430.2 MB, free: 1.184 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.721e-05/0.1145, allocations: 88.14 kB / 430.3 MB, free: 1.094 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.1145, allocations: 15.81 kB / 430.3 MB, free: 1.078 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.93e-05/0.1146, allocations: 18 kB / 430.4 MB, free: 1.055 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.1147, allocations: 322.8 kB / 430.7 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.669e-05/0.1147, allocations: 15.98 kB / 430.7 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.511e-05/0.1148, allocations: 39.36 kB / 430.7 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.486e-05/0.1149, allocations: 51.42 kB / 430.8 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1149, allocations: 3.938 kB / 430.8 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001351/0.115, allocations: 73.56 kB / 430.8 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.115, allocations: 10.19 kB / 430.9 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.115, allocations: 0 / 430.9 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.1151, allocations: 128 / 430.9 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.951e-05/0.1151, allocations: 8 kB / 430.9 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.1151, allocations: 0 / 430.9 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.789e-05/0.1151, allocations: 7.984 kB / 430.9 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.1151, allocations: 0 / 430.9 MB, free: 0.4961 MB / 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.0001118/0.1152, allocations: 129.7 kB / 431 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.742e-05/0.1153, allocations: 53.64 kB / 431.1 MB, free: 308 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.219e-05/0.1154, allocations: 15.86 kB / 431.1 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.1154, allocations: 0 / 431.1 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1154, allocations: 8.031 kB / 431.1 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1154, allocations: 0 / 431.1 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002353/0.1156, allocations: 177.6 kB / 431.3 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1156, allocations: 0 / 431.3 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.33e-06/0.1156, allocations: 0 / 431.3 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1156, allocations: 4 kB / 431.3 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.1156, allocations: 0 / 431.3 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1156, allocations: 0 / 431.3 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.1156, allocations: 4 kB / 431.3 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002745/0.1159, allocations: 267.6 kB / 431.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.963e-05/0.116, allocations: 93.05 kB / 431.6 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.116, allocations: 0 / 431.6 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.611e-05/0.1161, allocations: 0 / 431.6 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.222e-05/0.1161, allocations: 8 kB / 431.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.1161, allocations: 0 / 431.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.31e-05/0.1162, allocations: 115.2 kB / 431.7 MB, free: 15.53 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1162, allocations: 4 kB / 431.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002522/0.1164, allocations: 4 kB / 431.7 MB, free: 15.52 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.0005887/0.117, allocations: 0.7945 MB / 432.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001582/0.1172, allocations: 31.92 kB / 432.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1172, allocations: 0 / 432.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.544e-05/0.1172, allocations: 19.92 kB / 432.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003961/0.1176, allocations: 26.45 kB / 432.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.1191, allocations: 1.471 MB / 434.1 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.1195, allocations: 0.6924 MB / 434.8 MB, free: 12.33 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.003e-05/0.1195, allocations: 4.125 kB / 434.8 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.697e-05/0.1195, allocations: 19.42 kB / 434.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1195, allocations: 0 / 434.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02351/0.143, allocations: 1.718 MB / 436.5 MB, free: 10.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.911/8.054, allocations: 6.234 kB / 436.5 MB, free: 10.73 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.536073248833418]