Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState.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.001295/0.001295, allocations: 118.6 kB / 18.5 MB, free: 4.602 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.001355/0.001355, allocations: 206.6 kB / 21.45 MB, free: 1.652 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.484/1.484, allocations: 230.4 MB / 254.7 MB, free: 15.16 MB / 206.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.2293/0.2293, allocations: 46.91 MB / 357.7 MB, free: 10.2 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.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_IntegratorForceState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_IntegratorForceState",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.002321/0.002321, allocations: 79.88 kB / 0.4917 GB, free: 7.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1382, allocations: 66.04 MB / 0.5561 GB, free: 5.547 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.003884/0.1421, allocations: 1.558 MB / 0.5577 GB, free: 3.969 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003512/0.1424, allocations: 75.72 kB / 0.5577 GB, free: 3.895 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.118e-05/0.1425, allocations: 0 / 0.5577 GB, free: 3.895 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001595/0.1427, allocations: 7.922 kB / 0.5578 GB, free: 3.887 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 4.508e-05/0.1427, allocations: 11.88 kB / 0.5578 GB, free: 3.875 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002069/0.1429, allocations: 27.91 kB / 0.5578 GB, free: 3.848 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.1431, allocations: 35.86 kB / 0.5578 GB, free: 3.812 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.1432, allocations: 7.984 kB / 0.5578 GB, free: 3.805 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.371e-05/0.1433, allocations: 11.94 kB / 0.5578 GB, free: 3.793 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.411e-05/0.1434, allocations: 15.92 kB / 0.5579 GB, free: 3.777 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.1434, allocations: 4 kB / 0.5579 GB, free: 3.773 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.973e-05/0.1434, allocations: 4 kB / 0.5579 GB, free: 3.77 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.773e-05/0.1435, allocations: 7.938 kB / 0.5579 GB, free: 3.762 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.259e-05/0.1435, allocations: 11.94 kB / 0.5579 GB, free: 3.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.1437, allocations: 47.75 kB / 0.5579 GB, free: 3.703 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/0.1437, allocations: 0 / 0.5579 GB, free: 3.703 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1437, allocations: 0 / 0.5579 GB, free: 3.703 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.918e-06/0.1437, allocations: 0 / 0.5579 GB, free: 3.703 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006772/0.1444, allocations: 351.3 kB / 0.5583 GB, free: 3.309 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.707e-05/0.1444, allocations: 12.03 kB / 0.5583 GB, free: 3.297 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.764e-05/0.1445, allocations: 34.75 kB / 0.5583 GB, free: 3.254 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.64e-05/0.1445, allocations: 8.891 kB / 0.5583 GB, free: 3.246 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003041/0.1448, allocations: 176.4 kB / 0.5585 GB, free: 3.035 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.1448, allocations: 8.375 kB / 0.5585 GB, free: 3.027 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.888e-05/0.1449, allocations: 4.359 kB / 0.5585 GB, free: 3.023 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.1451, allocations: 80.73 kB / 0.5586 GB, free: 2.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.1451, allocations: 3.938 kB / 0.5586 GB, free: 2.926 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.1451, allocations: 0 / 0.5586 GB, free: 2.926 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.1451, allocations: 0 / 0.5586 GB, free: 2.926 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.1452, allocations: 27.98 kB / 0.5586 GB, free: 2.898 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00064/0.1458, allocations: 453.1 kB / 0.559 GB, free: 2.398 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.146, allocations: 42.56 kB / 0.5591 GB, free: 2.348 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.029e-05/0.1461, allocations: 12.86 kB / 0.5591 GB, free: 2.332 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.1461, allocations: 0 / 0.5591 GB, free: 2.332 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.504e-05/0.1461, allocations: 42.58 kB / 0.5591 GB, free: 2.281 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.1461, allocations: 0 / 0.5591 GB, free: 2.281 MB / 414.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004773/0.1466, allocations: 101.6 kB / 0.5592 GB, free: 2.176 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.1466, allocations: 51.41 kB / 0.5593 GB, free: 2.113 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.1467, allocations: 133.6 kB / 0.5594 GB, free: 1.973 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.1468, allocations: 29.7 kB / 0.5594 GB, free: 1.938 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.628e-05/0.1468, allocations: 88.09 kB / 0.5595 GB, free: 1.848 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.639e-05/0.1468, allocations: 15.84 kB / 0.5595 GB, free: 1.832 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.051e-05/0.1469, allocations: 21.7 kB / 0.5596 GB, free: 1.805 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.147, allocations: 318.8 kB / 0.5599 GB, free: 1.484 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.576e-05/0.1471, allocations: 19.98 kB / 0.5599 GB, free: 1.465 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.995e-05/0.1472, allocations: 41.08 kB / 0.5599 GB, free: 1.414 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.1473, allocations: 55.36 kB / 0.56 GB, free: 1.348 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1473, allocations: 4 kB / 0.56 GB, free: 1.344 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001678/0.1474, allocations: 85.56 kB / 0.5601 GB, free: 1.254 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.1475, allocations: 8 kB / 0.5601 GB, free: 1.246 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1475, allocations: 0 / 0.5601 GB, free: 1.246 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.1475, allocations: 0 / 0.5601 GB, free: 1.246 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.627e-05/0.1475, allocations: 19.92 kB / 0.5601 GB, free: 1.227 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.1475, allocations: 4 kB / 0.5601 GB, free: 1.223 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.955e-05/0.1476, allocations: 4 kB / 0.5601 GB, free: 1.219 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.1476, allocations: 8 kB / 0.5601 GB, free: 1.211 MB / 414.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: 1 (integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 9.277e-05/0.1477, allocations: 113.9 kB / 0.5602 GB, free: 1.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.1477, allocations: 7.953 kB / 0.5602 GB, free: 1.082 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.902e-05/0.1477, allocations: 12.27 kB / 0.5602 GB, free: 1.066 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.1477, allocations: 0 / 0.5602 GB, free: 1.066 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1477, allocations: 4 kB / 0.5602 GB, free: 1.062 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1478, allocations: 3.984 kB / 0.5602 GB, free: 1.059 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002087/0.148, allocations: 173.6 kB / 0.5604 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.148, allocations: 0 / 0.5604 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.287e-05/0.148, allocations: 8 kB / 0.5604 GB, free: 0.832 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.148, allocations: 3.984 kB / 0.5604 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.148, allocations: 8 kB / 0.5604 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.148, allocations: 0 / 0.5604 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1481, allocations: 0 / 0.5604 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.1483, allocations: 179.4 kB / 0.5606 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.699e-05/0.1484, allocations: 81.06 kB / 0.5607 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.1484, allocations: 3.984 kB / 0.5607 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.16e-05/0.1484, allocations: 4.031 kB / 0.5607 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.496e-05/0.1485, allocations: 8 kB / 0.5607 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.1485, allocations: 0 / 0.5607 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.297e-05/0.1485, allocations: 95.58 kB / 0.5608 GB, free: 432 kB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1485, allocations: 0 / 0.5608 GB, free: 432 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002231/0.1487, allocations: 15.94 kB / 0.5608 GB, free: 416 kB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (gain.y) * 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 (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 Backend phase and start with SimCode phase: time 0.0005505/0.1493, allocations: 0.7085 MB / 0.5615 GB, free: 15.67 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001475/0.1494, allocations: 31.92 kB / 0.5615 GB, free: 15.64 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1494, allocations: 0 / 0.5615 GB, free: 15.64 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.899e-05/0.1495, allocations: 19.98 kB / 0.5615 GB, free: 15.62 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.1498, allocations: 11.98 kB / 0.5615 GB, free: 15.61 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.1512, allocations: 1.369 MB / 0.5629 GB, free: 14.14 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.1515, allocations: 0.6846 MB / 0.5635 GB, free: 13.43 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.688e-05/0.1516, allocations: 8 kB / 0.5635 GB, free: 13.42 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.596e-05/0.1516, allocations: 19.42 kB / 0.5636 GB, free: 13.4 MB / 430.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1516, allocations: 0 / 0.5636 GB, free: 13.4 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02313/0.1747, allocations: 1.525 MB / 0.5651 GB, free: 11.97 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.012/8.187, allocations: 10.98 kB / 0.5651 GB, free: 11.96 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_IntegratorForceState.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.241612286306918] Failed to read output from testmodel.py, exit status != 0: ['time', 'gain.y'] 8.256228265818208 8.284315432 8.135414587 Calling exit ...