Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001827/0.001827, allocations: 116 kB / 18.49 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002048/0.002048, allocations: 190.6 kB / 21.44 MB, free: 1.73 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 225.6 MB / 249.8 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 43.94 kB / 366.3 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09934/0.1008, allocations: 52.16 MB / 418.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.008032/0.1089, allocations: 6.486 MB / 425 MB, free: 6.078 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004442/0.1133, allocations: 2.57 MB / 427.6 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004988/0.1138, allocations: 19.94 kB / 427.6 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002866/0.1167, allocations: 1.279 MB / 428.8 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001697/0.1184, allocations: 0.6904 MB / 429.5 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002102/0.1205, allocations: 1.105 MB / 430.6 MB, free: 408 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001291/0.1217, allocations: 1.067 MB / 431.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001074/0.1228, allocations: 0.7 MB / 432.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005496/0.1234, allocations: 454.3 kB / 432.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006568/0.124, allocations: 0.5368 MB / 433.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001291/0.1242, allocations: 96 kB / 433.5 MB, free: 13.53 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008131/0.125, allocations: 403.6 kB / 433.9 MB, free: 13.13 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002135/0.1252, allocations: 239.1 kB / 434.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004719/0.1257, allocations: 0.5131 MB / 434.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001709/0.1274, allocations: 1.51 MB / 436.1 MB, free: 10.87 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1274, allocations: 4 kB / 436.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1274, allocations: 0 / 436.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.456e-05/0.1274, allocations: 0 / 436.1 MB, free: 10.86 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.004323/0.1317, allocations: 1.665 MB / 437.8 MB, free: 9.141 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.1318, allocations: 8.031 kB / 437.8 MB, free: 9.133 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.831e-05/0.1318, allocations: 33.52 kB / 437.8 MB, free: 9.098 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002338/0.1321, allocations: 171.5 kB / 438 MB, free: 8.918 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003094/0.1352, allocations: 491.8 kB / 438.5 MB, free: 8.438 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006867/0.1358, allocations: 490.1 kB / 439 MB, free: 7.922 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.461e-05/0.1359, allocations: 86.23 kB / 439.1 MB, free: 7.836 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001678/0.1361, allocations: 116 kB / 439.2 MB, free: 7.723 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001838/0.1379, allocations: 0.9785 MB / 440.1 MB, free: 6.715 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.549e-05/0.138, allocations: 0 / 440.1 MB, free: 6.715 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/0.1381, allocations: 51.98 kB / 440.2 MB, free: 6.664 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.362e-05/0.1381, allocations: 28 kB / 440.2 MB, free: 6.637 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001905/0.14, allocations: 0.9653 MB / 441.2 MB, free: 5.664 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005783/0.1458, allocations: 3.688 MB / 444.9 MB, free: 1.762 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002068/0.1478, allocations: 1.5 MB / 446.4 MB, free: 92 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1701/0.3179, allocations: 400.7 kB / 446.8 MB, free: 29.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001051/0.318, allocations: 96.44 kB / 446.9 MB, free: 29.67 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007718/0.3188, allocations: 482.2 kB / 447.3 MB, free: 29.58 MB / 366.1 MB Notification: Performance of pre-optimization done (n=98): time 2.525e-06/0.3188, allocations: 0 / 447.3 MB, free: 29.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=130): time 0.008445/0.3272, allocations: 4.159 MB / 451.5 MB, free: 28.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/0.3273, allocations: 144.2 kB / 451.6 MB, free: 28.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003942/0.3277, allocations: 394.1 kB / 452 MB, free: 28.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.511e-05/0.3278, allocations: 46.45 kB / 452.1 MB, free: 28.42 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002312/0.328, allocations: 431.2 kB / 452.5 MB, free: 28.21 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002653/0.3282, allocations: 461 kB / 452.9 MB, free: 27.94 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002899/0.3285, allocations: 214.5 kB / 453.1 MB, free: 27.92 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.406e-05/0.3286, allocations: 377.5 kB / 453.5 MB, free: 27.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007069/0.3293, allocations: 368.2 kB / 453.9 MB, free: 27.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008548/0.3302, allocations: 0.5521 MB / 454.4 MB, free: 27.19 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001569/0.3318, allocations: 0.9703 MB / 455.4 MB, free: 26.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.3318, allocations: 1.25 kB / 455.4 MB, free: 26.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002558/0.3343, allocations: 1.407 MB / 456.8 MB, free: 26.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.3343, allocations: 12.59 kB / 456.8 MB, free: 26.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.3344, allocations: 5.156 kB / 456.8 MB, free: 26.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008649/0.3352, allocations: 353.6 kB / 457.2 MB, free: 25.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008336/0.3361, allocations: 217.3 kB / 457.4 MB, free: 25.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006244/0.3423, allocations: 8.479 MB / 465.9 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007566/0.3431, allocations: 53.77 kB / 465.9 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.606e-05/0.3431, allocations: 42.88 kB / 466 MB, free: 18.61 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 115 * 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%), (1,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003668/0.3435, allocations: 268.1 kB / 466.2 MB, free: 18.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.93e-05/0.3436, allocations: 74.12 kB / 466.3 MB, free: 18.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002407/0.346, allocations: 1.331 MB / 467.6 MB, free: 17.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.346, allocations: 12.38 kB / 467.6 MB, free: 17.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.346, allocations: 13.05 kB / 467.6 MB, free: 17.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.442e-05/0.346, allocations: 6.281 kB / 467.7 MB, free: 17.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003922/0.35, allocations: 2.595 MB / 470.2 MB, free: 16.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.35, allocations: 9.281 kB / 470.3 MB, free: 16.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006946/0.3507, allocations: 159 kB / 470.4 MB, free: 16.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007842/0.3515, allocations: 332.7 kB / 470.7 MB, free: 16.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.538e-05/0.3515, allocations: 27.5 kB / 470.8 MB, free: 16.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005839/0.3574, allocations: 8.123 MB / 478.9 MB, free: 9.234 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.3574, allocations: 6.688 kB / 478.9 MB, free: 9.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003133/0.3605, allocations: 1.865 MB / 480.8 MB, free: 8.281 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003022/0.3608, allocations: 224.8 kB / 481 MB, free: 8.102 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.266e-05/0.3609, allocations: 29.22 kB / 481 MB, free: 8.082 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005109/0.3614, allocations: 43.44 kB / 481 MB, free: 8.062 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002096/0.3616, allocations: 101.9 kB / 481.1 MB, free: 8.043 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.002e-05/0.3617, allocations: 36.77 kB / 481.2 MB, free: 8.035 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002732/0.3619, allocations: 269.7 kB / 481.4 MB, free: 7.895 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3619, allocations: 0 / 481.4 MB, free: 7.895 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001229/0.3632, allocations: 327.6 kB / 481.8 MB, free: 7.836 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 3 (coil.i,rootMeanSquare.mean.x,sourceQS.pin_p.reference.gamma) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 85 * 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 {(1,19,100.0%), (1,2,100.0%), (1,4,100.0%), (2,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003278/0.3664, allocations: 2.492 MB / 484.3 MB, free: 6.316 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002499/0.3689, allocations: 1.587 MB / 485.8 MB, free: 5.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.369, allocations: 5.312 kB / 485.8 MB, free: 5.426 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001401/0.3704, allocations: 1.135 MB / 487 MB, free: 4.688 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005255/0.3709, allocations: 81 kB / 487.1 MB, free: 4.641 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009892/0.3808, allocations: 7.453 MB / 494.5 MB, free: 15.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007219/0.3815, allocations: 1.025 MB / 495.5 MB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004121/0.3819, allocations: 106 kB / 495.6 MB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004629/0.3824, allocations: 347.3 kB / 496 MB, free: 14.43 MB / 382.1 MB Notification: Performance of SimCode: time 9.71e-07/0.3824, allocations: 0 / 496 MB, free: 14.43 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05727/0.4396, allocations: 18.83 MB / 0.5028 GB, free: 11.8 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.03, allocations: 18.36 kB / 0.5028 GB, free: 11.79 MB / 398.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-07 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.7137453170144] 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.180074419011362 12.194992304 12.064489837 Calling exit ...