Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.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.001611/0.001611, allocations: 104.5 kB / 19.8 MB, free: 2.496 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.002156/0.002156, allocations: 216.9 kB / 22.99 MB, free: 5.59 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.486/1.486, allocations: 230.2 MB / 256.2 MB, free: 8.52 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.2309/0.2309, allocations: 46.89 MB / 359.4 MB, free: 4.906 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.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_InitializationConversion_Inertia",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.00254/0.00254, allocations: 87.84 kB / 0.4941 GB, free: 9 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3275, allocations: 65.97 MB / 0.5586 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004676/0.3321, allocations: 3.091 MB / 0.5616 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.3332, allocations: 414.5 kB / 0.562 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002525/0.3334, allocations: 11.94 kB / 0.562 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001727/0.3336, allocations: 67.31 kB / 0.5621 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004406/0.334, allocations: 170.5 kB / 0.5622 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002699/0.3343, allocations: 103.8 kB / 0.5623 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006414/0.3349, allocations: 0.5481 MB / 0.5628 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002401/0.3352, allocations: 108.9 kB / 0.563 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000259/0.3354, allocations: 207.3 kB / 0.5632 GB, free: 424 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002727/0.3357, allocations: 215 kB / 0.5634 GB, free: 208 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.832e-05/0.3358, allocations: 40 kB / 0.5634 GB, free: 168 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.995e-05/0.3358, allocations: 40 kB / 0.5634 GB, free: 128 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.445e-05/0.3359, allocations: 95.69 kB / 0.5635 GB, free: 32 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002531/0.3362, allocations: 254.9 kB / 0.5638 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005824/0.3368, allocations: 0.5308 MB / 0.5643 GB, free: 15.25 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3368, allocations: 0 / 0.5643 GB, free: 15.25 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3368, allocations: 4 kB / 0.5643 GB, free: 15.24 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.3368, allocations: 0 / 0.5643 GB, free: 15.24 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001031/0.3378, allocations: 0.7208 MB / 0.565 GB, free: 14.47 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.3378, allocations: 12.03 kB / 0.565 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.048e-05/0.3379, allocations: 86.7 kB / 0.5651 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.587e-05/0.338, allocations: 60.61 kB / 0.5651 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003393/0.3384, allocations: 292.5 kB / 0.5654 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.095e-05/0.3384, allocations: 33.38 kB / 0.5655 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.281e-05/0.3385, allocations: 52.33 kB / 0.5655 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007212/0.3392, allocations: 462.7 kB / 0.5659 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.416e-05/0.3392, allocations: 15.88 kB / 0.566 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.934e-05/0.3393, allocations: 20 kB / 0.566 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.3393, allocations: 12 kB / 0.566 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004367/0.3397, allocations: 251.7 kB / 0.5662 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002343/0.3421, allocations: 1.692 MB / 0.5679 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005629/0.3426, allocations: 411.8 kB / 0.5683 GB, free: 10.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002313/0.3429, allocations: 151.7 kB / 0.5684 GB, free: 10.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.3429, allocations: 8 kB / 0.5684 GB, free: 10.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.3429, allocations: 42.5 kB / 0.5685 GB, free: 10.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 1.824e-06/0.3429, allocations: 4 kB / 0.5685 GB, free: 10.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007846/0.3437, allocations: 353.2 kB / 0.5688 GB, free: 10.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000158/0.3439, allocations: 269 kB / 0.5691 GB, free: 9.945 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002751/0.3441, allocations: 254.9 kB / 0.5693 GB, free: 9.691 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.011e-05/0.3442, allocations: 38.14 kB / 0.5693 GB, free: 9.648 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/0.3444, allocations: 256.2 kB / 0.5696 GB, free: 9.391 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001613/0.3445, allocations: 190.4 kB / 0.5698 GB, free: 9.203 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/0.3447, allocations: 114.6 kB / 0.5699 GB, free: 9.082 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.3449, allocations: 346.8 kB / 0.5702 GB, free: 8.734 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002197/0.3451, allocations: 118 kB / 0.5703 GB, free: 8.621 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004557/0.3455, allocations: 418.4 kB / 0.5707 GB, free: 8.074 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007579/0.3463, allocations: 0.5775 MB / 0.5713 GB, free: 7.359 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.867e-06/0.3463, allocations: 4 kB / 0.5713 GB, free: 7.355 MB / 414.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.000985/0.3473, allocations: 0.5678 MB / 0.5718 GB, free: 6.781 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.3473, allocations: 10.19 kB / 0.5719 GB, free: 6.773 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/0.3473, allocations: 16.16 kB / 0.5719 GB, free: 6.758 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.253e-05/0.3474, allocations: 15.94 kB / 0.5719 GB, free: 6.742 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005834/0.3479, allocations: 179.7 kB / 0.5721 GB, free: 6.566 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.383e-05/0.348, allocations: 19.92 kB / 0.5721 GB, free: 6.547 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002886/0.3483, allocations: 67.52 kB / 0.5721 GB, free: 6.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.126e-05/0.3483, allocations: 35.94 kB / 0.5722 GB, free: 6.445 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (86): * Single equations (assignments): 86 * 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.0002182/0.3485, allocations: 181.6 kB / 0.5723 GB, free: 6.258 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002033/0.3487, allocations: 39.77 kB / 0.5724 GB, free: 6.219 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.257e-05/0.3488, allocations: 45.7 kB / 0.5724 GB, free: 6.176 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.811e-05/0.3488, allocations: 11.94 kB / 0.5724 GB, free: 6.164 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.3488, allocations: 4 kB / 0.5724 GB, free: 6.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/0.3488, allocations: 3.984 kB / 0.5724 GB, free: 6.156 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.3499, allocations: 417.2 kB / 0.5728 GB, free: 5.699 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.3499, allocations: 0 / 0.5728 GB, free: 5.699 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005863/0.3505, allocations: 123.9 kB / 0.573 GB, free: 5.578 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.3505, allocations: 4 kB / 0.573 GB, free: 5.574 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.284e-05/0.3505, allocations: 16 kB / 0.573 GB, free: 5.559 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.642e-06/0.3506, allocations: 7.938 kB / 0.573 GB, free: 5.551 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.3506, allocations: 7.938 kB / 0.573 GB, free: 5.543 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009969/0.3516, allocations: 1.082 MB / 0.5741 GB, free: 4.434 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.3517, allocations: 116.8 kB / 0.5742 GB, free: 4.301 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.726e-05/0.3517, allocations: 11.94 kB / 0.5742 GB, free: 4.289 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004001/0.3521, allocations: 12 kB / 0.5742 GB, free: 4.277 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.862e-05/0.3521, allocations: 31.91 kB / 0.5742 GB, free: 4.246 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.3522, allocations: 11.98 kB / 0.5742 GB, free: 4.234 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001754/0.3523, allocations: 181.9 kB / 0.5744 GB, free: 4.059 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3523, allocations: 0 / 0.5744 GB, free: 4.059 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000838/0.3532, allocations: 139.7 kB / 0.5745 GB, free: 3.922 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.w) * 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 (42): * Single equations (assignments): 42 * 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.001349/0.3545, allocations: 1.627 MB / 0.5761 GB, free: 2.258 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006215/0.3552, allocations: 341.3 kB / 0.5765 GB, free: 1.926 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3552, allocations: 0 / 0.5765 GB, free: 1.926 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000179/0.3553, allocations: 125.1 kB / 0.5766 GB, free: 1.805 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/0.3566, allocations: 104.4 kB / 0.5767 GB, free: 1.707 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006988/0.3636, allocations: 5.619 MB / 0.5822 GB, free: 11.7 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005342/0.3641, allocations: 0.8236 MB / 0.583 GB, free: 10.85 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001757/0.3643, allocations: 52.14 kB / 0.583 GB, free: 10.8 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002023/0.3645, allocations: 147.4 kB / 0.5832 GB, free: 10.66 MB / 430.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3645, allocations: 0 / 0.5832 GB, free: 10.66 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03336/0.3978, allocations: 8.348 MB / 0.5913 GB, free: 2.426 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.95/9.348, allocations: 12.05 kB / 0.5913 GB, free: 2.414 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_InitializationConversion_Inertia.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.198739091021707] Failed to read output from testmodel.py, exit status != 0: ['time', 'inertia1.phi', 'inertia1.w', 'inertia2.phi', 'inertia2.w', 'inertia3.phi', 'inertia3.w', 'inertia4.phi', 'inertia4.w', 'inertia5.phi', 'inertia5.w', 'inertia6.phi', 'inertia6.w', 'inertia7.phi', 'inertia7.w', 'inertia7a.phi', 'inertia7a.w', 'inertia8.phi', 'inertia8.w', 'inertia8a.phi', 'inertia8a.w', 'inertia9.phi', 'inertia9.w', 'inertia9a.phi', 'inertia9a.w'] 9.424634861003142 9.449205943 9.107854105 Calling exit ...