Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.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.0017/0.0017, allocations: 112.5 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.002181/0.002181, allocations: 204.3 kB / 24.52 MB, free: 4.07 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.471/1.471, allocations: 230.6 MB / 258.3 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2336/0.2336, allocations: 46.93 MB / 361.6 MB, free: 4.262 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002163/0.002163, allocations: 67.89 kB / 0.4969 GB, free: 7.914 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.3039, allocations: 66.05 MB / 0.5614 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.002873/0.3068, allocations: 1.745 MB / 0.5631 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001558/0.3069, allocations: 83.73 kB / 0.5632 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.173e-05/0.307, allocations: 0 / 0.5632 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.85e-05/0.307, allocations: 15.86 kB / 0.5632 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.469e-05/0.3071, allocations: 19.78 kB / 0.5632 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.323e-05/0.3072, allocations: 27.97 kB / 0.5633 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001378/0.3073, allocations: 107.6 kB / 0.5634 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.3075, allocations: 49.91 kB / 0.5634 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.875e-05/0.3075, allocations: 43.86 kB / 0.5634 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.348e-05/0.3076, allocations: 51.83 kB / 0.5635 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.3076, allocations: 8 kB / 0.5635 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.065e-05/0.3076, allocations: 12 kB / 0.5635 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.896e-05/0.3077, allocations: 27.92 kB / 0.5635 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.47e-05/0.3077, allocations: 47.73 kB / 0.5636 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.3079, allocations: 123.5 kB / 0.5637 GB, free: 2.078 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3079, allocations: 0 / 0.5637 GB, free: 2.078 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.91e-07/0.3079, allocations: 0 / 0.5637 GB, free: 2.078 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.3079, allocations: 0 / 0.5637 GB, free: 2.078 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0005734/0.3085, allocations: 353.9 kB / 0.564 GB, free: 1.699 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.3085, allocations: 8.031 kB / 0.5641 GB, free: 1.691 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.453e-05/0.3085, allocations: 4.188 kB / 0.5641 GB, free: 1.688 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.657e-05/0.3085, allocations: 34.75 kB / 0.5641 GB, free: 1.645 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.575e-05/0.3086, allocations: 12.89 kB / 0.5641 GB, free: 1.633 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.3087, allocations: 126.4 kB / 0.5642 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.3087, allocations: 4.375 kB / 0.5642 GB, free: 1.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.3087, allocations: 16.38 kB / 0.5642 GB, free: 1.465 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003423/0.3091, allocations: 121.9 kB / 0.5644 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.3091, allocations: 0 / 0.5644 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.3091, allocations: 0 / 0.5644 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.3091, allocations: 4 kB / 0.5644 GB, free: 1.336 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003714/0.3095, allocations: 115.4 kB / 0.5645 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007306/0.3102, allocations: 438.5 kB / 0.5649 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002467/0.3104, allocations: 78.47 kB / 0.565 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002304/0.3107, allocations: 68.92 kB / 0.565 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.3107, allocations: 0 / 0.565 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.3107, allocations: 38.5 kB / 0.5651 GB, free: 0.543 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.3107, allocations: 0 / 0.5651 GB, free: 0.543 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008326/0.3115, allocations: 194.3 kB / 0.5653 GB, free: 352 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/0.3116, allocations: 55.34 kB / 0.5653 GB, free: 284 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.3117, allocations: 117.8 kB / 0.5654 GB, free: 156 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.3117, allocations: 29.7 kB / 0.5654 GB, free: 120 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.92e-05/0.3118, allocations: 108.2 kB / 0.5655 GB, free: 4 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.644e-05/0.3118, allocations: 31.91 kB / 0.5656 GB, free: 15.97 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.222e-05/0.3119, allocations: 17.72 kB / 0.5656 GB, free: 15.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.312, allocations: 326.6 kB / 0.5659 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001614/0.3122, allocations: 31.97 kB / 0.5659 GB, free: 15.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.3123, allocations: 58.53 kB / 0.566 GB, free: 15.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003183/0.3127, allocations: 102.7 kB / 0.5661 GB, free: 15.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3127, allocations: 0 / 0.5661 GB, free: 15.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004373/0.3131, allocations: 146.4 kB / 0.5662 GB, free: 15.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.3131, allocations: 8 kB / 0.5662 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.3131, allocations: 0 / 0.5662 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001442/0.3133, allocations: 24.78 kB / 0.5663 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.3134, allocations: 24.05 kB / 0.5663 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001131/0.3145, allocations: 1.295 MB / 0.5675 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.3146, allocations: 20.02 kB / 0.5676 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.3146, allocations: 4 kB / 0.5676 GB, free: 13.76 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000112/0.3147, allocations: 125.8 kB / 0.5677 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.983e-05/0.3148, allocations: 7.953 kB / 0.5677 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.582e-05/0.3148, allocations: 8.375 kB / 0.5677 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.3148, allocations: 0 / 0.5677 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.3148, allocations: 0 / 0.5677 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.3148, allocations: 4 kB / 0.5677 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006956/0.3155, allocations: 391.2 kB / 0.5681 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3155, allocations: 144 / 0.5681 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.563e-05/0.3156, allocations: 15.98 kB / 0.5681 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.654e-05/0.3157, allocations: 32.86 kB / 0.5681 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.3157, allocations: 8.062 kB / 0.5681 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001097/0.3168, allocations: 1.291 MB / 0.5694 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3168, allocations: 0 / 0.5694 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004737/0.3173, allocations: 249.1 kB / 0.5696 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.646e-05/0.3173, allocations: 7.953 kB / 0.5696 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.3173, allocations: 8 kB / 0.5697 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.3174, allocations: 7.984 kB / 0.5697 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.932e-05/0.3175, allocations: 15.92 kB / 0.5697 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.3175, allocations: 3.938 kB / 0.5697 GB, free: 11.4 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.189e-05/0.3175, allocations: 99.2 kB / 0.5698 GB, free: 11.3 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3175, allocations: 0 / 0.5698 GB, free: 11.3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002801/0.3178, allocations: 27.94 kB / 0.5698 GB, free: 11.28 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008353/0.3187, allocations: 0.7743 MB / 0.5706 GB, free: 10.47 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005421/0.3192, allocations: 202.6 kB / 0.5707 GB, free: 10.26 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3192, allocations: 0 / 0.5707 GB, free: 10.26 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002705/0.3195, allocations: 162.8 kB / 0.5709 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.3198, allocations: 11.98 kB / 0.5709 GB, free: 10.08 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002283/0.3221, allocations: 1.6 MB / 0.5725 GB, free: 8.375 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003647/0.3224, allocations: 0.6963 MB / 0.5732 GB, free: 7.652 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.878e-05/0.3225, allocations: 7.891 kB / 0.5732 GB, free: 7.645 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.752e-05/0.3225, allocations: 27.42 kB / 0.5732 GB, free: 7.617 MB / 414.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3226, allocations: 0 / 0.5732 GB, free: 7.617 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02442/0.347, allocations: 2.488 MB / 0.5756 GB, free: 5.277 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.14, allocations: 4.062 kB / 0.5756 GB, free: 5.273 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents.fmu > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.101900989015121] Failed to read output from testmodel.py, exit status != 0: ['time', 'reluctance.V_m', 'reluctance.Phi', 'permeance.V_m', 'permeance.Phi'] 12.300820330972783 12.320051014 12.008721008 Calling exit ...