Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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.001395/0.001395, allocations: 105.7 kB / 19.74 MB, free: 2.453 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.001533/0.001533, allocations: 214.7 kB / 22.92 MB, free: 5.195 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.278/1.278, allocations: 230.2 MB / 256.2 MB, free: 8.586 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2006/0.2006, allocations: 46.89 MB / 359.3 MB, free: 4.938 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-beta.om/package.mo) 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(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002191/0.002191, allocations: 79.86 kB / 0.494 GB, free: 9.082 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2641, allocations: 65.98 MB / 0.5584 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007095/0.2711, allocations: 5.362 MB / 0.5636 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00256/0.2737, allocations: 1.678 MB / 0.5653 GB, free: 14.14 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002109/0.2739, allocations: 20 kB / 0.5653 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00318/0.2771, allocations: 1.587 MB / 0.5668 GB, free: 12.53 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006611/0.2778, allocations: 325.6 kB / 0.5672 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009844/0.2787, allocations: 0.5288 MB / 0.5677 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007623/0.2795, allocations: 0.7968 MB / 0.5685 GB, free: 10.88 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007925/0.2803, allocations: 0.559 MB / 0.569 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003795/0.2807, allocations: 342.7 kB / 0.5693 GB, free: 9.969 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005481/0.2812, allocations: 474.1 kB / 0.5698 GB, free: 9.504 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.505e-05/0.2813, allocations: 72 kB / 0.5698 GB, free: 9.434 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003553/0.2817, allocations: 195.9 kB / 0.57 GB, free: 9.242 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.2818, allocations: 171.4 kB / 0.5702 GB, free: 9.074 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000361/0.2822, allocations: 437.8 kB / 0.5706 GB, free: 8.645 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001143/0.2833, allocations: 1.171 MB / 0.5718 GB, free: 7.469 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2833, allocations: 0 / 0.5718 GB, free: 7.469 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2833, allocations: 0 / 0.5718 GB, free: 7.469 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.2833, allocations: 0 / 0.5718 GB, free: 7.469 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.003103/0.2864, allocations: 1.376 MB / 0.5731 GB, free: 6.043 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.2865, allocations: 12.03 kB / 0.5731 GB, free: 6.031 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001573/0.2866, allocations: 152.4 kB / 0.5733 GB, free: 5.875 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001505/0.2881, allocations: 236.2 kB / 0.5735 GB, free: 5.645 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.2884, allocations: 263.2 kB / 0.5737 GB, free: 5.352 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.448e-05/0.2884, allocations: 74.38 kB / 0.5738 GB, free: 5.277 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/0.2886, allocations: 103.9 kB / 0.5739 GB, free: 5.176 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/0.29, allocations: 0.9282 MB / 0.5748 GB, free: 4.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.215e-05/0.29, allocations: 11.94 kB / 0.5748 GB, free: 4.219 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.506e-05/0.2901, allocations: 40 kB / 0.5749 GB, free: 4.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.162e-05/0.2901, allocations: 28 kB / 0.5749 GB, free: 4.152 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/0.2913, allocations: 0.7223 MB / 0.5756 GB, free: 3.43 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004886/0.2962, allocations: 4.092 MB / 0.5796 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002821/0.299, allocations: 3.33 MB / 0.5828 GB, free: 10.99 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003715/0.2994, allocations: 263.3 kB / 0.5831 GB, free: 10.72 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001508/0.2996, allocations: 174.5 kB / 0.5833 GB, free: 10.52 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.2996, allocations: 50.83 kB / 0.5833 GB, free: 10.46 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 1.774e-06/0.2996, allocations: 0 / 0.5833 GB, free: 10.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.002579/0.3022, allocations: 1.323 MB / 0.5846 GB, free: 9.043 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.438e-05/0.3023, allocations: 144.5 kB / 0.5847 GB, free: 8.871 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003473/0.3026, allocations: 310.8 kB / 0.585 GB, free: 8.555 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.395e-05/0.3026, allocations: 33.7 kB / 0.5851 GB, free: 8.516 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002506/0.3029, allocations: 419.8 kB / 0.5855 GB, free: 8.098 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001767/0.3031, allocations: 238 kB / 0.5857 GB, free: 7.863 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001991/0.3033, allocations: 150.6 kB / 0.5858 GB, free: 7.711 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.3034, allocations: 358.7 kB / 0.5862 GB, free: 7.352 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003771/0.3038, allocations: 193.9 kB / 0.5864 GB, free: 7.164 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004921/0.3043, allocations: 404.6 kB / 0.5867 GB, free: 6.691 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008516/0.3051, allocations: 0.6298 MB / 0.5874 GB, free: 5.98 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.3051, allocations: 3.984 kB / 0.5874 GB, free: 5.977 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001414/0.3066, allocations: 0.8777 MB / 0.5882 GB, free: 5.078 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.3066, allocations: 10.19 kB / 0.5882 GB, free: 5.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.3066, allocations: 4 kB / 0.5882 GB, free: 5.066 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005949/0.3072, allocations: 227.4 kB / 0.5885 GB, free: 4.832 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004491/0.3076, allocations: 135.8 kB / 0.5886 GB, free: 4.699 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005873/0.3135, allocations: 6.703 MB / 0.5951 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004203/0.3139, allocations: 87.3 kB / 0.5952 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.123e-05/0.314, allocations: 39.98 kB / 0.5953 GB, free: 13.31 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (82): * Single equations (assignments): 78 * 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,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000274/0.3143, allocations: 221.5 kB / 0.5955 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.3144, allocations: 44.14 kB / 0.5955 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001173/0.3155, allocations: 0.6793 MB / 0.5962 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.3156, allocations: 8 kB / 0.5962 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3156, allocations: 4 kB / 0.5962 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.3156, allocations: 11.92 kB / 0.5962 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002248/0.3178, allocations: 1.566 MB / 0.5977 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.3178, allocations: 0 / 0.5977 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000237/0.3181, allocations: 71.91 kB / 0.5978 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004816/0.3185, allocations: 215.2 kB / 0.598 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.113e-05/0.3186, allocations: 20 kB / 0.598 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005629/0.3242, allocations: 6.69 MB / 0.6045 GB, free: 3.117 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.3242, allocations: 3.984 kB / 0.6046 GB, free: 3.113 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001576/0.3258, allocations: 1.187 MB / 0.6057 GB, free: 1.898 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.3259, allocations: 132.7 kB / 0.6058 GB, free: 1.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.061e-05/0.326, allocations: 12 kB / 0.6058 GB, free: 1.738 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003139/0.3263, allocations: 19.92 kB / 0.6059 GB, free: 1.719 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.653e-05/0.3264, allocations: 63.75 kB / 0.6059 GB, free: 1.656 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.857e-05/0.3264, allocations: 19.98 kB / 0.6059 GB, free: 1.637 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002448/0.3266, allocations: 214 kB / 0.6062 GB, free: 1.422 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3266, allocations: 0 / 0.6062 GB, free: 1.422 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009525/0.3276, allocations: 279.4 kB / 0.6064 GB, free: 1.148 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (constantSource2.port_p.reference.gamma,constantSource1.port_p.reference.gamma) * 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 (42): * Single equations (assignments): 38 * 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,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001941/0.3295, allocations: 1.766 MB / 0.6081 GB, free: 15.34 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001505/0.331, allocations: 1.033 MB / 0.6092 GB, free: 14.26 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.331, allocations: 384 / 0.6092 GB, free: 14.26 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008853/0.3319, allocations: 0.7718 MB / 0.6099 GB, free: 13.44 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006133/0.3325, allocations: 48.42 kB / 0.61 GB, free: 13.39 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006731/0.3393, allocations: 5.127 MB / 0.615 GB, free: 7.98 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005613/0.3398, allocations: 0.9111 MB / 0.6158 GB, free: 7.039 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002223/0.3401, allocations: 64.53 kB / 0.6159 GB, free: 6.977 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002695/0.3403, allocations: 231.3 kB / 0.6161 GB, free: 6.75 MB / 462.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3403, allocations: 0 / 0.6161 GB, free: 6.75 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04851/0.3888, allocations: 12 MB / 0.6279 GB, free: 10.86 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.318/9.707, allocations: 10.94 kB / 0.6279 GB, free: 10.86 MB / 478.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.126545626000734]