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.001469/0.001469, allocations: 112.2 kB / 21.22 MB, free: 0.7266 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.001453/0.001453, allocations: 212.2 kB / 24.53 MB, free: 4.062 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.44/1.44, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.001466/0.001466, allocations: 47.92 kB / 378.6 MB, free: 3.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2424, allocations: 53.37 MB / 431.9 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.008331/0.2507, allocations: 6.574 MB / 438.5 MB, free: 272 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004573/0.2553, allocations: 2.659 MB / 441.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003529/0.2556, allocations: 23.94 kB / 441.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002706/0.2583, allocations: 1.283 MB / 442.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001221/0.2595, allocations: 0.5318 MB / 443 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002299/0.2618, allocations: 1.259 MB / 444.3 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001164/0.263, allocations: 1.083 MB / 445.3 MB, free: 9.402 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001065/0.2641, allocations: 0.7904 MB / 446.1 MB, free: 8.598 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004979/0.2646, allocations: 454.4 kB / 446.6 MB, free: 8.152 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006741/0.2652, allocations: 0.5446 MB / 447.1 MB, free: 7.605 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001214/0.2654, allocations: 96 kB / 447.2 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007065/0.2661, allocations: 431.6 kB / 447.6 MB, free: 7.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001923/0.2663, allocations: 231.2 kB / 447.9 MB, free: 6.863 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004613/0.2667, allocations: 0.5208 MB / 448.4 MB, free: 6.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001651/0.2684, allocations: 1.525 MB / 449.9 MB, free: 4.809 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2684, allocations: 0 / 449.9 MB, free: 4.809 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.2684, allocations: 0 / 449.9 MB, free: 4.809 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.2684, allocations: 0 / 449.9 MB, free: 4.809 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.004073/0.2725, allocations: 1.704 MB / 451.6 MB, free: 3.062 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.513e-05/0.2725, allocations: 8.031 kB / 451.6 MB, free: 3.055 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.257e-05/0.2725, allocations: 41.5 kB / 451.7 MB, free: 3.012 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002159/0.2728, allocations: 171.5 kB / 451.8 MB, free: 2.832 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003012/0.2758, allocations: 479.8 kB / 452.3 MB, free: 2.363 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006531/0.2764, allocations: 444.8 kB / 452.7 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.13e-05/0.2765, allocations: 86.22 kB / 452.8 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001568/0.2766, allocations: 116 kB / 452.9 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001742/0.2784, allocations: 0.9786 MB / 453.9 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.959e-05/0.2784, allocations: 4 kB / 453.9 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.169e-05/0.2785, allocations: 44 kB / 454 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.387e-05/0.2785, allocations: 28 kB / 454 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00183/0.2804, allocations: 0.9613 MB / 454.9 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005631/0.286, allocations: 3.529 MB / 458.5 MB, free: 11.94 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001723/0.2877, allocations: 0.8298 MB / 459.3 MB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007767/0.2885, allocations: 399.5 kB / 459.7 MB, free: 10.72 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001084/0.2886, allocations: 41.02 kB / 459.7 MB, free: 10.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008693/0.2895, allocations: 470.5 kB / 460.2 MB, free: 10.19 MB / 366.1 MB Notification: Performance of pre-optimization done (n=98): time 2.644e-06/0.2895, allocations: 4 kB / 460.2 MB, free: 10.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=130): time 0.009998/0.2995, allocations: 3.884 MB / 464.1 MB, free: 6.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.2996, allocations: 157.8 kB / 464.2 MB, free: 6.086 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005332/0.3001, allocations: 405.5 kB / 464.6 MB, free: 5.684 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.558e-05/0.3002, allocations: 45.7 kB / 464.7 MB, free: 5.633 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003774/0.3006, allocations: 441 kB / 465.1 MB, free: 5.195 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003865/0.3009, allocations: 464 kB / 465.6 MB, free: 4.738 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003348/0.3013, allocations: 206.9 kB / 465.8 MB, free: 4.531 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002051/0.3015, allocations: 382.8 kB / 466.1 MB, free: 4.148 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007494/0.3022, allocations: 358.5 kB / 466.5 MB, free: 3.797 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009237/0.3032, allocations: 0.5468 MB / 467 MB, free: 3.188 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001733/0.3049, allocations: 0.9615 MB / 468 MB, free: 2.172 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.3049, allocations: 0 / 468 MB, free: 2.172 MB / 366.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002801/0.3077, allocations: 1.398 MB / 469.4 MB, free: 0.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.3077, allocations: 4 kB / 469.4 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.3077, allocations: 8 kB / 469.4 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009128/0.3086, allocations: 349.7 kB / 469.7 MB, free: 396 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008707/0.3095, allocations: 219.6 kB / 470 MB, free: 176 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009051/0.3186, allocations: 8.061 MB / 478 MB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008788/0.3194, allocations: 47.98 kB / 478.1 MB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.679e-05/0.3195, allocations: 47.92 kB / 478.1 MB, free: 7.566 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.0005533/0.3201, allocations: 261.7 kB / 478.4 MB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/0.3202, allocations: 79.53 kB / 478.4 MB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002954/0.3232, allocations: 1.329 MB / 479.8 MB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/0.3232, allocations: 12 kB / 479.8 MB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/0.3232, allocations: 8.125 kB / 479.8 MB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.544e-05/0.3232, allocations: 7.969 kB / 479.8 MB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004782/0.328, allocations: 2.569 MB / 482.4 MB, free: 3.199 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.328, allocations: 4 kB / 482.4 MB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00074/0.3288, allocations: 160 kB / 482.5 MB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008359/0.3296, allocations: 340.4 kB / 482.9 MB, free: 2.699 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.275e-05/0.3297, allocations: 35.98 kB / 482.9 MB, free: 2.664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008806/0.3385, allocations: 7.705 MB / 490.6 MB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.186e-06/0.3385, allocations: 7.938 kB / 490.6 MB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0039/0.3424, allocations: 1.856 MB / 492.5 MB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004733/0.3428, allocations: 163.4 kB / 492.6 MB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.343, allocations: 27.94 kB / 492.7 MB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005281/0.3435, allocations: 35.98 kB / 492.7 MB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002777/0.3438, allocations: 104.7 kB / 492.8 MB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.426e-05/0.3438, allocations: 39.98 kB / 492.8 MB, free: 8.227 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003873/0.3442, allocations: 283.2 kB / 493.1 MB, free: 7.949 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3442, allocations: 0 / 493.1 MB, free: 7.949 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001353/0.3456, allocations: 323.9 kB / 493.4 MB, free: 7.633 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.004132/0.3497, allocations: 2.481 MB / 495.9 MB, free: 5.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003286/0.353, allocations: 1.577 MB / 497.5 MB, free: 3.461 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.353, allocations: 0 / 497.5 MB, free: 3.461 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001922/0.3549, allocations: 1.119 MB / 498.6 MB, free: 2.293 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006963/0.3556, allocations: 80.39 kB / 498.7 MB, free: 2.219 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01328/0.3689, allocations: 7.457 MB / 0.4943 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008604/0.3698, allocations: 1.025 MB / 0.4953 GB, free: 9.422 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004524/0.3702, allocations: 110.4 kB / 0.4954 GB, free: 9.309 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005034/0.3707, allocations: 355.3 kB / 0.4957 GB, free: 8.961 MB / 414.1 MB Notification: Performance of SimCode: time 1.242e-06/0.3707, allocations: 3.938 kB / 0.4957 GB, free: 8.957 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7194/1.09, allocations: 20.05 MB / 0.5153 GB, free: 5.086 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.02/19.11, allocations: 11.91 kB / 0.5153 GB, free: 5.074 MB / 430.1 MB " [Timeout remaining time 641] (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: 22.720333595003467] 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.278677373949904 19.30083268 19.028382886 Calling exit ...