Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001373/0.001373, allocations: 117 kB / 18.49 MB, free: 4.566 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.00137/0.00137, allocations: 216.7 kB / 21.46 MB, free: 1.613 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.466/1.466, allocations: 230.5 MB / 254.7 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.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 59.91 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09843/0.1003, allocations: 53.37 MB / 427 MB, free: 4.734 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002759/0.1031, allocations: 1.549 MB / 428.6 MB, free: 3.184 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003727/0.1034, allocations: 147.5 kB / 428.7 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.165e-05/0.1035, allocations: 7.938 kB / 428.7 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.952e-05/0.1036, allocations: 7.938 kB / 428.8 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.219e-05/0.1037, allocations: 11.92 kB / 428.8 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002147/0.1039, allocations: 35.84 kB / 428.8 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.104, allocations: 39.91 kB / 428.8 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.95e-05/0.1041, allocations: 15.98 kB / 428.9 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.422e-05/0.1042, allocations: 15.92 kB / 428.9 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.159e-05/0.1042, allocations: 23.86 kB / 428.9 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.1042, allocations: 0 / 428.9 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.146e-05/0.1042, allocations: 4 kB / 428.9 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.214e-05/0.1043, allocations: 19.86 kB / 428.9 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.045e-05/0.1043, allocations: 31.81 kB / 429 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001226/0.1044, allocations: 59.61 kB / 429 MB, free: 2.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1045, allocations: 0 / 429 MB, free: 2.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1045, allocations: 4 kB / 429 MB, free: 2.766 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1045, allocations: 0 / 429 MB, free: 2.766 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.0005729/0.105, allocations: 383 kB / 429.4 MB, free: 2.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.1051, allocations: 12.02 kB / 429.4 MB, free: 2.328 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.444e-05/0.1051, allocations: 8.188 kB / 429.4 MB, free: 2.32 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.916e-05/0.1051, allocations: 34.75 kB / 429.4 MB, free: 2.277 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.848e-05/0.1052, allocations: 8.891 kB / 429.5 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002714/0.1054, allocations: 200.2 kB / 429.6 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.1054, allocations: 384 / 429.6 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.1054, allocations: 4.375 kB / 429.7 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003045/0.1058, allocations: 130.2 kB / 429.8 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.1058, allocations: 4 kB / 429.8 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.1058, allocations: 3.938 kB / 429.8 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.109e-05/0.1058, allocations: 0 / 429.8 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001317/0.1059, allocations: 35.97 kB / 429.8 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004589/0.1064, allocations: 373.8 kB / 430.2 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.1065, allocations: 75.78 kB / 430.3 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.771e-05/0.1066, allocations: 38.62 kB / 430.3 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.1066, allocations: 0 / 430.3 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.1067, allocations: 42.55 kB / 430.3 MB, free: 1.219 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1067, allocations: 0 / 430.3 MB, free: 1.219 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003632/0.107, allocations: 109.8 kB / 430.4 MB, free: 1.105 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.097e-05/0.1071, allocations: 106.8 kB / 430.6 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.1072, allocations: 148.4 kB / 430.7 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.1073, allocations: 25.7 kB / 430.7 MB, free: 0.793 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.869e-05/0.1073, allocations: 88.12 kB / 430.8 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.485e-05/0.1073, allocations: 7.953 kB / 430.8 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.099e-05/0.1074, allocations: 17.72 kB / 430.8 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.1075, allocations: 330.8 kB / 431.2 MB, free: 348 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.449e-05/0.1076, allocations: 15.92 kB / 431.2 MB, free: 332 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.62e-05/0.1077, allocations: 39.42 kB / 431.2 MB, free: 280 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.1078, allocations: 67.34 kB / 431.3 MB, free: 200 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1078, allocations: 0 / 431.3 MB, free: 200 kB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001863/0.108, allocations: 89.42 kB / 431.4 MB, free: 104 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.108, allocations: 4 kB / 431.4 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.108, allocations: 4 kB / 431.4 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.108, allocations: 4.125 kB / 431.4 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.911e-05/0.1081, allocations: 8 kB / 431.4 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1081, allocations: 0 / 431.4 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.669e-05/0.1082, allocations: 11.98 kB / 431.4 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-06/0.1082, allocations: 4 kB / 431.4 MB, free: 68 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[2],sample1.u[1],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.0001461/0.1083, allocations: 133.7 kB / 431.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.302e-05/0.1084, allocations: 49.59 kB / 431.6 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.531e-05/0.1084, allocations: 19.89 kB / 431.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/0.1085, allocations: 0 / 431.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1085, allocations: 0 / 431.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1085, allocations: 4 kB / 431.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/0.1087, allocations: 173.6 kB / 431.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1087, allocations: 0 / 431.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.899e-05/0.1088, allocations: 11.98 kB / 431.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1088, allocations: 0 / 431.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.1088, allocations: 0 / 431.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1088, allocations: 0 / 431.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1088, allocations: 4 kB / 431.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002881/0.1091, allocations: 271.5 kB / 432 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.738e-05/0.1091, allocations: 96.98 kB / 432.1 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.1092, allocations: 0 / 432.1 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.1093, allocations: 7.984 kB / 432.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.1093, allocations: 8 kB / 432.2 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.1093, allocations: 0 / 432.2 MB, free: 15.19 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.079e-05/0.1094, allocations: 111.2 kB / 432.3 MB, free: 15.08 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1094, allocations: 0 / 432.3 MB, free: 15.08 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002661/0.1096, allocations: 8 kB / 432.3 MB, free: 15.07 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[2],sample1.u[1],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.0005815/0.1102, allocations: 0.7985 MB / 433.1 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001938/0.1104, allocations: 51.92 kB / 433.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1104, allocations: 4.188 kB / 433.1 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.739e-05/0.1105, allocations: 23.98 kB / 433.2 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.1109, allocations: 20.02 kB / 433.2 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/0.1125, allocations: 1.5 MB / 434.7 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.1128, allocations: 0.6924 MB / 435.4 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.077e-05/0.1129, allocations: 11.98 kB / 435.4 MB, free: 11.81 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.095e-05/0.1129, allocations: 15.44 kB / 435.4 MB, free: 11.8 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1129, allocations: 0 / 435.4 MB, free: 11.8 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.018/0.1309, allocations: 1.764 MB / 437.2 MB, free: 10.2 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.249/8.38, allocations: 10.66 kB / 437.2 MB, free: 10.2 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.992670840991195] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y[1]', 'sample1.y[2]'] 8.50432174501475 8.760052665 8.652663446 Calling exit ...