Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 102.9 kB / 21.96 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 214.5 kB / 25.26 MB, free: 3.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.372/1.372, allocations: 207.7 MB / 236.1 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 50.58 kB / 348 MB, free: 9.887 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2373, allocations: 49.16 MB / 397.1 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.006599/0.2439, allocations: 5.762 MB / 402.9 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00447/0.2484, allocations: 2.437 MB / 405.3 MB, free: 3.406 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000785/0.2492, allocations: 23.91 kB / 405.4 MB, free: 3.402 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002598/0.2518, allocations: 1.192 MB / 406.5 MB, free: 2.73 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001472/0.2532, allocations: 0.547 MB / 407.1 MB, free: 2.371 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002054/0.2553, allocations: 1.168 MB / 408.3 MB, free: 1.691 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001256/0.2565, allocations: 1.092 MB / 409.4 MB, free: 1.141 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001005/0.2575, allocations: 0.8006 MB / 410.2 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005055/0.2581, allocations: 460.1 kB / 410.6 MB, free: 448 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005908/0.2586, allocations: 0.5618 MB / 411.2 MB, free: 148 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001351/0.2588, allocations: 100.4 kB / 411.3 MB, free: 144 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007837/0.2596, allocations: 398.5 kB / 411.7 MB, free: 40 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000231/0.2598, allocations: 238.7 kB / 411.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004382/0.2602, allocations: 438.5 kB / 412.3 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001695/0.2619, allocations: 1.538 MB / 413.9 MB, free: 14.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2619, allocations: 0 / 413.9 MB, free: 14.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.572e-06/0.2619, allocations: 0 / 413.9 MB, free: 14.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.403e-05/0.2619, allocations: 1.188 kB / 413.9 MB, free: 14.59 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.004124/0.2661, allocations: 1.714 MB / 415.6 MB, free: 13.4 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.2661, allocations: 11.95 kB / 415.6 MB, free: 13.4 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.061e-05/0.2662, allocations: 36.22 kB / 415.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002242/0.2664, allocations: 183.7 kB / 415.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003734/0.2701, allocations: 0.5689 MB / 416.4 MB, free: 12.99 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006961/0.2708, allocations: 459.2 kB / 416.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.761e-05/0.2709, allocations: 85.38 kB / 416.9 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001724/0.2711, allocations: 119.5 kB / 417 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00188/0.2729, allocations: 1.062 MB / 418.1 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.356e-05/0.273, allocations: 9.453 kB / 418.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.2731, allocations: 45.34 kB / 418.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.283e-05/0.2731, allocations: 27.88 kB / 418.2 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001866/0.275, allocations: 1.032 MB / 419.2 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00551/0.2805, allocations: 3.167 MB / 422.4 MB, free: 8.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001746/0.2822, allocations: 0.8664 MB / 423.2 MB, free: 8.508 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007471/0.283, allocations: 407.1 kB / 423.6 MB, free: 8.316 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.78e-05/0.2831, allocations: 27.92 kB / 423.6 MB, free: 8.293 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009048/0.284, allocations: 0.5252 MB / 424.2 MB, free: 7.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=100): time 2.796e-06/0.284, allocations: 0 / 424.2 MB, free: 7.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=132): time 0.009298/0.2933, allocations: 3.883 MB / 428.1 MB, free: 3.816 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.2934, allocations: 149.8 kB / 428.2 MB, free: 3.641 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000501/0.2939, allocations: 425.7 kB / 428.6 MB, free: 3.219 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.164e-05/0.2939, allocations: 45.7 kB / 428.7 MB, free: 3.168 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003461/0.2943, allocations: 460.9 kB / 429.1 MB, free: 2.711 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003604/0.2946, allocations: 468 kB / 429.6 MB, free: 2.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003338/0.295, allocations: 227.5 kB / 429.8 MB, free: 2.02 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.2952, allocations: 382.8 kB / 430.2 MB, free: 1.637 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007115/0.2959, allocations: 371.8 kB / 430.5 MB, free: 1.273 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000924/0.2968, allocations: 0.6485 MB / 431.2 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001649/0.2984, allocations: 1.02 MB / 432.2 MB, free: 15.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.2984, allocations: 4 kB / 432.2 MB, free: 15.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=171) (initialization): time 0.002759/0.3012, allocations: 1.445 MB / 433.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.3012, allocations: 8 kB / 433.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/0.3012, allocations: 4 kB / 433.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009253/0.3022, allocations: 355.1 kB / 434 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009215/0.3031, allocations: 227.7 kB / 434.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007947/0.311, allocations: 8.002 MB / 442.2 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007615/0.3118, allocations: 59.98 kB / 442.3 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.868e-05/0.3119, allocations: 44 kB / 442.3 MB, free: 4.805 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y,$PRE.rootMeanSquare.mean.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,4,100.0%), (1,2,100.0%), (1,19,100.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004482/0.3123, allocations: 265.6 kB / 442.6 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.3125, allocations: 79.53 kB / 442.7 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002555/0.315, allocations: 1.348 MB / 444 MB, free: 3.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.315, allocations: 12 kB / 444 MB, free: 3.078 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.315, allocations: 12.12 kB / 444 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/0.315, allocations: 11.97 kB / 444 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004082/0.3191, allocations: 2.421 MB / 446.5 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.3191, allocations: 4 kB / 446.5 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007169/0.3198, allocations: 175.9 kB / 446.6 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007745/0.3206, allocations: 323.1 kB / 447 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-05/0.3207, allocations: 35.92 kB / 447 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007249/0.3279, allocations: 7.636 MB / 454.6 MB, free: 7.922 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/0.3279, allocations: 7.875 kB / 454.6 MB, free: 7.914 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003131/0.3311, allocations: 1.884 MB / 456.5 MB, free: 5.977 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003074/0.3314, allocations: 151.5 kB / 456.7 MB, free: 5.828 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.997e-05/0.3315, allocations: 24 kB / 456.7 MB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005075/0.332, allocations: 43.98 kB / 456.7 MB, free: 5.762 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000186/0.3322, allocations: 104.7 kB / 456.8 MB, free: 5.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.535e-05/0.3322, allocations: 35.98 kB / 456.9 MB, free: 5.625 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003081/0.3325, allocations: 283.1 kB / 457.2 MB, free: 5.348 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3325, allocations: 0 / 457.2 MB, free: 5.348 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001133/0.3337, allocations: 327.9 kB / 457.5 MB, free: 5.027 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 3 (rootMeanSquare.mean.x,coil.i,sourceQS.pin_p.reference.gamma) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,18,100.0%), (1,2,100.0%), (1,4,100.0%), (1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003602/0.3373, allocations: 2.505 MB / 460 MB, free: 2.465 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002663/0.3399, allocations: 1.615 MB / 461.6 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.34, allocations: 4 kB / 461.6 MB, free: 0.793 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001651/0.3416, allocations: 1.123 MB / 462.7 MB, free: 15.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00055/0.3422, allocations: 81.62 kB / 462.8 MB, free: 15.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01149/0.3536, allocations: 7.654 MB / 470.5 MB, free: 7.574 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004821/0.3541, allocations: 444.9 kB / 470.9 MB, free: 7.105 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004301/0.3546, allocations: 110.7 kB / 471 MB, free: 6.992 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000465/0.355, allocations: 355.3 kB / 471.3 MB, free: 6.645 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.355, allocations: 4 kB / 471.3 MB, free: 6.641 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05605/0.4111, allocations: 20.23 MB / 491.6 MB, free: 2.324 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/12.67, allocations: 7.797 kB / 491.6 MB, free: 2.316 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-07 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.34601818502415] Failed to read output from testmodel.py, exit status != 0: ['time', 'coil.Phi', 'coil.i', 'r_mLeak.port_p.Phi', 'rootMeanSquare.mean.x', 'sourceQS.pin_p.reference.gamma'] 12.855956426938064 12.884123871 12.617247368 Calling exit ...