Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.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.001299/0.001299, allocations: 117.9 kB / 18.5 MB, free: 4.52 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.001422/0.001422, allocations: 214.5 kB / 21.46 MB, free: 1.566 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.52/1.52, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.2391/0.2391, allocations: 46.93 MB / 357.7 MB, free: 10.21 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.SimpleDriveTrain,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_ForUsersGuide_SimpleDriveTrain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_ForUsersGuide_SimpleDriveTrain",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.002344/0.002344, allocations: 79.86 kB / 0.4917 GB, free: 7.754 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1313, allocations: 66.03 MB / 0.5561 GB, free: 5.59 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain): time 0.003531/0.1349, allocations: 1.928 MB / 0.558 GB, free: 3.645 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.136, allocations: 0.5688 MB / 0.5586 GB, free: 3.07 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.1361, allocations: 7.938 kB / 0.5586 GB, free: 3.062 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001416/0.1362, allocations: 19.8 kB / 0.5586 GB, free: 3.043 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000136/0.1364, allocations: 43.62 kB / 0.5586 GB, free: 3 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002482/0.1366, allocations: 47.88 kB / 0.5587 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002231/0.1369, allocations: 151.2 kB / 0.5588 GB, free: 2.805 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.137, allocations: 41.66 kB / 0.5589 GB, free: 2.762 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001787/0.1372, allocations: 75.77 kB / 0.5589 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.1373, allocations: 63.7 kB / 0.559 GB, free: 2.625 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/0.1373, allocations: 8 kB / 0.559 GB, free: 2.617 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.035e-05/0.1374, allocations: 20 kB / 0.559 GB, free: 2.598 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.098e-05/0.1374, allocations: 31.84 kB / 0.5591 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.423e-05/0.1375, allocations: 71.61 kB / 0.5591 GB, free: 2.496 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002567/0.1378, allocations: 155.3 kB / 0.5593 GB, free: 2.344 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1378, allocations: 0 / 0.5593 GB, free: 2.344 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1378, allocations: 0 / 0.5593 GB, free: 2.344 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.1378, allocations: 0 / 0.5593 GB, free: 2.344 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006646/0.1385, allocations: 446.8 kB / 0.5597 GB, free: 1.859 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.1385, allocations: 8.031 kB / 0.5597 GB, free: 1.852 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.891e-05/0.1386, allocations: 50.73 kB / 0.5598 GB, free: 1.793 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.1387, allocations: 24.83 kB / 0.5598 GB, free: 1.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003178/0.139, allocations: 208.1 kB / 0.56 GB, free: 1.527 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.139, allocations: 12.38 kB / 0.56 GB, free: 1.516 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.129e-05/0.1391, allocations: 20.33 kB / 0.56 GB, free: 1.496 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002897/0.1394, allocations: 129.6 kB / 0.5601 GB, free: 1.363 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.1394, allocations: 0 / 0.5601 GB, free: 1.363 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/0.1394, allocations: 8 kB / 0.5601 GB, free: 1.355 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.1394, allocations: 4 kB / 0.5602 GB, free: 1.352 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001932/0.1396, allocations: 83.92 kB / 0.5602 GB, free: 1.27 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007935/0.1404, allocations: 468.3 kB / 0.5607 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002482/0.1406, allocations: 110.5 kB / 0.5608 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/0.1407, allocations: 52.83 kB / 0.5608 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.1408, allocations: 0 / 0.5608 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.1408, allocations: 38.5 kB / 0.5609 GB, free: 0.543 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.1408, allocations: 0 / 0.5609 GB, free: 0.543 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.00165/0.1424, allocations: 0.8168 MB / 0.5617 GB, free: 15.64 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.1425, allocations: 51.41 kB / 0.5617 GB, free: 15.57 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.1426, allocations: 148 kB / 0.5619 GB, free: 15.42 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.1427, allocations: 25.7 kB / 0.5619 GB, free: 15.39 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.591e-05/0.1428, allocations: 124.4 kB / 0.562 GB, free: 15.26 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.055e-05/0.1428, allocations: 67.38 kB / 0.5621 GB, free: 15.2 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.529e-05/0.1429, allocations: 37.7 kB / 0.5621 GB, free: 15.15 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.143, allocations: 322.8 kB / 0.5624 GB, free: 14.83 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.1432, allocations: 43.98 kB / 0.5625 GB, free: 14.79 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.1433, allocations: 83.22 kB / 0.5625 GB, free: 14.69 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002438/0.1435, allocations: 135.4 kB / 0.5627 GB, free: 14.55 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1435, allocations: 0 / 0.5627 GB, free: 14.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004286/0.144, allocations: 206.1 kB / 0.5629 GB, free: 14.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.144, allocations: 13.97 kB / 0.5629 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.144, allocations: 4.031 kB / 0.5629 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001892/0.1442, allocations: 44.84 kB / 0.5629 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.1444, allocations: 39.97 kB / 0.563 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001787/0.1462, allocations: 1.736 MB / 0.5647 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.551e-05/0.1462, allocations: 4.031 kB / 0.5647 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.1463, allocations: 8 kB / 0.5647 GB, free: 12.34 MB / 430.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001411/0.1464, allocations: 137.2 kB / 0.5648 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.4e-05/0.1464, allocations: 15.91 kB / 0.5648 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.096e-05/0.1465, allocations: 17.19 kB / 0.5648 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.1465, allocations: 7.938 kB / 0.5648 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.1465, allocations: 0 / 0.5648 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.1465, allocations: 0 / 0.5648 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008931/0.1474, allocations: 0.5506 MB / 0.5654 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1474, allocations: 0 / 0.5654 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001886/0.1476, allocations: 40.16 kB / 0.5654 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001194/0.1477, allocations: 28.78 kB / 0.5654 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.1477, allocations: 8 kB / 0.5654 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001402/0.1491, allocations: 1.473 MB / 0.5669 GB, free: 9.859 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.1491, allocations: 7.922 kB / 0.5669 GB, free: 9.852 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005592/0.1497, allocations: 345.1 kB / 0.5672 GB, free: 9.492 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.526e-05/0.1498, allocations: 89.02 kB / 0.5673 GB, free: 9.387 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.1498, allocations: 4 kB / 0.5673 GB, free: 9.383 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.752e-05/0.1499, allocations: 7.984 kB / 0.5673 GB, free: 9.375 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.959e-05/0.1499, allocations: 19.86 kB / 0.5673 GB, free: 9.355 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.15, allocations: 4 kB / 0.5673 GB, free: 9.352 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.804e-05/0.1501, allocations: 111.8 kB / 0.5674 GB, free: 9.242 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1501, allocations: 0 / 0.5674 GB, free: 9.242 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003565/0.1504, allocations: 40 kB / 0.5675 GB, free: 9.203 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0009306/0.1513, allocations: 0.8764 MB / 0.5683 GB, free: 8.297 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005811/0.1519, allocations: 258.8 kB / 0.5686 GB, free: 8.031 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1519, allocations: 0 / 0.5686 GB, free: 8.031 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000294/0.1522, allocations: 192.5 kB / 0.5688 GB, free: 7.832 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.1526, allocations: 19.94 kB / 0.5688 GB, free: 7.812 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002856/0.1554, allocations: 2.061 MB / 0.5708 GB, free: 5.645 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000424/0.1559, allocations: 0.7205 MB / 0.5715 GB, free: 4.895 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.094e-05/0.1559, allocations: 17.41 kB / 0.5715 GB, free: 4.879 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.324e-05/0.156, allocations: 43.42 kB / 0.5716 GB, free: 4.836 MB / 430.1 MB Notification: Performance of SimCode: time 7.51e-07/0.156, allocations: 0 / 0.5716 GB, free: 4.836 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03265/0.1887, allocations: 3.495 MB / 0.575 GB, free: 1.5 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/10.94, allocations: 3.25 kB / 0.575 GB, free: 1.5 MB / 430.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain_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_ForUsersGuide_SimpleDriveTrain.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.163662743754685] Failed to read output from testmodel.py, exit status != 0: ['time', 'J2.phi', 'J2.w'] 11.022195293568075 11.04142396 10.899936798 Calling exit ...