Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor.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.001249/0.001249, allocations: 105.5 kB / 19.74 MB, free: 2.566 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.00129/0.00129, allocations: 222.6 kB / 22.92 MB, free: 5.539 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.272/1.272, allocations: 230.2 MB / 256.2 MB, free: 8.754 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.2001/0.2001, allocations: 46.88 MB / 359.3 MB, free: 4.98 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.Electrical.Analog.TestSaturatingInductor,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_Analog_TestSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestSaturatingInductor,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_Analog_TestSaturatingInductor",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.002118/0.002118, allocations: 75.88 kB / 0.494 GB, free: 9.117 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2575, allocations: 65.98 MB / 0.5584 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.002904/0.2605, allocations: 1.921 MB / 0.5603 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008998/0.2614, allocations: 0.6009 MB / 0.5609 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.065e-05/0.2614, allocations: 3.938 kB / 0.5609 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.869e-05/0.2614, allocations: 15.86 kB / 0.5609 GB, free: 2.668 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001722/0.2616, allocations: 43.69 kB / 0.5609 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002346/0.2619, allocations: 87.02 kB / 0.561 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001738/0.262, allocations: 151.5 kB / 0.5611 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.2621, allocations: 26.94 kB / 0.5612 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001836/0.2623, allocations: 75.7 kB / 0.5612 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.2624, allocations: 67.73 kB / 0.5613 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.133e-05/0.2625, allocations: 12 kB / 0.5613 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.595e-05/0.2625, allocations: 16 kB / 0.5613 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.665e-05/0.2625, allocations: 35.84 kB / 0.5614 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.527e-05/0.2626, allocations: 59.72 kB / 0.5614 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001985/0.2628, allocations: 147.4 kB / 0.5616 GB, free: 1.965 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.2628, allocations: 4 kB / 0.5616 GB, free: 1.961 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2628, allocations: 0 / 0.5616 GB, free: 1.961 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.2628, 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007257/0.2635, allocations: 450.9 kB / 0.562 GB, free: 1.473 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.2636, allocations: 8.031 kB / 0.562 GB, free: 1.465 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.248e-05/0.2636, allocations: 42.73 kB / 0.562 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002654/0.2639, allocations: 40.83 kB / 0.5621 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.264, allocations: 192.2 kB / 0.5623 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.2641, allocations: 4.375 kB / 0.5623 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.2641, allocations: 16.36 kB / 0.5623 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003063/0.2644, allocations: 138.5 kB / 0.5624 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.2644, allocations: 0 / 0.5624 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.2644, allocations: 4 kB / 0.5624 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.2644, allocations: 4 kB / 0.5624 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003145/0.2647, allocations: 99.86 kB / 0.5625 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007587/0.2655, allocations: 451.4 kB / 0.563 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002866/0.2658, allocations: 94.47 kB / 0.563 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001439/0.2659, allocations: 44.92 kB / 0.5631 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.2659, allocations: 0 / 0.5631 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.266, allocations: 30.56 kB / 0.5631 GB, free: 192 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.266, allocations: 7.938 kB / 0.5631 GB, free: 184 kB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.001321/0.2673, allocations: 317.1 kB / 0.5634 GB, free: 15.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.731e-05/0.2673, allocations: 106.8 kB / 0.5635 GB, free: 15.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.2675, allocations: 156 kB / 0.5637 GB, free: 15.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.2675, allocations: 25.7 kB / 0.5637 GB, free: 15.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.202e-05/0.2676, allocations: 116.2 kB / 0.5638 GB, free: 15.42 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.828e-05/0.2676, allocations: 15.86 kB / 0.5638 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.589e-05/0.2677, allocations: 25.7 kB / 0.5639 GB, free: 15.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.2678, allocations: 326.8 kB / 0.5642 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.268, allocations: 59.89 kB / 0.5642 GB, free: 14.99 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002431/0.2683, allocations: 100.2 kB / 0.5643 GB, free: 14.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004207/0.2687, allocations: 130.5 kB / 0.5644 GB, free: 14.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.2687, allocations: 4 kB / 0.5644 GB, free: 14.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000498/0.2692, allocations: 181.4 kB / 0.5646 GB, free: 14.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.2692, allocations: 12 kB / 0.5646 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.2692, allocations: 0 / 0.5646 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.2692, allocations: 4 kB / 0.5646 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005508/0.2698, allocations: 79.91 kB / 0.5647 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001415/0.2712, allocations: 1.504 MB / 0.5662 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/0.2714, allocations: 28.03 kB / 0.5662 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.2714, allocations: 3.938 kB / 0.5662 GB, free: 12.77 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001021/0.2715, allocations: 129.8 kB / 0.5663 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.002e-05/0.2715, allocations: 7.953 kB / 0.5663 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00048/0.272, allocations: 162.3 kB / 0.5665 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.272, allocations: 0 / 0.5665 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.41e-07/0.272, allocations: 64 / 0.5665 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.272, allocations: 4 kB / 0.5665 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000779/0.2728, allocations: 474.4 kB / 0.567 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2728, allocations: 0 / 0.567 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/0.273, allocations: 31.97 kB / 0.567 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.273, allocations: 0 / 0.567 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.273, allocations: 0 / 0.567 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.273, allocations: 3.938 kB / 0.567 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.273, allocations: 4 kB / 0.567 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005058/0.2735, allocations: 259.3 kB / 0.5672 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.119e-05/0.2735, allocations: 89.05 kB / 0.5673 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.2735, allocations: 0 / 0.5673 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.2738, allocations: 27.91 kB / 0.5673 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/0.2738, allocations: 8 kB / 0.5674 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.2738, allocations: 4 kB / 0.5674 GB, free: 11.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.266e-05/0.2739, allocations: 111.2 kB / 0.5675 GB, free: 11.38 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2739, allocations: 0 / 0.5675 GB, free: 11.38 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002566/0.2741, allocations: 28 kB / 0.5675 GB, free: 11.36 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (7): * Single equations (assignments): 7 * 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.0007788/0.2749, allocations: 0.7789 MB / 0.5683 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008278/0.2757, allocations: 167.8 kB / 0.5684 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2757, allocations: 3.938 kB / 0.5684 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002251/0.276, allocations: 72 kB / 0.5685 GB, free: 10.31 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.2763, allocations: 15.94 kB / 0.5685 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003253/0.2795, allocations: 1.987 MB / 0.5704 GB, free: 8.219 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.2798, allocations: 0.7002 MB / 0.5711 GB, free: 7.492 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.663e-05/0.2799, allocations: 8.438 kB / 0.5711 GB, free: 7.484 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.802e-05/0.2799, allocations: 35.42 kB / 0.5712 GB, free: 7.449 MB / 414.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2799, allocations: 0 / 0.5712 GB, free: 7.449 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02704/0.307, allocations: 3.172 MB / 0.5743 GB, free: 4.375 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.24/10.55, allocations: 15.38 kB / 0.5743 GB, free: 4.363 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_Analog_TestSaturatingInductor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_Analog_TestSaturatingInductor.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.045231026990223]