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.00183/0.00183, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001518/0.001518, allocations: 214 kB / 24.51 MB, free: 3.918 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.467/1.467, allocations: 230.6 MB / 258.3 MB, free: 7.727 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.2515/0.2515, allocations: 46.96 MB / 361.7 MB, free: 4.008 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.00207/0.00207, allocations: 59.91 kB / 0.4968 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3074, allocations: 66.04 MB / 0.5613 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003191/0.3106, allocations: 1.685 MB / 0.563 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001794/0.3108, allocations: 87.64 kB / 0.5631 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.677e-05/0.3109, allocations: 4 kB / 0.5631 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.852e-05/0.3109, allocations: 11.88 kB / 0.5631 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.691e-05/0.311, allocations: 27.77 kB / 0.5631 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001052/0.3111, allocations: 27.91 kB / 0.5631 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001634/0.3113, allocations: 107.6 kB / 0.5632 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001708/0.3115, allocations: 41.78 kB / 0.5633 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.964e-05/0.3115, allocations: 39.86 kB / 0.5633 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.698e-05/0.3116, allocations: 55.77 kB / 0.5634 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.621e-05/0.3116, allocations: 12 kB / 0.5634 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.256e-05/0.3117, allocations: 16 kB / 0.5634 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.55e-05/0.3117, allocations: 27.91 kB / 0.5634 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.053e-05/0.3118, allocations: 39.8 kB / 0.5635 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001884/0.312, allocations: 115.6 kB / 0.5636 GB, free: 1.922 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.312, allocations: 0 / 0.5636 GB, free: 1.922 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.312, allocations: 3.938 kB / 0.5636 GB, free: 1.918 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.312, allocations: 0 / 0.5636 GB, free: 1.918 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.0006453/0.3126, allocations: 345.9 kB / 0.5639 GB, free: 1.547 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.3127, allocations: 12.03 kB / 0.5639 GB, free: 1.535 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.946e-05/0.3127, allocations: 8.172 kB / 0.5639 GB, free: 1.527 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.36e-05/0.3127, allocations: 38.75 kB / 0.564 GB, free: 1.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.367e-05/0.3128, allocations: 16.81 kB / 0.564 GB, free: 1.465 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.3129, allocations: 126.4 kB / 0.5641 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.3129, allocations: 4.375 kB / 0.5641 GB, free: 1.312 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.3129, allocations: 12.38 kB / 0.5641 GB, free: 1.301 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003631/0.3133, allocations: 127.5 kB / 0.5642 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.3133, allocations: 0 / 0.5642 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.3133, allocations: 8 kB / 0.5642 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.3133, allocations: 0 / 0.5642 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000362/0.3137, allocations: 111.8 kB / 0.5644 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007976/0.3145, allocations: 414.6 kB / 0.5648 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002709/0.3148, allocations: 82.53 kB / 0.5648 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002381/0.315, allocations: 56.94 kB / 0.5649 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.315, allocations: 7.938 kB / 0.5649 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.315, allocations: 38.5 kB / 0.5649 GB, free: 404 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.315, allocations: 0 / 0.5649 GB, free: 404 kB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008231/0.3159, allocations: 186.4 kB / 0.5651 GB, free: 208 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.3159, allocations: 55.34 kB / 0.5652 GB, free: 140 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.316, allocations: 125.8 kB / 0.5653 GB, free: 4 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.871e-05/0.3161, allocations: 25.7 kB / 0.5653 GB, free: 15.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.154e-05/0.3162, allocations: 116.2 kB / 0.5654 GB, free: 15.85 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.035e-05/0.3162, allocations: 19.8 kB / 0.5654 GB, free: 15.83 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-05/0.3162, allocations: 21.7 kB / 0.5655 GB, free: 15.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.3164, allocations: 318.8 kB / 0.5658 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001657/0.3165, allocations: 39.95 kB / 0.5658 GB, free: 15.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/0.3167, allocations: 54.55 kB / 0.5658 GB, free: 15.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003156/0.317, allocations: 98.44 kB / 0.5659 GB, free: 15.28 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.317, allocations: 0 / 0.5659 GB, free: 15.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004192/0.3175, allocations: 146.6 kB / 0.5661 GB, free: 15.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.3175, allocations: 8.062 kB / 0.5661 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.3175, allocations: 7.984 kB / 0.5661 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001423/0.3176, allocations: 16.86 kB / 0.5661 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.3177, allocations: 23.97 kB / 0.5661 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001175/0.3189, allocations: 1.299 MB / 0.5674 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.319, allocations: 15.92 kB / 0.5674 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.319, allocations: 4.062 kB / 0.5674 GB, free: 13.62 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.0001112/0.3191, allocations: 125.8 kB / 0.5675 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.953e-05/0.3192, allocations: 11.89 kB / 0.5676 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.275e-05/0.3192, allocations: 12.38 kB / 0.5676 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.3192, allocations: 3.938 kB / 0.5676 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.3192, allocations: 0 / 0.5676 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.3192, allocations: 0 / 0.5676 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006758/0.3199, allocations: 383.2 kB / 0.5679 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.3199, allocations: 3.984 kB / 0.5679 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.32, allocations: 19.98 kB / 0.568 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.489e-05/0.3201, allocations: 20.84 kB / 0.568 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.3201, allocations: 4 kB / 0.568 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001066/0.3211, allocations: 1.295 MB / 0.5692 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3211, allocations: 4.094 kB / 0.5693 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004626/0.3216, allocations: 241 kB / 0.5695 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.371e-05/0.3216, allocations: 15.94 kB / 0.5695 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.3216, allocations: 0 / 0.5695 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.3218, allocations: 11.98 kB / 0.5695 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.008e-05/0.3218, allocations: 11.98 kB / 0.5695 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.3218, allocations: 7.938 kB / 0.5695 GB, free: 11.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.715e-05/0.3219, allocations: 95.27 kB / 0.5696 GB, free: 11.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3219, allocations: 0 / 0.5696 GB, free: 11.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002738/0.3222, allocations: 31.89 kB / 0.5696 GB, free: 11.14 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.0007908/0.323, allocations: 0.76 MB / 0.5704 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005251/0.3235, allocations: 210.4 kB / 0.5706 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3235, allocations: 0 / 0.5706 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000262/0.3237, allocations: 158.6 kB / 0.5707 GB, free: 9.969 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.3241, allocations: 8.188 kB / 0.5707 GB, free: 9.961 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002246/0.3263, allocations: 1.61 MB / 0.5723 GB, free: 8.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.876e-05/0.3264, allocations: 85.31 kB / 0.5724 GB, free: 8.145 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.515e-05/0.3264, allocations: 3.75 kB / 0.5724 GB, free: 8.141 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.369e-05/0.3265, allocations: 31.38 kB / 0.5724 GB, free: 8.109 MB / 414.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3265, allocations: 0 / 0.5724 GB, free: 8.109 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02688/0.3534, allocations: 2.575 MB / 0.575 GB, free: 5.691 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.16, allocations: 11.34 kB / 0.575 GB, free: 5.684 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.085755320964381] Failed to read output from testmodel.py, exit status != 0: ['time', 'reluctance.V_m', 'reluctance.Phi', 'permeance.V_m', 'permeance.Phi'] 12.327576267998666 12.356086913 12.038777426 Calling exit ...