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.001348/0.001348, allocations: 118.3 kB / 18.49 MB, free: 4.535 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.001998/0.001998, allocations: 222.3 kB / 21.46 MB, free: 1.582 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.693/1.693, allocations: 230.4 MB / 254.7 MB, free: 15.03 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.002694/0.002694, allocations: 59.91 kB / 373.7 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1261, allocations: 53.38 MB / 427.1 MB, free: 4.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.1992/0.3253, allocations: 6.519 MB / 433.6 MB, free: 7.113 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003572/0.3289, allocations: 2.65 MB / 436.2 MB, free: 6.516 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003534/0.3292, allocations: 22.94 kB / 436.3 MB, free: 6.512 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002368/0.3316, allocations: 1.278 MB / 437.5 MB, free: 5.887 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001084/0.3327, allocations: 0.5377 MB / 438.1 MB, free: 5.594 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00208/0.3348, allocations: 1.264 MB / 439.3 MB, free: 5.102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00117/0.3359, allocations: 1.073 MB / 440.4 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009019/0.3368, allocations: 0.7066 MB / 441.1 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004885/0.3373, allocations: 454.7 kB / 441.6 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005818/0.3379, allocations: 0.5466 MB / 442.1 MB, free: 3.875 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001323/0.338, allocations: 99.91 kB / 442.2 MB, free: 3.871 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00085/0.3389, allocations: 418.3 kB / 442.6 MB, free: 3.758 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001614/0.339, allocations: 228.9 kB / 442.8 MB, free: 3.602 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004027/0.3395, allocations: 0.5219 MB / 443.4 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002013/0.3415, allocations: 1.527 MB / 444.9 MB, free: 2.617 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.3415, allocations: 2.078 kB / 444.9 MB, free: 2.617 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3415, allocations: 7.938 kB / 444.9 MB, free: 2.609 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.126e-05/0.3415, allocations: 0 / 444.9 MB, free: 2.609 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.004246/0.3457, allocations: 1.673 MB / 446.6 MB, free: 1.625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.3458, allocations: 9.906 kB / 446.6 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.485e-05/0.3458, allocations: 33.31 kB / 446.6 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002108/0.3461, allocations: 176.1 kB / 446.8 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003122/0.3492, allocations: 476.9 kB / 447.2 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006306/0.3498, allocations: 0.5006 MB / 447.7 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.305e-05/0.3499, allocations: 85.06 kB / 447.8 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001609/0.35, allocations: 114 kB / 447.9 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001725/0.3518, allocations: 0.9762 MB / 448.9 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.536e-05/0.3518, allocations: 1.938 kB / 448.9 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.271e-05/0.3519, allocations: 46.31 kB / 449 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.641e-05/0.3519, allocations: 27.69 kB / 449 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001848/0.3538, allocations: 0.9683 MB / 450 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006234/0.36, allocations: 3.776 MB / 453.7 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002103/0.3621, allocations: 1.49 MB / 455.2 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007636/0.3629, allocations: 402.4 kB / 455.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001895/0.363, allocations: 190.5 kB / 455.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008787/0.3639, allocations: 480.9 kB / 456.3 MB, free: 11.96 MB / 366.1 MB Notification: Performance of pre-optimization done (n=98): time 2.906e-06/0.3639, allocations: 0 / 456.3 MB, free: 11.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=130): time 0.01039/0.3743, allocations: 4.137 MB / 460.4 MB, free: 9.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.573e-05/0.3744, allocations: 144.5 kB / 460.6 MB, free: 9.594 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005472/0.375, allocations: 407.3 kB / 461 MB, free: 9.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.889e-05/0.375, allocations: 50.91 kB / 461 MB, free: 9.289 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003517/0.3754, allocations: 437.3 kB / 461.4 MB, free: 8.902 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003759/0.3758, allocations: 459 kB / 461.9 MB, free: 8.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003548/0.3761, allocations: 219 kB / 462.1 MB, free: 8.363 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001916/0.3763, allocations: 378.5 kB / 462.5 MB, free: 8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000761/0.3771, allocations: 368 kB / 462.8 MB, free: 7.824 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009098/0.378, allocations: 0.5542 MB / 463.4 MB, free: 7.426 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001733/0.3797, allocations: 0.9741 MB / 464.3 MB, free: 6.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.3797, allocations: 1.219 kB / 464.3 MB, free: 6.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002856/0.3826, allocations: 1.406 MB / 465.8 MB, free: 6.082 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.3826, allocations: 6.562 kB / 465.8 MB, free: 6.082 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.3826, allocations: 4.219 kB / 465.8 MB, free: 6.082 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009474/0.3836, allocations: 354.1 kB / 466.1 MB, free: 5.906 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008709/0.3844, allocations: 215.3 kB / 466.3 MB, free: 5.855 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008454/0.3929, allocations: 8.486 MB / 474.8 MB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008166/0.3937, allocations: 52.33 kB / 474.9 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.687e-05/0.3938, allocations: 48.27 kB / 474.9 MB, free: 14.11 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.0004913/0.3943, allocations: 258.6 kB / 475.2 MB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/0.3944, allocations: 75 kB / 475.2 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002741/0.3972, allocations: 1.328 MB / 476.6 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.3972, allocations: 13.75 kB / 476.6 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.3972, allocations: 6.875 kB / 476.6 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.002e-05/0.3972, allocations: 17.22 kB / 476.6 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004397/0.4016, allocations: 2.606 MB / 479.2 MB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.064e-06/0.4016, allocations: 4 kB / 479.2 MB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007269/0.4023, allocations: 159.8 kB / 479.4 MB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008137/0.4031, allocations: 329.4 kB / 479.7 MB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.684e-05/0.4032, allocations: 35.92 kB / 479.7 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007751/0.411, allocations: 8.116 MB / 487.8 MB, free: 1.848 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.411, allocations: 0 / 487.8 MB, free: 1.848 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003456/0.4144, allocations: 1.879 MB / 489.7 MB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003559/0.4148, allocations: 232.5 kB / 489.9 MB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.836e-05/0.4149, allocations: 24 kB / 490 MB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005182/0.4154, allocations: 43.91 kB / 490 MB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002026/0.4156, allocations: 109.3 kB / 490.1 MB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-05/0.4157, allocations: 32 kB / 490.1 MB, free: 15.46 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003312/0.416, allocations: 283.1 kB / 490.4 MB, free: 15.18 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.416, allocations: 0 / 490.4 MB, free: 15.18 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001266/0.4173, allocations: 323.9 kB / 490.7 MB, free: 14.87 MB / 398.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.00383/0.4211, allocations: 2.492 MB / 493.2 MB, free: 12.31 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002814/0.4239, allocations: 1.58 MB / 494.8 MB, free: 10.68 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4239, allocations: 0 / 494.8 MB, free: 10.68 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001678/0.4256, allocations: 1.127 MB / 495.9 MB, free: 9.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005652/0.4261, allocations: 90.69 kB / 496 MB, free: 9.414 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01193/0.4381, allocations: 7.455 MB / 0.4917 GB, free: 1.676 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000729/0.4388, allocations: 1.028 MB / 0.4927 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004029/0.4392, allocations: 110.4 kB / 0.4928 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004711/0.4397, allocations: 351.3 kB / 0.4931 GB, free: 168 kB / 398.1 MB Notification: Performance of SimCode: time 8.11e-07/0.4397, allocations: 0 / 0.4931 GB, free: 168 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06674/0.5064, allocations: 19.17 MB / 0.5118 GB, free: 13.17 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.85/17.35, allocations: 10.88 kB / 0.5119 GB, free: 13.16 MB / 430.1 MB " [Timeout remaining time 642] (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: 20.518695528036915] 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.521107530978043 17.540314182 17.195004995 Calling exit ...