Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001246/0.001246, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001284/0.001284, allocations: 212.6 kB / 24.51 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.411/1.411, allocations: 230.6 MB / 258.3 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 47.94 kB / 378.5 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2783, allocations: 53.36 MB / 431.9 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.007835/0.2862, allocations: 5.843 MB / 437.7 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004379/0.2905, allocations: 2.453 MB / 440.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005334/0.2911, allocations: 19.94 kB / 440.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002856/0.2939, allocations: 1.196 MB / 441.4 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00121/0.2951, allocations: 0.5228 MB / 441.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002262/0.2974, allocations: 1.19 MB / 443.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00113/0.2985, allocations: 1.071 MB / 444.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001075/0.2996, allocations: 0.7857 MB / 444.9 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005043/0.3001, allocations: 466.3 kB / 445.4 MB, free: 9.043 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006574/0.3008, allocations: 0.5407 MB / 445.9 MB, free: 8.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001354/0.3009, allocations: 100 kB / 446 MB, free: 8.402 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006852/0.3016, allocations: 411.6 kB / 446.4 MB, free: 8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002013/0.3018, allocations: 231.2 kB / 446.7 MB, free: 7.773 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004183/0.3022, allocations: 441.9 kB / 447.1 MB, free: 7.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001636/0.3039, allocations: 1.533 MB / 448.6 MB, free: 5.801 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3039, allocations: 3.938 kB / 448.6 MB, free: 5.797 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3039, allocations: 0 / 448.6 MB, free: 5.797 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.317e-05/0.3039, allocations: 0 / 448.6 MB, free: 5.797 MB / 350.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.004171/0.308, allocations: 1.692 MB / 450.3 MB, free: 4.062 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.3081, allocations: 12.03 kB / 450.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.493e-05/0.3081, allocations: 33.52 kB / 450.4 MB, free: 4.016 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002299/0.3084, allocations: 171.5 kB / 450.5 MB, free: 3.836 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003121/0.3115, allocations: 479.8 kB / 451 MB, free: 3.367 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006775/0.3122, allocations: 456.7 kB / 451.4 MB, free: 2.895 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.573e-05/0.3122, allocations: 82.23 kB / 451.5 MB, free: 2.812 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001777/0.3124, allocations: 116 kB / 451.6 MB, free: 2.699 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00186/0.3143, allocations: 1.025 MB / 452.7 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.054e-05/0.3143, allocations: 3.938 kB / 452.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/0.3144, allocations: 48 kB / 452.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.533e-05/0.3144, allocations: 28 kB / 452.7 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001838/0.3163, allocations: 0.9692 MB / 453.7 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005447/0.3217, allocations: 3.083 MB / 456.8 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001696/0.3234, allocations: 0.8242 MB / 457.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007513/0.3242, allocations: 397.5 kB / 458 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-05/0.3243, allocations: 32.97 kB / 458 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009182/0.3252, allocations: 0.5174 MB / 458.6 MB, free: 11.55 MB / 366.1 MB Notification: Performance of pre-optimization done (n=98): time 2.504e-06/0.3252, allocations: 0 / 458.6 MB, free: 11.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=130): time 0.009564/0.3348, allocations: 3.891 MB / 462.4 MB, free: 7.621 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.177e-05/0.3348, allocations: 141.8 kB / 462.6 MB, free: 7.453 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004693/0.3353, allocations: 409.5 kB / 463 MB, free: 7.047 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.089e-05/0.3354, allocations: 53.69 kB / 463 MB, free: 6.988 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003164/0.3357, allocations: 437 kB / 463.5 MB, free: 6.555 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003506/0.3361, allocations: 456 kB / 463.9 MB, free: 6.105 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003316/0.3364, allocations: 214.9 kB / 464.1 MB, free: 5.891 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.3366, allocations: 382.7 kB / 464.5 MB, free: 5.508 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007306/0.3373, allocations: 358.5 kB / 464.8 MB, free: 5.156 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009067/0.3382, allocations: 0.6009 MB / 465.4 MB, free: 4.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001643/0.3398, allocations: 0.9615 MB / 466.4 MB, free: 3.461 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.3398, allocations: 0 / 466.4 MB, free: 3.461 MB / 366.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002611/0.3425, allocations: 1.394 MB / 467.8 MB, free: 2.047 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.3425, allocations: 8 kB / 467.8 MB, free: 2.039 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.3425, allocations: 4 kB / 467.8 MB, free: 2.035 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008909/0.3434, allocations: 343.2 kB / 468.1 MB, free: 1.688 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008669/0.3442, allocations: 215.7 kB / 468.4 MB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008508/0.3528, allocations: 7.996 MB / 476.4 MB, free: 9.031 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006777/0.3534, allocations: 48.28 kB / 476.4 MB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-05/0.3535, allocations: 59.94 kB / 476.5 MB, free: 8.926 MB / 382.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.000431/0.3539, allocations: 265.5 kB / 476.7 MB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.3541, allocations: 75.53 kB / 476.8 MB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002659/0.3567, allocations: 1.325 MB / 478.1 MB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/0.3567, allocations: 19.94 kB / 478.1 MB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/0.3568, allocations: 8 kB / 478.1 MB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.3568, allocations: 3.984 kB / 478.2 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004274/0.361, allocations: 2.428 MB / 480.6 MB, free: 4.699 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.361, allocations: 0 / 480.6 MB, free: 4.699 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007616/0.3618, allocations: 159.8 kB / 480.7 MB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008459/0.3627, allocations: 331.2 kB / 481.1 MB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.046e-05/0.3627, allocations: 31.98 kB / 481.1 MB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008025/0.3708, allocations: 7.628 MB / 488.7 MB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.3708, allocations: 0 / 488.7 MB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00355/0.3743, allocations: 1.871 MB / 490.6 MB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004103/0.3747, allocations: 155.4 kB / 490.7 MB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.3748, allocations: 24 kB / 490.8 MB, free: 10 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005319/0.3754, allocations: 35.98 kB / 490.8 MB, free: 9.965 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002867/0.3756, allocations: 108.7 kB / 490.9 MB, free: 9.859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.156e-05/0.3757, allocations: 39.98 kB / 490.9 MB, free: 9.82 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003756/0.3761, allocations: 275.2 kB / 491.2 MB, free: 9.551 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3761, allocations: 0 / 491.2 MB, free: 9.551 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001375/0.3775, allocations: 331.9 kB / 491.5 MB, free: 9.227 MB / 398.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_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%), (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.004093/0.3816, allocations: 2.484 MB / 494 MB, free: 6.68 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003249/0.3848, allocations: 1.572 MB / 495.6 MB, free: 5.051 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/0.3848, allocations: 3.938 kB / 495.6 MB, free: 5.047 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001902/0.3867, allocations: 1.115 MB / 496.7 MB, free: 3.887 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006564/0.3874, allocations: 81.7 kB / 496.8 MB, free: 3.805 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01278/0.4002, allocations: 7.441 MB / 0.4924 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006226/0.4008, allocations: 444.5 kB / 0.4928 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004742/0.4013, allocations: 106.4 kB / 0.4929 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005004/0.4018, allocations: 351.3 kB / 0.4933 GB, free: 11.16 MB / 414.1 MB Notification: Performance of SimCode: time 1.673e-06/0.4018, allocations: 0 / 0.4933 GB, free: 11.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6022/1.004, allocations: 20.3 MB / 0.5131 GB, free: 7.109 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.41/19.42, allocations: 3.438 kB / 0.5131 GB, free: 7.109 MB / 430.1 MB " [Timeout remaining time 640] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-07 Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 23.089102910947986] 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'] 19.58970695291646 19.602790572 19.296046175 Calling exit ...