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.001206/0.001206, allocations: 109 kB / 21.23 MB, free: 0.6641 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.002247/0.002247, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.492/1.492, allocations: 230.5 MB / 258.2 MB, free: 8.016 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.2346/0.2346, allocations: 46.93 MB / 361.6 MB, free: 4.199 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.003493/0.003493, allocations: 75.88 kB / 0.497 GB, free: 7.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3456, allocations: 66.09 MB / 0.5615 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.003221/0.3488, allocations: 1.567 MB / 0.563 GB, free: 2.734 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003027/0.3491, allocations: 71.78 kB / 0.5631 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.523e-05/0.3492, allocations: 7.938 kB / 0.5631 GB, free: 2.656 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001169/0.3493, allocations: 7.938 kB / 0.5631 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.465e-05/0.3493, allocations: 3.938 kB / 0.5631 GB, free: 2.645 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001654/0.3495, allocations: 19.97 kB / 0.5631 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.3496, allocations: 35.86 kB / 0.5632 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.3497, allocations: 13.95 kB / 0.5632 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.681e-05/0.3498, allocations: 15.92 kB / 0.5632 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.953e-05/0.3498, allocations: 11.94 kB / 0.5632 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.3498, allocations: 4 kB / 0.5632 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.045e-05/0.3498, allocations: 4 kB / 0.5632 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.703e-05/0.3499, allocations: 3.984 kB / 0.5632 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.183e-05/0.3499, allocations: 19.88 kB / 0.5632 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.35, allocations: 43.7 kB / 0.5633 GB, free: 2.477 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.35, allocations: 0 / 0.5633 GB, free: 2.477 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.35, allocations: 0 / 0.5633 GB, free: 2.477 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.35, allocations: 0 / 0.5633 GB, free: 2.477 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004841/0.3505, allocations: 274.2 kB / 0.5635 GB, free: 2.176 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.3505, allocations: 12.03 kB / 0.5636 GB, free: 2.164 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.019e-05/0.3506, allocations: 34.75 kB / 0.5636 GB, free: 2.121 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.935e-05/0.3506, allocations: 8.891 kB / 0.5636 GB, free: 2.113 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/0.3508, allocations: 118.5 kB / 0.5637 GB, free: 1.973 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.3508, allocations: 4.375 kB / 0.5637 GB, free: 1.969 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.3509, allocations: 4.375 kB / 0.5637 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.351, allocations: 76.75 kB / 0.5638 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.3511, allocations: 7.938 kB / 0.5638 GB, free: 1.867 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.707e-06/0.3511, allocations: 3.938 kB / 0.5638 GB, free: 1.863 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.3511, allocations: 3.984 kB / 0.5638 GB, free: 1.859 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.3512, allocations: 31.91 kB / 0.5638 GB, free: 1.828 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005817/0.3518, allocations: 420.2 kB / 0.5642 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.3519, allocations: 38.5 kB / 0.5643 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.027e-05/0.352, allocations: 16.86 kB / 0.5643 GB, free: 1.301 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.352, allocations: 0 / 0.5643 GB, free: 1.301 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.352, allocations: 38.64 kB / 0.5643 GB, free: 1.254 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.352, allocations: 4 kB / 0.5643 GB, free: 1.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004917/0.3525, allocations: 109.5 kB / 0.5644 GB, free: 1.137 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/0.3526, allocations: 51.41 kB / 0.5645 GB, free: 1.074 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.3527, allocations: 113.8 kB / 0.5646 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.3527, allocations: 29.7 kB / 0.5646 GB, free: 0.918 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.168e-05/0.3528, allocations: 92.03 kB / 0.5647 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.759e-05/0.3528, allocations: 19.84 kB / 0.5647 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.189e-05/0.3528, allocations: 21.7 kB / 0.5648 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.353, allocations: 322.8 kB / 0.5651 GB, free: 464 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.171e-05/0.353, allocations: 11.98 kB / 0.5651 GB, free: 452 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.475e-05/0.3531, allocations: 43.42 kB / 0.5651 GB, free: 396 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.3532, allocations: 59.36 kB / 0.5652 GB, free: 324 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3532, allocations: 0 / 0.5652 GB, free: 324 kB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001807/0.3534, allocations: 89.5 kB / 0.5653 GB, free: 228 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.3534, allocations: 8 kB / 0.5653 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3534, allocations: 0 / 0.5653 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.3534, allocations: 0 / 0.5653 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.253e-05/0.3535, allocations: 15.98 kB / 0.5653 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.3535, allocations: 4.094 kB / 0.5653 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.884e-05/0.3535, allocations: 4 kB / 0.5653 GB, free: 196 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.3535, allocations: 0 / 0.5653 GB, free: 196 kB / 398.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.993e-05/0.3536, allocations: 118.7 kB / 0.5654 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.661e-05/0.3537, allocations: 7.953 kB / 0.5654 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.031e-05/0.3537, allocations: 11.98 kB / 0.5654 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.3537, allocations: 384 / 0.5654 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3537, allocations: 0 / 0.5654 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.3537, allocations: 4 kB / 0.5654 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001993/0.3539, allocations: 144.7 kB / 0.5656 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3539, allocations: 3.938 kB / 0.5656 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.163e-05/0.354, allocations: 11.94 kB / 0.5656 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.354, allocations: 384 / 0.5656 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.354, allocations: 7.984 kB / 0.5656 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.354, allocations: 0 / 0.5656 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.354, allocations: 0 / 0.5656 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002823/0.3543, allocations: 183.5 kB / 0.5658 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.001e-05/0.3543, allocations: 3.953 kB / 0.5658 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.3543, allocations: 3.984 kB / 0.5658 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.207e-05/0.3544, allocations: 4.031 kB / 0.5658 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.209e-05/0.3544, allocations: 0 / 0.5658 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.3544, allocations: 0 / 0.5658 GB, free: 15.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.792e-05/0.3544, allocations: 95.2 kB / 0.5659 GB, free: 15.53 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3544, allocations: 3.938 kB / 0.5659 GB, free: 15.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002265/0.3547, allocations: 15.94 kB / 0.5659 GB, free: 15.51 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.0005382/0.3552, allocations: 0.6969 MB / 0.5666 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001762/0.3554, allocations: 39.92 kB / 0.5666 GB, free: 14.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3554, allocations: 0 / 0.5666 GB, free: 14.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.675e-05/0.3554, allocations: 20.23 kB / 0.5666 GB, free: 14.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.3557, allocations: 19.98 kB / 0.5666 GB, free: 14.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.3572, allocations: 1.378 MB / 0.568 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003834/0.3576, allocations: 0.6885 MB / 0.5687 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.157e-05/0.3576, allocations: 0 / 0.5687 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.632e-05/0.3577, allocations: 19.42 kB / 0.5687 GB, free: 12.5 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3577, allocations: 0 / 0.5687 GB, free: 12.5 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0244/0.3821, allocations: 1.534 MB / 0.5702 GB, free: 11.03 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.971/8.353, allocations: 8.062 kB / 0.5702 GB, free: 11.02 MB / 414.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.196716357953846] Failed to read output from testmodel.py, exit status != 0: ['time', 'gain.y'] 8.436342891305685 8.452181541 8.098977380000001 Calling exit ...