Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.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.00154/0.00154, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.001937/0.001937, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.541/1.541, 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.3047/0.3047, allocations: 46.94 MB / 361.6 MB, free: 4.199 MB / 286.1 MB " [Timeout remaining time 179] 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.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_ForUsersGuide_Directions",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.002418/0.002418, allocations: 79.86 kB / 0.497 GB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.381, allocations: 66.08 MB / 0.5615 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.005005/0.386, allocations: 2.882 MB / 0.5643 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001809/0.3879, allocations: 0.814 MB / 0.5651 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002292/0.3881, allocations: 11.94 kB / 0.5651 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002302/0.3883, allocations: 59.31 kB / 0.5652 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003042/0.3886, allocations: 122.9 kB / 0.5653 GB, free: 432 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004502/0.3891, allocations: 127.8 kB / 0.5654 GB, free: 304 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005612/0.3896, allocations: 450.3 kB / 0.5658 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003226/0.3899, allocations: 140.8 kB / 0.566 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003519/0.3903, allocations: 183.3 kB / 0.5662 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003066/0.3906, allocations: 187.1 kB / 0.5663 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.593e-05/0.3907, allocations: 36 kB / 0.5664 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.3908, allocations: 40 kB / 0.5664 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.606e-05/0.3909, allocations: 91.61 kB / 0.5665 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000218/0.3911, allocations: 207 kB / 0.5667 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006808/0.3918, allocations: 466 kB / 0.5671 GB, free: 14.52 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3918, allocations: 0 / 0.5671 GB, free: 14.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3918, allocations: 0 / 0.5671 GB, free: 14.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.394e-05/0.3918, allocations: 0 / 0.5671 GB, free: 14.52 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001115/0.3929, allocations: 0.6105 MB / 0.5677 GB, free: 13.88 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.3929, allocations: 12.03 kB / 0.5677 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001002/0.393, allocations: 78.66 kB / 0.5678 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003359/0.3934, allocations: 76.61 kB / 0.5679 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005015/0.3939, allocations: 233.7 kB / 0.5681 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.58e-05/0.3939, allocations: 29.38 kB / 0.5681 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.833e-05/0.394, allocations: 36.38 kB / 0.5682 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007426/0.3947, allocations: 389.1 kB / 0.5685 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/0.3947, allocations: 3.953 kB / 0.5686 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.643e-05/0.3948, allocations: 16 kB / 0.5686 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.3948, allocations: 12 kB / 0.5686 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005396/0.3953, allocations: 247.8 kB / 0.5688 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001806/0.3971, allocations: 1.059 MB / 0.5698 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00063/0.3978, allocations: 323.5 kB / 0.5702 GB, free: 11.26 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003007/0.3981, allocations: 162.4 kB / 0.5703 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.012e-05/0.3981, allocations: 11.94 kB / 0.5703 GB, free: 11.08 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.3981, allocations: 38.5 kB / 0.5704 GB, free: 11.04 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 2.054e-06/0.3981, allocations: 0 / 0.5704 GB, free: 11.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.004181/0.4023, allocations: 2.012 MB / 0.5723 GB, free: 8.871 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.652e-05/0.4024, allocations: 110.8 kB / 0.5724 GB, free: 8.738 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002908/0.4027, allocations: 249.9 kB / 0.5727 GB, free: 8.488 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.649e-05/0.4027, allocations: 33.7 kB / 0.5727 GB, free: 8.449 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.4029, allocations: 180.9 kB / 0.5729 GB, free: 8.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001874/0.4031, allocations: 210.2 kB / 0.5731 GB, free: 8.062 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.4032, allocations: 86.3 kB / 0.5732 GB, free: 7.973 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.4034, allocations: 350.7 kB / 0.5735 GB, free: 7.621 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002781/0.4037, allocations: 133.2 kB / 0.5736 GB, free: 7.492 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003604/0.404, allocations: 236.8 kB / 0.5738 GB, free: 7.223 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006903/0.4047, allocations: 401.9 kB / 0.5742 GB, free: 6.793 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.4047, allocations: 4 kB / 0.5742 GB, free: 6.789 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001124/0.4058, allocations: 0.5539 MB / 0.5748 GB, free: 6.219 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.4059, allocations: 4 kB / 0.5748 GB, free: 6.215 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.4059, allocations: 4 kB / 0.5748 GB, free: 6.211 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004128/0.4063, allocations: 122.6 kB / 0.5749 GB, free: 6.082 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003946/0.4067, allocations: 99.81 kB / 0.575 GB, free: 5.984 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005115/0.4118, allocations: 4.903 MB / 0.5798 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003177/0.4121, allocations: 16 kB / 0.5798 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/0.4122, allocations: 20 kB / 0.5798 GB, free: 0.707 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000262/0.4124, allocations: 174.6 kB / 0.58 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.4125, allocations: 39.7 kB / 0.58 GB, free: 500 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.881e-05/0.4126, allocations: 50.11 kB / 0.5801 GB, free: 448 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.4126, allocations: 8 kB / 0.5801 GB, free: 440 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.54e-05/0.4127, allocations: 3.938 kB / 0.5801 GB, free: 436 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.4127, allocations: 4 kB / 0.5801 GB, free: 432 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0023/0.415, allocations: 1.284 MB / 0.5813 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.415, allocations: 0 / 0.5813 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004401/0.4154, allocations: 103.8 kB / 0.5814 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003629/0.4158, allocations: 94.45 kB / 0.5815 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.004e-05/0.4158, allocations: 15.92 kB / 0.5815 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003905/0.4197, allocations: 4.123 MB / 0.5856 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.725e-05/0.4197, allocations: 8.016 kB / 0.5856 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001566/0.4213, allocations: 0.9207 MB / 0.5865 GB, free: 9.422 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.4214, allocations: 31.77 kB / 0.5865 GB, free: 9.391 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.688e-05/0.4215, allocations: 16.05 kB / 0.5865 GB, free: 9.375 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002613/0.4217, allocations: 16 kB / 0.5865 GB, free: 9.359 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/0.4219, allocations: 51.84 kB / 0.5866 GB, free: 9.309 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.808e-05/0.4219, allocations: 16.12 kB / 0.5866 GB, free: 9.293 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002028/0.4221, allocations: 173.2 kB / 0.5868 GB, free: 9.121 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4221, allocations: 0 / 0.5868 GB, free: 9.121 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007467/0.4228, allocations: 127.9 kB / 0.5869 GB, free: 8.996 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002015/0.4249, allocations: 1.478 MB / 0.5883 GB, free: 7.477 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001555/0.4264, allocations: 0.7535 MB / 0.5891 GB, free: 6.684 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.4264, allocations: 0 / 0.5891 GB, free: 6.684 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008948/0.4273, allocations: 0.5644 MB / 0.5896 GB, free: 6.082 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007149/0.428, allocations: 65.06 kB / 0.5897 GB, free: 6.02 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006694/0.4347, allocations: 4.18 MB / 0.5938 GB, free: 1.652 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005718/0.4353, allocations: 0.8241 MB / 0.5946 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001817/0.4355, allocations: 35.27 kB / 0.5946 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001987/0.4357, allocations: 135.4 kB / 0.5947 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of SimCode: time 2.294e-06/0.4357, allocations: 0 / 0.5947 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04702/0.4827, allocations: 8.749 MB / 0.6033 GB, free: 7.988 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.73, allocations: 3.938 kB / 0.6033 GB, free: 7.984 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_ForUsersGuide_Directions.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.986992285121232] Failed to read output from testmodel.py, exit status != 0: ['time', 'J2.phi', 'J2.w', 'J3.phi', 'J3.w', 'J5.phi', 'J5.w'] 11.818185667973012 11.844214013 11.447440308000001 Calling exit ...