Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.001651/0.001651, allocations: 105.1 kB / 21.22 MB, free: 0.6523 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.001952/0.001952, allocations: 212.1 kB / 24.52 MB, free: 3.945 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.506/1.506, allocations: 230.5 MB / 258.2 MB, free: 7.801 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.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreAirgap",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreAirgap",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001809/0.001809, allocations: 55.91 kB / 378.5 MB, free: 2.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2657, allocations: 53.41 MB / 431.9 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.00473/0.2705, allocations: 2.651 MB / 434.6 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00182/0.2723, allocations: 0.7477 MB / 435.3 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002069/0.2725, allocations: 4 kB / 435.3 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000287/0.2728, allocations: 63.38 kB / 435.4 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003083/0.2731, allocations: 91.25 kB / 435.5 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003257/0.2734, allocations: 119.7 kB / 435.6 MB, free: 2.777 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004392/0.2739, allocations: 382.6 kB / 436 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002256/0.2741, allocations: 103.3 kB / 436.1 MB, free: 2.301 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003365/0.2744, allocations: 163.4 kB / 436.2 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002318/0.2747, allocations: 171.2 kB / 436.4 MB, free: 1.973 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.807e-05/0.2747, allocations: 36 kB / 436.4 MB, free: 1.938 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.723e-05/0.2748, allocations: 32 kB / 436.4 MB, free: 1.906 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.924e-05/0.2749, allocations: 75.7 kB / 436.5 MB, free: 1.832 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001746/0.275, allocations: 147.3 kB / 436.7 MB, free: 1.688 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000527/0.2756, allocations: 403.1 kB / 437.1 MB, free: 1.297 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.2756, allocations: 0 / 437.1 MB, free: 1.297 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2756, allocations: 3.938 kB / 437.1 MB, free: 1.293 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.2756, allocations: 0 / 437.1 MB, free: 1.293 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001328/0.2769, allocations: 0.5792 MB / 437.6 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.277, allocations: 8.031 kB / 437.7 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.699e-05/0.277, allocations: 8.844 kB / 437.7 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.267e-05/0.2771, allocations: 70.72 kB / 437.7 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.404e-05/0.2771, allocations: 36.7 kB / 437.8 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004392/0.2776, allocations: 218.8 kB / 438 MB, free: 316 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.128e-05/0.2776, allocations: 25.03 kB / 438 MB, free: 292 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.731e-05/0.2777, allocations: 32.38 kB / 438 MB, free: 260 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006375/0.2783, allocations: 294 kB / 438.3 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.2783, allocations: 0 / 438.3 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.558e-05/0.2784, allocations: 16 kB / 438.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.2784, allocations: 8 kB / 438.3 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006211/0.279, allocations: 246.5 kB / 438.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001735/0.2807, allocations: 0.9282 MB / 439.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003879/0.2811, allocations: 146.5 kB / 439.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/0.2813, allocations: 60.83 kB / 439.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.2813, allocations: 8 kB / 439.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.2814, allocations: 34.56 kB / 439.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.492e-06/0.2814, allocations: 3.938 kB / 439.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.002109/0.2835, allocations: 0.5939 MB / 440.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.985e-05/0.2835, allocations: 59.34 kB / 440.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003183/0.2838, allocations: 269.8 kB / 440.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.2839, allocations: 29.7 kB / 440.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.284, allocations: 232 kB / 440.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.865e-05/0.2841, allocations: 87.25 kB / 441 MB, free: 13.13 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.2842, allocations: 69.44 kB / 441.1 MB, free: 13.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.2844, allocations: 334.8 kB / 441.4 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002925/0.2847, allocations: 95.92 kB / 441.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003643/0.2851, allocations: 196.1 kB / 441.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006301/0.2857, allocations: 301.1 kB / 442 MB, free: 12.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2857, allocations: 0 / 442 MB, free: 12.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000875/0.2866, allocations: 389.1 kB / 442.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.2866, allocations: 8.406 kB / 442.4 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.2866, allocations: 8 kB / 442.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002694/0.2869, allocations: 61.61 kB / 442.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003239/0.2872, allocations: 67.89 kB / 442.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002306/0.2895, allocations: 2.626 MB / 445.1 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002835/0.2898, allocations: 27.92 kB / 445.2 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.114e-05/0.2898, allocations: 19.94 kB / 445.2 MB, free: 8.609 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001715/0.29, allocations: 145.8 kB / 445.3 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.496e-05/0.29, allocations: 27.98 kB / 445.4 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.458e-05/0.2901, allocations: 34.27 kB / 445.4 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.2901, allocations: 0 / 445.4 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2901, allocations: 0 / 445.4 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.2901, allocations: 7.984 kB / 445.4 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000367/0.2905, allocations: 276.6 kB / 445.7 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.2905, allocations: 0 / 445.7 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002096/0.2907, allocations: 39.91 kB / 445.7 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001603/0.2909, allocations: 57.67 kB / 445.8 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.2909, allocations: 4 kB / 445.8 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002197/0.2931, allocations: 2.626 MB / 448.4 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.2931, allocations: 4.125 kB / 448.4 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007572/0.2939, allocations: 376.7 kB / 448.8 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.332e-05/0.2939, allocations: 19.86 kB / 448.8 MB, free: 4.699 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.297e-05/0.2939, allocations: 7.984 kB / 448.8 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.2941, allocations: 15.98 kB / 448.8 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.083e-05/0.2942, allocations: 19.97 kB / 448.8 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.2942, allocations: 7.984 kB / 448.8 MB, free: 4.648 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000215/0.2944, allocations: 185.2 kB / 449 MB, free: 4.465 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2944, allocations: 3.938 kB / 449 MB, free: 4.461 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004066/0.2948, allocations: 75.94 kB / 449.1 MB, free: 4.387 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (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.001117/0.296, allocations: 0.9124 MB / 450 MB, free: 3.445 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001029/0.297, allocations: 469.3 kB / 450.5 MB, free: 2.961 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.297, allocations: 4 kB / 450.5 MB, free: 2.957 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005271/0.2975, allocations: 337.2 kB / 450.8 MB, free: 2.602 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.2979, allocations: 28.98 kB / 450.8 MB, free: 2.574 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004576/0.3025, allocations: 2.958 MB / 453.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001739/0.3026, allocations: 164.8 kB / 453.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001437/0.3028, allocations: 30.41 kB / 454 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.3029, allocations: 99.41 kB / 454.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3029, allocations: 0 / 454.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03404/0.337, allocations: 6.011 MB / 460.1 MB, free: 9.277 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/12.72, allocations: 19.88 kB / 460.1 MB, free: 9.258 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreAirgap_fmu --startTime=0 --stopTime=0.05 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreAirgap.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.242762019042857] Failed to read output from testmodel.py, exit status != 0: ['time', 'magFluxSensor.Phi', 'voltageSensor.v'] 12.886448133038357 12.904860944 12.625957831 Calling exit ...