Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestInternal.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.001793/0.0018, allocations: 122.1 kB / 18.46 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.002137/0.002137, allocations: 215.3 kB / 21.41 MB, free: 1.617 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.48/1.48, allocations: 227.4 MB / 251.7 MB, free: 60 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2323/0.2323, allocations: 46.15 MB / 351.1 MB, free: 14.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) 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(ModelicaTest.Utilities.TestInternal,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Utilities_TestInternal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestInternal,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Utilities_TestInternal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica 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.002347/0.002347, allocations: 73.5 kB / 489.6 MB, free: 28.3 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1156, allocations: 62.45 MB / 0.5391 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.001611/0.1172, allocations: 477.2 kB / 0.5396 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006176/0.1179, allocations: 259.5 kB / 0.5398 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.948e-05/0.1179, allocations: 0 / 0.5398 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.644e-05/0.1179, allocations: 0 / 0.5398 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.659e-06/0.1179, allocations: 7.938 kB / 0.5399 GB, free: 4.07 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/Utilities.mo:398:3-453:15:writable] Warning: Pure function 'ModelicaTest.Utilities.Internal' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0002852/0.1182, allocations: 51.81 kB / 0.5399 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.476e-05/0.1183, allocations: 4 kB / 0.5399 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.48e-05/0.1183, allocations: 4 kB / 0.5399 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.537e-05/0.1183, allocations: 3.984 kB / 0.5399 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.652e-05/0.1184, allocations: 0 / 0.5399 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.293e-06/0.1184, allocations: 0 / 0.5399 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.1185, allocations: 59.95 kB / 0.54 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.132e-06/0.1185, allocations: 0 / 0.54 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.603e-05/0.1185, allocations: 0 / 0.54 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001226/0.1187, allocations: 60.14 kB / 0.54 GB, free: 3.891 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1187, allocations: 4 kB / 0.54 GB, free: 3.887 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1187, allocations: 3.938 kB / 0.54 GB, free: 3.883 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.1187, allocations: 0 / 0.54 GB, free: 3.883 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003381/0.119, allocations: 357.1 kB / 0.5404 GB, free: 3.477 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.1191, allocations: 12.03 kB / 0.5404 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.639e-05/0.1191, allocations: 34.73 kB / 0.5404 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.309e-05/0.1192, allocations: 0.9375 kB / 0.5404 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.1193, allocations: 164.3 kB / 0.5406 GB, free: 3.223 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.1193, allocations: 384 / 0.5406 GB, free: 3.223 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.951e-06/0.1193, allocations: 384 / 0.5406 GB, free: 3.223 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.93e-05/0.1194, allocations: 34.27 kB / 0.5406 GB, free: 3.184 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.1194, allocations: 3.938 kB / 0.5406 GB, free: 3.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-06/0.1194, allocations: 0 / 0.5406 GB, free: 3.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.1194, allocations: 0 / 0.5406 GB, free: 3.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.811e-05/0.1194, allocations: 4 kB / 0.5406 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000145/0.1196, allocations: 149.7 kB / 0.5408 GB, free: 2.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.455e-05/0.1197, allocations: 18.52 kB / 0.5408 GB, free: 2.953 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.18e-05/0.1197, allocations: 16.94 kB / 0.5408 GB, free: 2.934 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.688e-06/0.1197, allocations: 3.938 kB / 0.5408 GB, free: 2.93 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.159e-05/0.1198, allocations: 56.27 kB / 0.5409 GB, free: 2.859 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.1198, allocations: 0 / 0.5409 GB, free: 2.859 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001827/0.12, allocations: 71.33 kB / 0.5409 GB, free: 2.777 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.898e-05/0.12, allocations: 77.11 kB / 0.541 GB, free: 2.684 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.587e-05/0.1201, allocations: 93.81 kB / 0.5411 GB, free: 2.582 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.1201, allocations: 29.83 kB / 0.5411 GB, free: 2.547 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.176e-05/0.1202, allocations: 84.14 kB / 0.5412 GB, free: 2.461 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.564e-05/0.1202, allocations: 3.938 kB / 0.5412 GB, free: 2.457 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.838e-05/0.1202, allocations: 13.66 kB / 0.5412 GB, free: 2.438 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.1204, allocations: 314.8 kB / 0.5415 GB, free: 2.121 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.154e-05/0.1204, allocations: 3.984 kB / 0.5415 GB, free: 2.117 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.293e-06/0.1204, allocations: 4 kB / 0.5415 GB, free: 2.113 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.57e-05/0.1205, allocations: 60.27 kB / 0.5416 GB, free: 2.039 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1205, allocations: 4.062 kB / 0.5416 GB, free: 2.035 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.422e-05/0.1205, allocations: 59.41 kB / 0.5416 GB, free: 1.965 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.454e-05/0.1206, allocations: 31.42 kB / 0.5417 GB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.1206, allocations: 7.922 kB / 0.5417 GB, free: 1.922 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.1206, allocations: 0 / 0.5417 GB, free: 1.922 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-07/0.1206, allocations: 0 / 0.5417 GB, free: 1.922 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.994e-06/0.1206, allocations: 3.938 kB / 0.5417 GB, free: 1.918 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.502e-05/0.1207, allocations: 4 kB / 0.5417 GB, free: 1.914 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.483e-06/0.1207, allocations: 0 / 0.5417 GB, free: 1.914 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001096/0.1208, allocations: 139.6 kB / 0.5418 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.804e-06/0.1208, allocations: 4 kB / 0.5418 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.121e-05/0.1208, allocations: 7.062 kB / 0.5418 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.1208, allocations: 0 / 0.5418 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1208, allocations: 0 / 0.5418 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1208, allocations: 0 / 0.5418 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001059/0.1209, allocations: 149.7 kB / 0.542 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.121, allocations: 4 kB / 0.542 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.121, allocations: 0 / 0.542 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.121, allocations: 0 / 0.542 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.121, allocations: 7.938 kB / 0.542 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.121, allocations: 0 / 0.542 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.121, allocations: 3.984 kB / 0.542 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001091/0.1211, allocations: 90.83 kB / 0.5421 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.656e-05/0.1212, allocations: 81.05 kB / 0.5421 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.1212, allocations: 3.938 kB / 0.5422 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.227e-05/0.1212, allocations: 4 kB / 0.5422 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.269e-05/0.1212, allocations: 7.969 kB / 0.5422 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.1212, allocations: 3.984 kB / 0.5422 GB, free: 1.312 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.195e-05/0.1213, allocations: 79.22 kB / 0.5422 GB, free: 1.234 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1213, allocations: 0 / 0.5422 GB, free: 1.234 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002301/0.1215, allocations: 23.94 kB / 0.5423 GB, free: 1.211 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0009698/0.1225, allocations: 0.8026 MB / 0.543 GB, free: 440 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001084/0.1226, allocations: 55.41 kB / 0.5431 GB, free: 372 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1226, allocations: 3.938 kB / 0.5431 GB, free: 368 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.426e-05/0.1227, allocations: 59.39 kB / 0.5432 GB, free: 296 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001196/0.1228, allocations: 0 / 0.5432 GB, free: 296 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002841/0.1231, allocations: 126.6 kB / 0.5433 GB, free: 128 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.1234, allocations: 0.669 MB / 0.5439 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.703e-06/0.1234, allocations: 0 / 0.5439 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.367e-05/0.1234, allocations: 11.56 kB / 0.5439 GB, free: 15.42 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1235, allocations: 0 / 0.5439 GB, free: 15.42 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02541/0.1489, allocations: 1.625 MB / 0.5455 GB, free: 13.88 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.027/8.176, allocations: 1.078 kB / 0.5455 GB, free: 13.88 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestInternal.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestInternal.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestInternal.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestInternal.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestInternal_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_4_1_0-beta_om_ModelicaTest_Utilities_TestInternal.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestInternal.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.142127491068095] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.241864362964407 8.255092737 8.133879727 Calling exit ...