Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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.001296/0.001296, allocations: 109.4 kB / 19.8 MB, free: 2.5 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.001503/0.001503, allocations: 214.4 kB / 23 MB, free: 5.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.484/1.484, allocations: 230.5 MB / 256.5 MB, free: 8.246 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-beta.om/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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex 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. Warning: Requested package ModelicaServices 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.00194/0.00194, allocations: 67.84 kB / 376.2 MB, free: 4.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2812, allocations: 53.32 MB / 429.5 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.008963/0.2902, allocations: 6.583 MB / 436.1 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00503/0.2952, allocations: 2.643 MB / 438.8 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005322/0.2957, allocations: 20 kB / 438.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003048/0.2988, allocations: 1.271 MB / 440 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00147/0.3003, allocations: 0.5386 MB / 440.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002521/0.3028, allocations: 1.268 MB / 441.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001358/0.3041, allocations: 1.082 MB / 442.9 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001116/0.3052, allocations: 0.6927 MB / 443.6 MB, free: 9.223 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005873/0.3058, allocations: 450.3 kB / 444.1 MB, free: 8.781 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006948/0.3065, allocations: 0.5446 MB / 444.6 MB, free: 8.234 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001323/0.3067, allocations: 96 kB / 444.7 MB, free: 8.141 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008409/0.3075, allocations: 419.6 kB / 445.1 MB, free: 7.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000215/0.3077, allocations: 239.1 kB / 445.4 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005159/0.3082, allocations: 0.5208 MB / 445.9 MB, free: 6.973 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001914/0.3101, allocations: 1.529 MB / 447.4 MB, free: 5.438 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3102, allocations: 4 kB / 447.4 MB, free: 5.434 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3102, allocations: 0 / 447.4 MB, free: 5.434 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.896e-05/0.3102, allocations: 0 / 447.4 MB, free: 5.434 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.004343/0.3145, allocations: 1.669 MB / 449.1 MB, free: 3.707 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.3146, allocations: 12.03 kB / 449.1 MB, free: 3.695 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002324/0.3148, allocations: 171.4 kB / 449.3 MB, free: 3.516 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003243/0.318, allocations: 475.8 kB / 449.7 MB, free: 3.051 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007293/0.3188, allocations: 0.4982 MB / 450.2 MB, free: 2.516 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.925e-05/0.3188, allocations: 86.23 kB / 450.3 MB, free: 2.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001781/0.319, allocations: 112 kB / 450.4 MB, free: 2.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001884/0.3209, allocations: 0.9708 MB / 451.4 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.194e-05/0.3209, allocations: 3.984 kB / 451.4 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.321, allocations: 48 kB / 451.4 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.473e-05/0.3211, allocations: 27.94 kB / 451.5 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001992/0.3231, allocations: 0.9653 MB / 452.4 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006298/0.3293, allocations: 3.771 MB / 456.2 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00216/0.3315, allocations: 1.482 MB / 457.7 MB, free: 10.61 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007987/0.3323, allocations: 396.3 kB / 458.1 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001966/0.3325, allocations: 179.3 kB / 458.2 MB, free: 10.01 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009208/0.3334, allocations: 486.4 kB / 458.7 MB, free: 9.516 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 2.505e-06/0.3334, allocations: 0 / 458.7 MB, free: 9.516 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.009563/0.343, allocations: 4.004 MB / 462.7 MB, free: 5.395 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001277/0.3431, allocations: 145.5 kB / 462.9 MB, free: 5.223 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000533/0.3437, allocations: 409.5 kB / 463.3 MB, free: 4.816 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.86e-05/0.3437, allocations: 45.7 kB / 463.3 MB, free: 4.766 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003756/0.3441, allocations: 437 kB / 463.7 MB, free: 4.332 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000374/0.3445, allocations: 444.1 kB / 464.2 MB, free: 3.895 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003333/0.3448, allocations: 206.9 kB / 464.4 MB, free: 3.688 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002101/0.345, allocations: 382.8 kB / 464.7 MB, free: 3.305 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000765/0.3458, allocations: 350.5 kB / 465.1 MB, free: 2.961 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009097/0.3467, allocations: 0.539 MB / 465.6 MB, free: 2.359 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001747/0.3484, allocations: 0.9465 MB / 466.6 MB, free: 1.355 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.3485, allocations: 4 kB / 466.6 MB, free: 1.352 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002894/0.3513, allocations: 1.371 MB / 467.9 MB, free: 15.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.3514, allocations: 8 kB / 468 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.3514, allocations: 4 kB / 468 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009679/0.3524, allocations: 354 kB / 468.3 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008565/0.3532, allocations: 203.7 kB / 468.5 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009235/0.3624, allocations: 8.502 MB / 477 MB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007387/0.3632, allocations: 39.98 kB / 477 MB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-05/0.3633, allocations: 51.98 kB / 477.1 MB, free: 6.25 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 (114): * Single equations (assignments): 110 * 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.0004788/0.3637, allocations: 257.5 kB / 477.3 MB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001961/0.3639, allocations: 75.59 kB / 477.4 MB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00274/0.3667, allocations: 1.293 MB / 478.7 MB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.538e-05/0.3667, allocations: 12 kB / 478.7 MB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.3667, allocations: 4 kB / 478.7 MB, free: 4.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-05/0.3667, allocations: 11.97 kB / 478.7 MB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004487/0.3712, allocations: 2.522 MB / 481.3 MB, free: 1.965 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.3712, allocations: 3.938 kB / 481.3 MB, free: 1.961 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007118/0.3719, allocations: 155.8 kB / 481.4 MB, free: 1.809 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008528/0.3728, allocations: 330.4 kB / 481.7 MB, free: 1.477 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.515e-05/0.3728, allocations: 27.98 kB / 481.8 MB, free: 1.449 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008724/0.3816, allocations: 8.119 MB / 489.9 MB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.3816, allocations: 4.031 kB / 489.9 MB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003584/0.3852, allocations: 1.813 MB / 491.7 MB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003709/0.3855, allocations: 224.6 kB / 491.9 MB, free: 6.68 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.713e-05/0.3856, allocations: 27.98 kB / 491.9 MB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005059/0.3861, allocations: 35.98 kB / 492 MB, free: 6.617 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000213/0.3863, allocations: 96.8 kB / 492.1 MB, free: 6.523 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.975e-05/0.3864, allocations: 36 kB / 492.1 MB, free: 6.488 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003455/0.3868, allocations: 279.2 kB / 492.4 MB, free: 6.215 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3868, allocations: 0 / 492.4 MB, free: 6.215 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001173/0.3879, allocations: 316 kB / 492.7 MB, free: 5.906 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (85): * Single equations (assignments): 80 * 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.004036/0.392, allocations: 2.427 MB / 495.1 MB, free: 3.418 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003004/0.395, allocations: 1.561 MB / 496.7 MB, free: 1.809 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.395, allocations: 0 / 496.7 MB, free: 1.809 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001849/0.3968, allocations: 1.103 MB / 497.8 MB, free: 0.6562 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006494/0.3975, allocations: 69.73 kB / 497.9 MB, free: 0.5898 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.013/0.4105, allocations: 7.344 MB / 0.4934 GB, free: 8.961 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008011/0.4113, allocations: 1.024 MB / 0.4944 GB, free: 7.906 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000425/0.4117, allocations: 98.16 kB / 0.4945 GB, free: 7.809 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004875/0.4122, allocations: 351.3 kB / 0.4948 GB, free: 7.465 MB / 414.1 MB Notification: Performance of SimCode: time 1.112e-06/0.4122, allocations: 0 / 0.4948 GB, free: 7.465 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06505/0.4772, allocations: 18.85 MB / 0.5132 GB, free: 4.754 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.31/17.79, allocations: 0 / 0.5132 GB, free: 4.754 MB / 430.1 MB " [Timeout remaining time 642] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-07 Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.215042436000658] 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'] 17.88578687599511 17.901910147 17.588234284 Calling exit ...