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.001863/0.001863, allocations: 118.6 kB / 18.5 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.001978/0.001978, allocations: 214.6 kB / 21.46 MB, free: 1.605 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: 230.2 MB / 254.5 MB, free: 15.25 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.2279/0.2279, allocations: 46.88 MB / 357.4 MB, free: 10.52 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.002313/0.002313, allocations: 71.88 kB / 0.4912 GB, free: 8.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1256, allocations: 65.98 MB / 0.5556 GB, free: 6.441 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002809/0.1284, allocations: 1.574 MB / 0.5572 GB, free: 4.848 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002647/0.1287, allocations: 79.7 kB / 0.5573 GB, free: 4.77 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.177e-05/0.1288, allocations: 0 / 0.5573 GB, free: 4.77 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001014/0.1289, allocations: 7.922 kB / 0.5573 GB, free: 4.762 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 2.891e-05/0.1289, allocations: 3.938 kB / 0.5573 GB, free: 4.758 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000123/0.129, allocations: 23.92 kB / 0.5573 GB, free: 4.734 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.1291, allocations: 39.86 kB / 0.5573 GB, free: 4.695 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.027e-05/0.1292, allocations: 7.984 kB / 0.5573 GB, free: 4.688 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.207e-05/0.1293, allocations: 11.94 kB / 0.5573 GB, free: 4.676 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.181e-05/0.1293, allocations: 15.92 kB / 0.5574 GB, free: 4.66 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.1293, allocations: 7.984 kB / 0.5574 GB, free: 4.652 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.075e-06/0.1293, allocations: 0 / 0.5574 GB, free: 4.652 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.039e-05/0.1294, allocations: 11.94 kB / 0.5574 GB, free: 4.641 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.551e-05/0.1294, allocations: 7.938 kB / 0.5574 GB, free: 4.633 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 9.926e-05/0.1295, allocations: 39.81 kB / 0.5574 GB, free: 4.594 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1295, allocations: 0 / 0.5574 GB, free: 4.594 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1295, allocations: 4 kB / 0.5574 GB, free: 4.59 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.1295, allocations: 0 / 0.5574 GB, free: 4.59 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.0005059/0.13, allocations: 355.3 kB / 0.5578 GB, free: 4.191 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.13, allocations: 8.031 kB / 0.5578 GB, free: 4.184 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.776e-05/0.1301, allocations: 38.75 kB / 0.5578 GB, free: 4.137 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.323e-05/0.1301, allocations: 4.891 kB / 0.5578 GB, free: 4.133 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.1303, allocations: 176.3 kB / 0.558 GB, free: 3.922 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.1303, allocations: 4.375 kB / 0.558 GB, free: 3.918 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.1304, allocations: 8.375 kB / 0.558 GB, free: 3.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.1305, allocations: 68.81 kB / 0.5581 GB, free: 3.828 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1305, allocations: 3.938 kB / 0.5581 GB, free: 3.824 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.1305, allocations: 4 kB / 0.5581 GB, free: 3.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.1305, allocations: 0 / 0.5581 GB, free: 3.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.158e-05/0.1306, allocations: 23.92 kB / 0.5581 GB, free: 3.797 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005166/0.1311, allocations: 449.2 kB / 0.5585 GB, free: 3.301 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.1313, allocations: 46.44 kB / 0.5586 GB, free: 3.246 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.426e-05/0.1314, allocations: 16.86 kB / 0.5586 GB, free: 3.227 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.1314, allocations: 4.094 kB / 0.5586 GB, free: 3.223 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.1314, allocations: 34.55 kB / 0.5586 GB, free: 3.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1314, allocations: 0 / 0.5586 GB, free: 3.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004541/0.1318, allocations: 113.7 kB / 0.5587 GB, free: 3.062 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.1319, allocations: 55.41 kB / 0.5588 GB, free: 2.996 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.228e-05/0.132, allocations: 113.8 kB / 0.5589 GB, free: 2.875 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.132, allocations: 33.64 kB / 0.5589 GB, free: 2.836 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.002e-05/0.1321, allocations: 92.09 kB / 0.559 GB, free: 2.742 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.1321, allocations: 15.84 kB / 0.559 GB, free: 2.727 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.285e-05/0.1321, allocations: 25.7 kB / 0.559 GB, free: 2.695 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.1323, allocations: 318.8 kB / 0.5594 GB, free: 2.375 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.384e-05/0.1323, allocations: 11.98 kB / 0.5594 GB, free: 2.363 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.09e-05/0.1324, allocations: 53.05 kB / 0.5594 GB, free: 2.301 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001121/0.1325, allocations: 55.45 kB / 0.5595 GB, free: 2.234 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1325, allocations: 0 / 0.5595 GB, free: 2.234 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001699/0.1327, allocations: 93.56 kB / 0.5596 GB, free: 2.137 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.1327, allocations: 4 kB / 0.5596 GB, free: 2.133 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1327, allocations: 4 kB / 0.5596 GB, free: 2.129 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.1327, allocations: 0 / 0.5596 GB, free: 2.129 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.86e-05/0.1328, allocations: 15.98 kB / 0.5596 GB, free: 2.113 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.1328, allocations: 0 / 0.5596 GB, free: 2.113 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.968e-05/0.1328, allocations: 4 kB / 0.5596 GB, free: 2.109 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.1328, allocations: 0 / 0.5596 GB, free: 2.109 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 8.854e-05/0.1329, allocations: 121.7 kB / 0.5597 GB, free: 1.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.778e-05/0.133, allocations: 11.98 kB / 0.5597 GB, free: 1.969 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.667e-05/0.133, allocations: 11.89 kB / 0.5597 GB, free: 1.953 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.133, allocations: 0 / 0.5597 GB, free: 1.953 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.133, allocations: 0 / 0.5597 GB, free: 1.953 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.133, allocations: 0 / 0.5597 GB, free: 1.953 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001968/0.1332, allocations: 173.6 kB / 0.5599 GB, free: 1.734 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.1332, allocations: 384 / 0.5599 GB, free: 1.734 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.778e-05/0.1333, allocations: 12 kB / 0.5599 GB, free: 1.723 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.1333, allocations: 3.984 kB / 0.5599 GB, free: 1.719 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/0.1333, allocations: 0 / 0.5599 GB, free: 1.719 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.1333, allocations: 3.938 kB / 0.5599 GB, free: 1.715 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1333, allocations: 4 kB / 0.5599 GB, free: 1.711 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002641/0.1335, allocations: 179.4 kB / 0.5601 GB, free: 1.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.366e-05/0.1336, allocations: 85.09 kB / 0.5602 GB, free: 1.418 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.1336, allocations: 3.984 kB / 0.5602 GB, free: 1.414 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.375e-05/0.1337, allocations: 0 / 0.5602 GB, free: 1.414 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.803e-05/0.1337, allocations: 4 kB / 0.5602 GB, free: 1.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.1337, allocations: 4.062 kB / 0.5602 GB, free: 1.406 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.747e-05/0.1338, allocations: 95.2 kB / 0.5603 GB, free: 1.312 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1338, allocations: 0 / 0.5603 GB, free: 1.312 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002267/0.134, allocations: 7.938 kB / 0.5603 GB, free: 1.305 MB / 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.0005293/0.1345, allocations: 0.7047 MB / 0.561 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001522/0.1347, allocations: 39.92 kB / 0.561 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1347, allocations: 0 / 0.561 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.766e-05/0.1347, allocations: 23.92 kB / 0.561 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.135, allocations: 10.66 kB / 0.561 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.1364, allocations: 1.372 MB / 0.5624 GB, free: 15.04 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.1367, allocations: 0.6885 MB / 0.563 GB, free: 14.32 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.489e-05/0.1368, allocations: 4 kB / 0.563 GB, free: 14.32 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.138e-05/0.1368, allocations: 23.42 kB / 0.5631 GB, free: 14.29 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1368, allocations: 0 / 0.5631 GB, free: 14.29 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02387/0.1607, allocations: 1.514 MB / 0.5645 GB, free: 12.87 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.078/8.238, allocations: 6.5 kB / 0.5646 GB, free: 12.86 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_IntegratorForceState_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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.132803321816027] Failed to read output from testmodel.py, exit status != 0: ['time', 'gain.y'] 8.308482090011239 8.325630928 8.193195186 Calling exit ...