Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.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.001881/0.001881, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.002577/0.002577, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.534/1.534, allocations: 230.5 MB / 258.2 MB, free: 8.039 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.2395/0.2395, 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.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_TestSpeed",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.002411/0.002411, allocations: 79.86 kB / 0.497 GB, free: 7.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3282, allocations: 66.08 MB / 0.5615 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004327/0.3325, allocations: 2.66 MB / 0.5641 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001562/0.3341, allocations: 0.7284 MB / 0.5648 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001674/0.3343, allocations: 15.88 kB / 0.5648 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001638/0.3344, allocations: 43.52 kB / 0.5649 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001866/0.3346, allocations: 91.25 kB / 0.5649 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003238/0.335, allocations: 103.8 kB / 0.565 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004667/0.3354, allocations: 330.5 kB / 0.5654 GB, free: 340 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002584/0.3357, allocations: 68.02 kB / 0.5654 GB, free: 264 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002691/0.3359, allocations: 143.5 kB / 0.5656 GB, free: 120 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002129/0.3362, allocations: 131.4 kB / 0.5657 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.151e-05/0.3362, allocations: 20 kB / 0.5657 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.002e-05/0.3363, allocations: 31.92 kB / 0.5657 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.333e-05/0.3363, allocations: 55.83 kB / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001701/0.3365, allocations: 143.2 kB / 0.5659 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004521/0.337, allocations: 318.5 kB / 0.5662 GB, free: 15.43 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.337, allocations: 0 / 0.5662 GB, free: 15.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.337, allocations: 0 / 0.5662 GB, free: 15.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.355e-05/0.337, allocations: 0 / 0.5662 GB, free: 15.43 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009669/0.3379, allocations: 0.5168 MB / 0.5667 GB, free: 14.88 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.338, allocations: 12.03 kB / 0.5667 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.832e-05/0.3381, allocations: 62.72 kB / 0.5668 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000236/0.3383, allocations: 48.73 kB / 0.5668 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004046/0.3387, allocations: 217.9 kB / 0.5671 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.3387, allocations: 20.88 kB / 0.5671 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.76e-05/0.3388, allocations: 32.33 kB / 0.5671 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005312/0.3393, allocations: 277.2 kB / 0.5674 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/0.3393, allocations: 11.94 kB / 0.5674 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.364e-05/0.3394, allocations: 15.94 kB / 0.5674 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.647e-06/0.3394, allocations: 4 kB / 0.5674 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004346/0.3398, allocations: 183.7 kB / 0.5676 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001841/0.3417, allocations: 1.25 MB / 0.5688 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004519/0.3421, allocations: 230.4 kB / 0.569 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002112/0.3423, allocations: 103.5 kB / 0.5691 GB, free: 12.24 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.3424, allocations: 160 / 0.5691 GB, free: 12.24 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.3424, allocations: 38.56 kB / 0.5692 GB, free: 12.2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.232e-06/0.3424, allocations: 4 kB / 0.5692 GB, free: 12.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.002582/0.345, allocations: 1.193 MB / 0.5703 GB, free: 10.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.3451, allocations: 137.7 kB / 0.5705 GB, free: 10.72 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002534/0.3453, allocations: 233 kB / 0.5707 GB, free: 10.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/0.3454, allocations: 37.64 kB / 0.5707 GB, free: 10.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.3455, allocations: 184.5 kB / 0.5709 GB, free: 10.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001/0.3456, allocations: 115 kB / 0.571 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.3457, allocations: 66.12 kB / 0.5711 GB, free: 10.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.3459, allocations: 338.8 kB / 0.5714 GB, free: 9.727 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002541/0.3461, allocations: 101.1 kB / 0.5715 GB, free: 9.629 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003681/0.3465, allocations: 241.4 kB / 0.5717 GB, free: 9.336 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006655/0.3472, allocations: 377 kB / 0.5721 GB, free: 8.906 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.3472, allocations: 4 kB / 0.5721 GB, free: 8.902 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008143/0.348, allocations: 400.8 kB / 0.5725 GB, free: 8.504 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.348, allocations: 8 kB / 0.5725 GB, free: 8.496 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.348, allocations: 4 kB / 0.5725 GB, free: 8.492 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/0.348, allocations: 8.406 kB / 0.5725 GB, free: 8.484 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004207/0.3485, allocations: 103.8 kB / 0.5726 GB, free: 8.383 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.3485, allocations: 8.781 kB / 0.5726 GB, free: 8.375 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002162/0.3487, allocations: 23.92 kB / 0.5726 GB, free: 8.352 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.082e-05/0.3487, allocations: 20 kB / 0.5726 GB, free: 8.332 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (48): * Single equations (assignments): 48 * 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.0001741/0.3489, allocations: 153.6 kB / 0.5728 GB, free: 8.172 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.349, allocations: 31.81 kB / 0.5728 GB, free: 8.141 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.867e-05/0.3491, allocations: 41.7 kB / 0.5728 GB, free: 8.098 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.3491, allocations: 4 kB / 0.5728 GB, free: 8.094 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.3491, allocations: 0 / 0.5728 GB, free: 8.094 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.3491, allocations: 0 / 0.5728 GB, free: 8.094 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00162/0.3507, allocations: 0.9537 MB / 0.5738 GB, free: 7.082 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.3507, allocations: 0 / 0.5738 GB, free: 7.082 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003887/0.3511, allocations: 76.17 kB / 0.5738 GB, free: 7.008 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.664e-06/0.3511, allocations: 4 kB / 0.5739 GB, free: 7.004 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.027e-05/0.3511, allocations: 15.92 kB / 0.5739 GB, free: 6.988 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.3512, allocations: 7.938 kB / 0.5739 GB, free: 6.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.3512, allocations: 4.062 kB / 0.5739 GB, free: 6.977 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.3523, allocations: 0.7334 MB / 0.5746 GB, free: 6.219 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.557e-05/0.3523, allocations: 27.81 kB / 0.5746 GB, free: 6.191 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.178e-05/0.3524, allocations: 11.94 kB / 0.5746 GB, free: 6.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002859/0.3527, allocations: 20.23 kB / 0.5747 GB, free: 6.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.379e-05/0.3527, allocations: 27.95 kB / 0.5747 GB, free: 6.133 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.259e-05/0.3528, allocations: 20.22 kB / 0.5747 GB, free: 6.113 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001638/0.3529, allocations: 160.5 kB / 0.5748 GB, free: 5.953 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3529, allocations: 0 / 0.5748 GB, free: 5.953 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005025/0.3534, allocations: 68 kB / 0.5749 GB, free: 5.887 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * 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 (32): * Single equations (assignments): 32 * 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.001414/0.3549, allocations: 1.278 MB / 0.5762 GB, free: 4.574 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006663/0.3555, allocations: 268.2 kB / 0.5764 GB, free: 4.312 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.3555, allocations: 4.188 kB / 0.5764 GB, free: 4.309 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003016/0.3558, allocations: 123.8 kB / 0.5765 GB, free: 4.188 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006936/0.3565, allocations: 43.66 kB / 0.5766 GB, free: 4.148 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005313/0.3618, allocations: 3.522 MB / 0.58 GB, free: 408 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004962/0.3623, allocations: 0.7796 MB / 0.5808 GB, free: 15.59 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001781/0.3625, allocations: 30.97 kB / 0.5808 GB, free: 15.56 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/0.3627, allocations: 95.39 kB / 0.5809 GB, free: 15.47 MB / 430.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3627, allocations: 0 / 0.5809 GB, free: 15.47 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03876/0.4014, allocations: 5.623 MB / 0.5864 GB, free: 9.922 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.658/9.059, allocations: 2.656 kB / 0.5864 GB, free: 9.922 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_TestSpeed_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219824 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_TestSpeed.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.011456158012152] Failed to read output from testmodel.py, exit status != 0: ['time', 'speed1.phi', 'speed1.w', 'speed2.phi', 'speed3.s', 'speed3.v', 'speed4.s'] 9.134589355904609 9.152455462 8.81184715 Calling exit ...