Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001692/0.001692, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001726/0.001726, allocations: 206.2 kB / 24.51 MB, free: 3.945 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.625/1.625, allocations: 230.5 MB / 258.2 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 59.89 kB / 378.5 MB, free: 2.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2983, allocations: 53.42 MB / 431.9 MB, free: 6.477 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.008481/0.3067, allocations: 5.839 MB / 437.8 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004974/0.3117, allocations: 2.453 MB / 440.2 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005873/0.3123, allocations: 23.94 kB / 440.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00306/0.3154, allocations: 1.194 MB / 441.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001633/0.317, allocations: 0.5233 MB / 441.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002385/0.3194, allocations: 1.183 MB / 443.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001136/0.3205, allocations: 1.074 MB / 444.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001065/0.3216, allocations: 0.7896 MB / 445 MB, free: 9.328 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000493/0.3221, allocations: 462.4 kB / 445.4 MB, free: 8.875 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006557/0.3227, allocations: 0.5484 MB / 446 MB, free: 8.324 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001272/0.3229, allocations: 96 kB / 446.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006944/0.3235, allocations: 411.7 kB / 446.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002187/0.3238, allocations: 235.1 kB / 446.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004139/0.3242, allocations: 437.9 kB / 447.1 MB, free: 7.168 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001651/0.3258, allocations: 1.529 MB / 448.7 MB, free: 5.633 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.3258, allocations: 0 / 448.7 MB, free: 5.633 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3258, allocations: 0 / 448.7 MB, free: 5.633 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.3258, allocations: 4 kB / 448.7 MB, free: 5.629 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.00424/0.3301, allocations: 1.695 MB / 450.4 MB, free: 3.895 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.3301, allocations: 12.03 kB / 450.4 MB, free: 3.883 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.459e-05/0.3302, allocations: 33.52 kB / 450.4 MB, free: 3.848 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002284/0.3304, allocations: 175.5 kB / 450.6 MB, free: 3.664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003198/0.3336, allocations: 471.8 kB / 451.1 MB, free: 3.203 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.3346, allocations: 456.7 kB / 451.5 MB, free: 2.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001105/0.3347, allocations: 90.23 kB / 451.6 MB, free: 2.641 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002557/0.335, allocations: 116 kB / 451.7 MB, free: 2.527 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002832/0.3378, allocations: 1.033 MB / 452.7 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.881e-05/0.3379, allocations: 0 / 452.7 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001563/0.338, allocations: 44 kB / 452.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.83e-05/0.3381, allocations: 28 kB / 452.8 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002935/0.341, allocations: 0.9614 MB / 453.8 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008402/0.3494, allocations: 3.083 MB / 456.8 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002504/0.3519, allocations: 0.8162 MB / 457.7 MB, free: 12.37 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001203/0.3531, allocations: 399.5 kB / 458.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001537/0.3533, allocations: 32.97 kB / 458.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001427/0.3547, allocations: 0.5253 MB / 458.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=98): time 4.859e-06/0.3547, allocations: 0 / 458.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=130): time 0.01416/0.3688, allocations: 3.888 MB / 462.5 MB, free: 7.457 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.369, allocations: 149.8 kB / 462.6 MB, free: 7.281 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005498/0.3695, allocations: 405.5 kB / 463 MB, free: 6.879 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.633e-05/0.3696, allocations: 53.69 kB / 463.1 MB, free: 6.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004269/0.37, allocations: 433 kB / 463.5 MB, free: 6.391 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00043/0.3704, allocations: 464 kB / 464 MB, free: 5.934 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003651/0.3708, allocations: 214.9 kB / 464.2 MB, free: 5.719 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000204/0.371, allocations: 374.8 kB / 464.5 MB, free: 5.344 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000804/0.3718, allocations: 362.5 kB / 464.9 MB, free: 4.988 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/0.3729, allocations: 0.6087 MB / 465.5 MB, free: 4.305 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001778/0.3746, allocations: 0.9537 MB / 466.5 MB, free: 3.297 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/0.3747, allocations: 4 kB / 466.5 MB, free: 3.293 MB / 366.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003024/0.3777, allocations: 1.39 MB / 467.9 MB, free: 1.883 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.3777, allocations: 8 kB / 467.9 MB, free: 1.875 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/0.3777, allocations: 4 kB / 467.9 MB, free: 1.871 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/0.3787, allocations: 347.1 kB / 468.2 MB, free: 1.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009308/0.3797, allocations: 215.7 kB / 468.4 MB, free: 1.309 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009335/0.389, allocations: 7.995 MB / 476.4 MB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007725/0.3898, allocations: 47.97 kB / 476.5 MB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/0.3899, allocations: 47.94 kB / 476.5 MB, free: 8.773 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.0005506/0.3905, allocations: 265.7 kB / 476.8 MB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002095/0.3907, allocations: 75.53 kB / 476.8 MB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002991/0.3937, allocations: 1.325 MB / 478.2 MB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/0.3937, allocations: 12 kB / 478.2 MB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-05/0.3937, allocations: 8 kB / 478.2 MB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.3937, allocations: 3.984 kB / 478.2 MB, free: 7.062 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005289/0.399, allocations: 2.428 MB / 480.6 MB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.817e-05/0.399, allocations: 4 kB / 480.6 MB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008393/0.3998, allocations: 167.8 kB / 480.8 MB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009515/0.4008, allocations: 335.4 kB / 481.1 MB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001043/0.4009, allocations: 27.98 kB / 481.1 MB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00888/0.4098, allocations: 7.632 MB / 488.8 MB, free: 11.94 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.4098, allocations: 4 kB / 488.8 MB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003888/0.4137, allocations: 1.864 MB / 490.6 MB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004378/0.4141, allocations: 159.4 kB / 490.8 MB, free: 9.863 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001658/0.4143, allocations: 24 kB / 490.8 MB, free: 9.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006311/0.4149, allocations: 39.98 kB / 490.9 MB, free: 9.801 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002564/0.4152, allocations: 100.8 kB / 491 MB, free: 9.703 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.347e-05/0.4153, allocations: 39.98 kB / 491 MB, free: 9.664 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004124/0.4157, allocations: 275.2 kB / 491.3 MB, free: 9.391 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4157, allocations: 0 / 491.3 MB, free: 9.391 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001549/0.4172, allocations: 331.9 kB / 491.6 MB, free: 9.066 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.004584/0.4218, allocations: 2.484 MB / 494.1 MB, free: 6.516 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003372/0.4252, allocations: 1.58 MB / 495.6 MB, free: 4.887 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.4252, allocations: 0 / 495.6 MB, free: 4.887 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00187/0.4271, allocations: 1.111 MB / 496.8 MB, free: 3.727 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007104/0.4278, allocations: 89.58 kB / 496.8 MB, free: 3.637 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01449/0.4423, allocations: 7.436 MB / 0.4925 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008273/0.4431, allocations: 440.5 kB / 0.4929 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005208/0.4436, allocations: 102.4 kB / 0.493 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006388/0.4442, allocations: 355.3 kB / 0.4933 GB, free: 11 MB / 414.1 MB Notification: Performance of SimCode: time 1.953e-06/0.4442, allocations: 11.88 kB / 0.4933 GB, free: 10.99 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2006/0.6448, allocations: 20.28 MB / 0.5131 GB, free: 6.914 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.08/19.73, allocations: 15.98 kB / 0.5132 GB, free: 6.898 MB / 430.1 MB " [Timeout remaining time 640] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-07 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 23.649275367963128] 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.903602479957044 19.929822429 19.598903894 Calling exit ...