Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.001294/0.001294, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001453/0.001453, allocations: 211 kB / 24.53 MB, free: 4.07 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.48/1.48, allocations: 230.5 MB / 258.2 MB, free: 8.02 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.ToroidalCoreQuadraticCrossSection,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001788, allocations: 63.89 kB / 378.6 MB, free: 2.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.2714, allocations: 53.41 MB / 432 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004674/0.2761, allocations: 2.885 MB / 434.9 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001594/0.2777, allocations: 0.7982 MB / 435.7 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001643/0.2779, allocations: 8 kB / 435.7 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000262/0.2781, allocations: 63.42 kB / 435.7 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003059/0.2784, allocations: 107.2 kB / 435.8 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002827/0.2787, allocations: 103.8 kB / 435.9 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005286/0.2792, allocations: 398.5 kB / 436.3 MB, free: 2.305 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002804/0.2795, allocations: 95.33 kB / 436.4 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005181/0.28, allocations: 171.4 kB / 436.6 MB, free: 2.043 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003594/0.2804, allocations: 171.2 kB / 436.8 MB, free: 1.875 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.902e-05/0.2805, allocations: 35.94 kB / 436.8 MB, free: 1.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.758e-05/0.2805, allocations: 36 kB / 436.8 MB, free: 1.805 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.372e-05/0.2806, allocations: 79.69 kB / 436.9 MB, free: 1.727 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000182/0.2808, allocations: 175.1 kB / 437.1 MB, free: 1.555 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006346/0.2814, allocations: 411 kB / 437.5 MB, free: 1.156 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.315e-06/0.2814, allocations: 7.938 kB / 437.5 MB, free: 1.148 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.2814, allocations: 0 / 437.5 MB, free: 1.148 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.2814, allocations: 0 / 437.5 MB, free: 1.148 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.001352/0.2828, allocations: 0.5908 MB / 438.1 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.2828, allocations: 11.97 kB / 438.1 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.695e-05/0.2829, allocations: 16.83 kB / 438.1 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.877e-05/0.2829, allocations: 70.72 kB / 438.2 MB, free: 428 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.467e-05/0.283, allocations: 40.7 kB / 438.2 MB, free: 388 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004625/0.2835, allocations: 217.7 kB / 438.4 MB, free: 144 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.376e-05/0.2835, allocations: 25.03 kB / 438.4 MB, free: 120 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.077e-05/0.2836, allocations: 32.38 kB / 438.5 MB, free: 88 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006542/0.2842, allocations: 290 kB / 438.8 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.2843, allocations: 0 / 438.8 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.277e-05/0.2843, allocations: 20 kB / 438.8 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.2843, allocations: 8 kB / 438.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006347/0.2849, allocations: 250.5 kB / 439 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001914/0.2868, allocations: 1.052 MB / 440.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004097/0.2873, allocations: 146.5 kB / 440.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001947/0.2875, allocations: 68.81 kB / 440.3 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.982e-05/0.2875, allocations: 0 / 440.3 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.2875, allocations: 38.56 kB / 440.3 MB, free: 14.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.272e-06/0.2875, allocations: 0 / 440.3 MB, free: 14.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.00221/0.2897, allocations: 0.5894 MB / 440.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.2898, allocations: 59.34 kB / 441 MB, free: 13.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003483/0.2901, allocations: 288.1 kB / 441.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.2902, allocations: 33.64 kB / 441.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.2903, allocations: 232.1 kB / 441.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.301e-05/0.2904, allocations: 75.36 kB / 441.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.2905, allocations: 65.66 kB / 441.7 MB, free: 12.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.2907, allocations: 342.8 kB / 442 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002931/0.291, allocations: 91.94 kB / 442.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003762/0.2913, allocations: 203.9 kB / 442.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006501/0.292, allocations: 301.1 kB / 442.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.292, allocations: 4 kB / 442.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009104/0.2929, allocations: 393 kB / 443 MB, free: 11.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.2929, allocations: 8 kB / 443 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.2929, allocations: 4.406 kB / 443 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002966/0.2932, allocations: 61.67 kB / 443 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003668/0.2936, allocations: 75.83 kB / 443.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002538/0.2961, allocations: 2.63 MB / 445.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003096/0.2964, allocations: 23.97 kB / 445.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.997e-05/0.2965, allocations: 24 kB / 445.8 MB, free: 8.27 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.0002162/0.2967, allocations: 157.7 kB / 445.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.307e-05/0.2968, allocations: 27.81 kB / 446 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.798e-05/0.2968, allocations: 34.3 kB / 446 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.2968, allocations: 4 kB / 446 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.2968, allocations: 0 / 446 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.2969, allocations: 0 / 446 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004183/0.2973, allocations: 312.5 kB / 446.3 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2973, allocations: 0 / 446.3 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002226/0.2975, allocations: 43.91 kB / 446.4 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001758/0.2977, allocations: 57.67 kB / 446.4 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.2977, allocations: 4 kB / 446.4 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002119/0.2998, allocations: 2.618 MB / 449 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2998, allocations: 4.062 kB / 449 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008141/0.3006, allocations: 372.7 kB / 449.4 MB, free: 4.344 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.414e-05/0.3007, allocations: 39.8 kB / 449.4 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.45e-05/0.3007, allocations: 4 kB / 449.4 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/0.3009, allocations: 15.98 kB / 449.5 MB, free: 4.285 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.828e-05/0.301, allocations: 19.95 kB / 449.5 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.3011, allocations: 11.94 kB / 449.5 MB, free: 4.254 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002675/0.3013, allocations: 199.1 kB / 449.7 MB, free: 4.062 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3013, allocations: 0 / 449.7 MB, free: 4.062 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004737/0.3018, allocations: 80 kB / 449.8 MB, free: 3.984 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.001186/0.303, allocations: 0.9081 MB / 450.7 MB, free: 3.043 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001152/0.3041, allocations: 473.3 kB / 451.1 MB, free: 2.555 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3041, allocations: 0 / 451.1 MB, free: 2.555 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005621/0.3047, allocations: 341.2 kB / 451.5 MB, free: 2.195 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004215/0.3051, allocations: 28.47 kB / 451.5 MB, free: 2.168 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004896/0.31, allocations: 3.038 MB / 454.5 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000421/0.3104, allocations: 0.783 MB / 455.3 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001382/0.3106, allocations: 26.42 kB / 455.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001765/0.3108, allocations: 107.4 kB / 455.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3108, allocations: 0 / 455.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03511/0.3459, allocations: 6.072 MB / 461.5 MB, free: 8.109 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/12.5, allocations: 7.156 kB / 461.5 MB, free: 8.105 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection_fmu --startTime=0 --stopTime=0.05 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.955634312995244] Failed to read output from testmodel.py, exit status != 0: ['time', 'magFluxSensor.Phi', 'voltageSensor.v'] 12.664895509951748 12.694884942 12.407781422 Calling exit ...