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.00142/0.00142, allocations: 105 kB / 19.74 MB, free: 2.453 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.001583/0.001583, allocations: 217 kB / 22.92 MB, free: 5.195 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.295/1.295, allocations: 230.2 MB / 256.2 MB, free: 8.594 MB / 206.1 MB " [Timeout remaining time 179] 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.1949/0.1949, allocations: 46.87 MB / 359.3 MB, free: 4.984 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.002114/0.002114, allocations: 80.14 kB / 0.494 GB, free: 9.129 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2444, allocations: 65.98 MB / 0.5584 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain): time 0.002857/0.2472, allocations: 1.936 MB / 0.5603 GB, free: 3.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008739/0.2481, allocations: 0.5737 MB / 0.5608 GB, free: 2.691 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.67e-05/0.2482, allocations: 4 kB / 0.5608 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.2483, allocations: 23.73 kB / 0.5609 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.777e-05/0.2484, allocations: 43.62 kB / 0.5609 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001951/0.2486, allocations: 47.89 kB / 0.561 GB, free: 2.574 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001847/0.2488, allocations: 151.3 kB / 0.5611 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.2489, allocations: 55.02 kB / 0.5611 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.249, allocations: 59.84 kB / 0.5612 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.2491, allocations: 71.62 kB / 0.5613 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.2492, allocations: 12 kB / 0.5613 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.403e-05/0.2492, allocations: 16 kB / 0.5613 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.698e-05/0.2492, allocations: 31.86 kB / 0.5613 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.94e-05/0.2493, allocations: 67.67 kB / 0.5614 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002103/0.2495, allocations: 159.3 kB / 0.5615 GB, free: 1.965 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.2495, allocations: 4 kB / 0.5616 GB, free: 1.961 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2495, allocations: 0 / 0.5616 GB, free: 1.961 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.2495, allocations: 0 / 0.5616 GB, free: 1.961 MB / 398.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.0005357/0.2501, allocations: 433.2 kB / 0.562 GB, free: 1.492 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.2501, allocations: 12.03 kB / 0.562 GB, free: 1.48 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.005e-05/0.2502, allocations: 46.73 kB / 0.562 GB, free: 1.426 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001348/0.2503, allocations: 32.83 kB / 0.5621 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.2505, allocations: 208.1 kB / 0.5622 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.2505, allocations: 8.375 kB / 0.5623 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.198e-05/0.2506, allocations: 16.33 kB / 0.5623 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002448/0.2508, allocations: 137.5 kB / 0.5624 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.2508, allocations: 0 / 0.5624 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.2508, allocations: 4 kB / 0.5624 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.2508, allocations: 4 kB / 0.5624 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001732/0.251, allocations: 83.94 kB / 0.5625 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006307/0.2516, allocations: 464.4 kB / 0.5629 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002136/0.2518, allocations: 125.9 kB / 0.5631 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.2519, allocations: 52.83 kB / 0.5631 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.252, allocations: 0 / 0.5631 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.252, allocations: 38.56 kB / 0.5631 GB, free: 168 kB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 9.02e-07/0.252, allocations: 0 / 0.5631 GB, free: 168 kB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001392/0.2534, allocations: 0.8102 MB / 0.5639 GB, free: 15.26 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.2534, allocations: 59.34 kB / 0.564 GB, free: 15.19 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.2535, allocations: 144.9 kB / 0.5641 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.2536, allocations: 29.7 kB / 0.5642 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.83e-05/0.2536, allocations: 116.4 kB / 0.5643 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.167e-05/0.2537, allocations: 67.39 kB / 0.5643 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.687e-05/0.2537, allocations: 41.7 kB / 0.5644 GB, free: 14.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.2539, allocations: 322.8 kB / 0.5647 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.456e-05/0.2539, allocations: 43.98 kB / 0.5647 GB, free: 14.4 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.2541, allocations: 75.34 kB / 0.5648 GB, free: 14.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.2543, allocations: 135.3 kB / 0.5649 GB, free: 14.17 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.2543, allocations: 0 / 0.5649 GB, free: 14.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003601/0.2546, allocations: 206.2 kB / 0.5651 GB, free: 13.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.2547, allocations: 10.12 kB / 0.5651 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.2547, allocations: 4 kB / 0.5651 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001461/0.2548, allocations: 36.84 kB / 0.5652 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.255, allocations: 43.91 kB / 0.5652 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001449/0.2564, allocations: 1.736 MB / 0.5669 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.852e-05/0.2565, allocations: 0 / 0.5669 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.2565, allocations: 12 kB / 0.5669 GB, free: 11.98 MB / 414.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 9.921e-05/0.2566, allocations: 125.8 kB / 0.567 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.616e-05/0.2566, allocations: 15.91 kB / 0.5671 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.684e-05/0.2567, allocations: 21.19 kB / 0.5671 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.2567, allocations: 8 kB / 0.5671 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.2567, allocations: 0 / 0.5671 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.2567, allocations: 4 kB / 0.5671 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007324/0.2574, allocations: 0.5467 MB / 0.5676 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.2574, allocations: 0 / 0.5676 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001619/0.2576, allocations: 39.97 kB / 0.5677 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.716e-05/0.2577, allocations: 32.88 kB / 0.5677 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.2577, allocations: 0 / 0.5677 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001133/0.2588, allocations: 1.49 MB / 0.5691 GB, free: 9.484 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2588, allocations: 0 / 0.5691 GB, free: 9.484 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004731/0.2593, allocations: 353 kB / 0.5695 GB, free: 9.117 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.872e-05/0.2593, allocations: 89.05 kB / 0.5696 GB, free: 9.012 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.2594, allocations: 4 kB / 0.5696 GB, free: 9.008 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.205e-05/0.2595, allocations: 7.984 kB / 0.5696 GB, free: 9 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.119e-05/0.2595, allocations: 19.92 kB / 0.5696 GB, free: 8.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.2595, allocations: 4 kB / 0.5696 GB, free: 8.977 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.37e-05/0.2596, allocations: 106.4 kB / 0.5697 GB, free: 8.875 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2596, allocations: 0 / 0.5697 GB, free: 8.875 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003053/0.2599, allocations: 47.94 kB / 0.5697 GB, free: 8.828 MB / 414.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.0007374/0.2606, allocations: 0.8741 MB / 0.5706 GB, free: 7.922 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004444/0.2611, allocations: 258.8 kB / 0.5708 GB, free: 7.656 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2611, allocations: 0 / 0.5708 GB, free: 7.656 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002496/0.2613, allocations: 193 kB / 0.571 GB, free: 7.457 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.2616, allocations: 16.33 kB / 0.571 GB, free: 7.441 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002288/0.2639, allocations: 2.08 MB / 0.5731 GB, free: 5.258 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.2642, allocations: 0.7166 MB / 0.5738 GB, free: 4.508 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.24e-05/0.2643, allocations: 13.42 kB / 0.5738 GB, free: 4.496 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.939e-05/0.2643, allocations: 43.42 kB / 0.5738 GB, free: 4.453 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.2643, allocations: 0 / 0.5738 GB, free: 4.453 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02961/0.2939, allocations: 3.442 MB / 0.5772 GB, free: 1.098 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.613/8.907, allocations: 4 kB / 0.5772 GB, free: 1.094 MB / 414.1 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_ForUsersGuide_SimpleDriveTrain_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 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: 11.378412956997636]