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.001767/0.001767, allocations: 108.7 kB / 19.8 MB, free: 2.516 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.002414/0.002414, allocations: 216 kB / 23 MB, free: 5.609 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.493/1.493, allocations: 230.2 MB / 256.2 MB, free: 8.691 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.2413/0.2413, allocations: 46.89 MB / 359.4 MB, free: 4.918 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.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.002398/0.002398, allocations: 79.88 kB / 0.4941 GB, free: 9.008 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.3449, allocations: 65.99 MB / 0.5586 GB, free: 5.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004907/0.3498, allocations: 2.87 MB / 0.5614 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001822/0.3516, allocations: 0.8139 MB / 0.5622 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003435/0.3519, allocations: 11.94 kB / 0.5622 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002895/0.3522, allocations: 59.33 kB / 0.5622 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004377/0.3527, allocations: 126.9 kB / 0.5624 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000432/0.3531, allocations: 123.8 kB / 0.5625 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000587/0.3537, allocations: 454.3 kB / 0.5629 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003274/0.354, allocations: 136.2 kB / 0.563 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000372/0.3544, allocations: 179.3 kB / 0.5632 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002814/0.3547, allocations: 187.2 kB / 0.5634 GB, free: 328 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.614e-05/0.3547, allocations: 36 kB / 0.5634 GB, free: 292 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.3548, allocations: 40 kB / 0.5635 GB, free: 252 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.294e-05/0.3549, allocations: 87.61 kB / 0.5635 GB, free: 164 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002165/0.3551, allocations: 207 kB / 0.5637 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005809/0.3557, allocations: 462 kB / 0.5642 GB, free: 15.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.3557, allocations: 0 / 0.5642 GB, free: 15.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3557, allocations: 0 / 0.5642 GB, free: 15.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.3557, allocations: 0 / 0.5642 GB, free: 15.5 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.001091/0.3568, allocations: 0.6858 MB / 0.5648 GB, free: 14.77 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.3569, allocations: 12.03 kB / 0.5649 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.091e-05/0.357, allocations: 78.7 kB / 0.5649 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003499/0.3573, allocations: 76.62 kB / 0.565 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004982/0.3578, allocations: 307.4 kB / 0.5653 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.637e-05/0.3579, allocations: 29.38 kB / 0.5653 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.146e-05/0.3579, allocations: 36.38 kB / 0.5654 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007383/0.3587, allocations: 385.2 kB / 0.5657 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/0.3587, allocations: 7.891 kB / 0.5657 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.813e-05/0.3587, allocations: 16 kB / 0.5658 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.3587, allocations: 12 kB / 0.5658 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005403/0.3593, allocations: 251.8 kB / 0.566 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001785/0.3611, allocations: 1.109 MB / 0.5671 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006002/0.3617, allocations: 323.5 kB / 0.5674 GB, free: 12.01 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003165/0.362, allocations: 154.5 kB / 0.5675 GB, free: 11.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/0.362, allocations: 8 kB / 0.5675 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.362, allocations: 42.5 kB / 0.5676 GB, free: 11.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 2.294e-06/0.362, allocations: 3.938 kB / 0.5676 GB, free: 11.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.004242/0.3663, allocations: 2.456 MB / 0.57 GB, free: 9.066 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.595e-05/0.3664, allocations: 106.8 kB / 0.5701 GB, free: 8.938 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003173/0.3667, allocations: 254.7 kB / 0.5703 GB, free: 8.684 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.721e-05/0.3667, allocations: 33.7 kB / 0.5704 GB, free: 8.645 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.3669, allocations: 184.9 kB / 0.5705 GB, free: 8.461 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000191/0.3671, allocations: 214.1 kB / 0.5708 GB, free: 8.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.3672, allocations: 82.25 kB / 0.5708 GB, free: 8.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.3674, allocations: 350.7 kB / 0.5712 GB, free: 7.809 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002682/0.3677, allocations: 129.1 kB / 0.5713 GB, free: 7.684 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003567/0.368, allocations: 235.8 kB / 0.5715 GB, free: 7.422 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006595/0.3687, allocations: 394 kB / 0.5719 GB, free: 7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3687, allocations: 4 kB / 0.5719 GB, free: 6.996 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001111/0.3698, allocations: 0.5541 MB / 0.5724 GB, free: 6.426 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.3698, allocations: 4 kB / 0.5724 GB, free: 6.422 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.3698, allocations: 4 kB / 0.5724 GB, free: 6.418 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004046/0.3702, allocations: 134.5 kB / 0.5726 GB, free: 6.277 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003771/0.3706, allocations: 87.89 kB / 0.5727 GB, free: 6.191 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005057/0.3757, allocations: 5.23 MB / 0.5778 GB, free: 0.543 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003186/0.376, allocations: 16 kB / 0.5778 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.343e-05/0.376, allocations: 16 kB / 0.5778 GB, free: 0.5117 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.0002662/0.3763, allocations: 169.8 kB / 0.578 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.3764, allocations: 39.77 kB / 0.578 GB, free: 304 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/0.3765, allocations: 50.17 kB / 0.578 GB, free: 252 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.3765, allocations: 4 kB / 0.578 GB, free: 248 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.631e-05/0.3765, allocations: 7.938 kB / 0.578 GB, free: 240 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.3765, allocations: 0 / 0.578 GB, free: 240 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002231/0.3788, allocations: 1.327 MB / 0.5793 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.3788, allocations: 4 kB / 0.5793 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004247/0.3792, allocations: 95.88 kB / 0.5794 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002971/0.3795, allocations: 102.4 kB / 0.5795 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.311e-05/0.3795, allocations: 16 kB / 0.5796 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004074/0.3836, allocations: 4.427 MB / 0.5839 GB, free: 9.762 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/0.3836, allocations: 4 kB / 0.5839 GB, free: 9.758 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001598/0.3852, allocations: 0.9295 MB / 0.5848 GB, free: 8.793 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000169/0.3854, allocations: 108.9 kB / 0.5849 GB, free: 8.668 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.25e-05/0.3854, allocations: 16 kB / 0.5849 GB, free: 8.652 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002767/0.3857, allocations: 16 kB / 0.5849 GB, free: 8.637 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/0.3858, allocations: 47.88 kB / 0.585 GB, free: 8.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.969e-05/0.3859, allocations: 19.98 kB / 0.585 GB, free: 8.57 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001913/0.3861, allocations: 178 kB / 0.5852 GB, free: 8.398 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3861, allocations: 0 / 0.5852 GB, free: 8.398 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007618/0.3868, allocations: 120 kB / 0.5853 GB, free: 8.281 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.001818/0.3886, allocations: 1.48 MB / 0.5867 GB, free: 6.754 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001467/0.3901, allocations: 0.7621 MB / 0.5875 GB, free: 5.953 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.3901, allocations: 0 / 0.5875 GB, free: 5.953 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008476/0.391, allocations: 0.5563 MB / 0.588 GB, free: 5.359 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006935/0.3916, allocations: 64.97 kB / 0.5881 GB, free: 5.297 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006288/0.3979, allocations: 4.176 MB / 0.5921 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005379/0.3985, allocations: 0.8202 MB / 0.5929 GB, free: 84 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001533/0.3986, allocations: 31.27 kB / 0.593 GB, free: 52 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002167/0.3988, allocations: 139.5 kB / 0.5931 GB, free: 15.91 MB / 446.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3988, allocations: 0 / 0.5931 GB, free: 15.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04446/0.4433, allocations: 8.44 MB / 0.6014 GB, free: 7.582 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.42, allocations: 4.062 kB / 0.6014 GB, free: 7.578 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.232170890987618] Failed to read output from testmodel.py, exit status != 0: ['time', 'J2.phi', 'J2.w', 'J3.phi', 'J3.w', 'J5.phi', 'J5.w'] 11.513445637014229 11.540118742 11.179406653 Calling exit ...