Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.001632/0.001632, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.0015/0.0015, allocations: 210.5 kB / 21.46 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.497/1.497, allocations: 230.4 MB / 254.7 MB, free: 15.03 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-beta.om/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.RealSignals.SampleClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 79.8 kB / 373.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1105, allocations: 53.31 MB / 426.9 MB, free: 4.883 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003098/0.1136, allocations: 1.58 MB / 428.5 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.1147, allocations: 0.5337 MB / 429 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.939e-05/0.1148, allocations: 0 / 429 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.812e-05/0.1149, allocations: 7.938 kB / 429 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001679/0.1151, allocations: 7.875 kB / 429 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00034/0.1154, allocations: 55.81 kB / 429.1 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.1155, allocations: 47.84 kB / 429.1 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.1156, allocations: 4 kB / 429.1 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001294/0.1158, allocations: 31.86 kB / 429.1 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.183e-05/0.1158, allocations: 15.92 kB / 429.2 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.1158, allocations: 4 kB / 429.2 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.143e-05/0.1159, allocations: 4 kB / 429.2 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.38e-05/0.1159, allocations: 19.91 kB / 429.2 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.489e-05/0.116, allocations: 19.81 kB / 429.2 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.1161, allocations: 55.73 kB / 429.3 MB, free: 2.484 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1161, allocations: 0 / 429.3 MB, free: 2.484 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1161, allocations: 4 kB / 429.3 MB, free: 2.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.1161, allocations: 0 / 429.3 MB, free: 2.48 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005683/0.1167, allocations: 371.1 kB / 429.6 MB, free: 2.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.1168, allocations: 12.03 kB / 429.6 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.482e-05/0.1168, allocations: 34.75 kB / 429.7 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001664/0.117, allocations: 16.88 kB / 429.7 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.1173, allocations: 198.2 kB / 429.9 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.1173, allocations: 12.38 kB / 429.9 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.1173, allocations: 4.375 kB / 429.9 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002612/0.1176, allocations: 89.17 kB / 430 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.1176, allocations: 0 / 430 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.1176, allocations: 4 kB / 430 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.1176, allocations: 4 kB / 430 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.019e-05/0.1177, allocations: 15.98 kB / 430 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003761/0.118, allocations: 269.6 kB / 430.3 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.913e-05/0.1181, allocations: 45.2 kB / 430.3 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.974e-05/0.1182, allocations: 17.78 kB / 430.3 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.1182, allocations: 0 / 430.3 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.1182, allocations: 42.5 kB / 430.4 MB, free: 1.172 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.1182, allocations: 0 / 430.4 MB, free: 1.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002487/0.1185, allocations: 65.56 kB / 430.4 MB, free: 1.102 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.363e-05/0.1186, allocations: 85.3 kB / 430.5 MB, free: 1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.1187, allocations: 143.2 kB / 430.7 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.1187, allocations: 25.7 kB / 430.7 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.893e-05/0.1188, allocations: 88.14 kB / 430.8 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.593e-05/0.1188, allocations: 4 kB / 430.8 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-05/0.1189, allocations: 13.67 kB / 430.8 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.119, allocations: 326.8 kB / 431.1 MB, free: 384 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.234e-05/0.1191, allocations: 4 kB / 431.1 MB, free: 380 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.99e-05/0.1191, allocations: 21.7 kB / 431.1 MB, free: 352 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.211e-05/0.1192, allocations: 33.64 kB / 431.2 MB, free: 312 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1192, allocations: 0 / 431.2 MB, free: 312 kB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001157/0.1193, allocations: 49.69 kB / 431.2 MB, free: 256 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.1193, allocations: 12.12 kB / 431.2 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.1193, allocations: 3.938 kB / 431.2 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.1193, allocations: 0 / 431.2 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.16e-05/0.1194, allocations: 11.92 kB / 431.3 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1194, allocations: 0 / 431.3 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.131e-05/0.1195, allocations: 4 kB / 431.3 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.1195, allocations: 3.984 kB / 431.3 MB, free: 220 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001046/0.1196, allocations: 125.7 kB / 431.4 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.597e-05/0.1196, allocations: 45.66 kB / 431.4 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.275e-05/0.1197, allocations: 7.875 kB / 431.4 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1197, allocations: 0 / 431.4 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.1197, allocations: 3.984 kB / 431.4 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.1197, allocations: 4 kB / 431.4 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.253/0.3727, allocations: 162.4 kB / 431.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.3727, allocations: 0.6875 kB / 431.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.678e-05/0.3728, allocations: 7.312 kB / 431.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.3728, allocations: 1.156 kB / 431.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.3728, allocations: 2.938 kB / 431.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.3728, allocations: 2.438 kB / 431.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3728, allocations: 3.438 kB / 431.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002029/0.373, allocations: 160 kB / 431.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.692e-05/0.3731, allocations: 88.44 kB / 431.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.3731, allocations: 5 kB / 431.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.793e-05/0.3732, allocations: 5.75 kB / 431.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.28e-05/0.3732, allocations: 8.641 kB / 431.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.3733, allocations: 0.5 kB / 431.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.686e-05/0.3733, allocations: 115 kB / 432 MB, free: 10.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3733, allocations: 1 kB / 432 MB, free: 10.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002878/0.3736, allocations: 4.281 kB / 432 MB, free: 10.68 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0003452/0.374, allocations: 0.6912 MB / 432.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001477/0.3741, allocations: 23 kB / 432.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3741, allocations: 1.094 kB / 432.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.674e-05/0.3742, allocations: 11.41 kB / 432.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.3745, allocations: 20.39 kB / 432.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.3756, allocations: 1.31 MB / 434.1 MB, free: 8.832 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001397/0.3758, allocations: 0.6921 MB / 434.7 MB, free: 8.137 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.401e-05/0.3758, allocations: 2.281 kB / 434.7 MB, free: 8.137 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.804e-05/0.3759, allocations: 17.09 kB / 434.8 MB, free: 8.129 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3759, allocations: 1.656 kB / 434.8 MB, free: 8.129 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02571/0.4016, allocations: 1.511 MB / 436.3 MB, free: 7.824 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.937/8.338, allocations: 7.938 kB / 436.3 MB, free: 7.816 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.758807840757072] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y'] 8.408972724340856 8.430665672 8.310646412 Calling exit ...