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.001455/0.001455, allocations: 109.1 kB / 21.22 MB, free: 0.7305 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.001547/0.001547, allocations: 207.5 kB / 24.53 MB, free: 4.066 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.5/1.5, allocations: 230.5 MB / 258.2 MB, free: 8.027 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.00216/0.00216, allocations: 55.91 kB / 378.6 MB, free: 3.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3092, allocations: 53.41 MB / 432 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004353/0.3136, allocations: 2.865 MB / 434.8 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001466/0.315, allocations: 0.8021 MB / 435.6 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001413/0.3152, allocations: 4 kB / 435.6 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002264/0.3154, allocations: 67.44 kB / 435.7 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002671/0.3157, allocations: 103.2 kB / 435.8 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002562/0.3159, allocations: 103.8 kB / 435.9 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003965/0.3163, allocations: 382.6 kB / 436.3 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002062/0.3165, allocations: 103.3 kB / 436.4 MB, free: 2.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003255/0.3169, allocations: 167.3 kB / 436.5 MB, free: 2.105 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000235/0.3171, allocations: 171.2 kB / 436.7 MB, free: 1.938 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.077e-05/0.3172, allocations: 32 kB / 436.7 MB, free: 1.906 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.219e-05/0.3172, allocations: 35.94 kB / 436.8 MB, free: 1.871 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.281e-05/0.3173, allocations: 67.77 kB / 436.8 MB, free: 1.805 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001566/0.3174, allocations: 175.1 kB / 437 MB, free: 1.633 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004281/0.3179, allocations: 399.1 kB / 437.4 MB, free: 1.246 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.3179, allocations: 0 / 437.4 MB, free: 1.246 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3179, allocations: 0 / 437.4 MB, free: 1.246 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.824e-06/0.3179, allocations: 0 / 437.4 MB, free: 1.246 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.001119/0.319, allocations: 0.5792 MB / 438 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.319, allocations: 12.03 kB / 438 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.486e-05/0.319, allocations: 20.72 kB / 438 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.931e-05/0.3191, allocations: 66.72 kB / 438.1 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.681e-05/0.3192, allocations: 40.7 kB / 438.1 MB, free: 500 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003426/0.3195, allocations: 218.8 kB / 438.3 MB, free: 252 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.008e-05/0.3196, allocations: 21.03 kB / 438.4 MB, free: 232 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.143e-05/0.3196, allocations: 32.38 kB / 438.4 MB, free: 200 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005882/0.3202, allocations: 286 kB / 438.7 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.3202, allocations: 4 kB / 438.7 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.798e-05/0.3202, allocations: 19.98 kB / 438.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.3203, allocations: 8 kB / 438.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006267/0.3209, allocations: 246.5 kB / 438.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001745/0.3226, allocations: 1.045 MB / 440 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003862/0.323, allocations: 146.5 kB / 440.1 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001959/0.3232, allocations: 72.8 kB / 440.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.3232, allocations: 0 / 440.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.3233, allocations: 34.56 kB / 440.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.172e-06/0.3233, allocations: 0 / 440.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.002067/0.3253, allocations: 0.5937 MB / 440.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.3254, allocations: 59.34 kB / 440.9 MB, free: 13.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002929/0.3257, allocations: 269.7 kB / 441.1 MB, free: 13.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/0.3257, allocations: 33.7 kB / 441.2 MB, free: 13.26 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.3259, allocations: 236 kB / 441.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.55e-05/0.3259, allocations: 75.33 kB / 441.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.3261, allocations: 77.42 kB / 441.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.3262, allocations: 330.8 kB / 441.9 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002862/0.3265, allocations: 95.94 kB / 442 MB, free: 12.44 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003627/0.3269, allocations: 200.1 kB / 442.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006205/0.3275, allocations: 301.1 kB / 442.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.3275, allocations: 0 / 442.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008478/0.3283, allocations: 393 kB / 442.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.3284, allocations: 8.406 kB / 442.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.3284, allocations: 4 kB / 442.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002664/0.3286, allocations: 57.67 kB / 442.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003178/0.3289, allocations: 75.83 kB / 443 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002117/0.3311, allocations: 2.626 MB / 445.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002535/0.3313, allocations: 31.92 kB / 445.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.397e-05/0.3313, allocations: 16 kB / 445.7 MB, free: 8.414 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.0001513/0.3315, allocations: 149.8 kB / 445.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.073e-05/0.3315, allocations: 23.86 kB / 445.8 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.187e-05/0.3316, allocations: 34.27 kB / 445.9 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.3316, allocations: 0 / 445.9 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.3316, allocations: 4 kB / 445.9 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3316, allocations: 0 / 445.9 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003668/0.332, allocations: 316.5 kB / 446.2 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.332, allocations: 0 / 446.2 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002014/0.3322, allocations: 39.97 kB / 446.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001501/0.3323, allocations: 57.61 kB / 446.3 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.3324, allocations: 4 kB / 446.3 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002015/0.3344, allocations: 2.622 MB / 448.9 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3344, allocations: 0 / 448.9 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007301/0.3351, allocations: 380.8 kB / 449.3 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.45e-05/0.3352, allocations: 31.78 kB / 449.3 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.1e-05/0.3352, allocations: 4 kB / 449.3 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/0.3354, allocations: 15.98 kB / 449.3 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.75e-05/0.3354, allocations: 23.95 kB / 449.3 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.3355, allocations: 8 kB / 449.4 MB, free: 4.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001847/0.3356, allocations: 185.2 kB / 449.5 MB, free: 4.227 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3356, allocations: 0 / 449.5 MB, free: 4.227 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003763/0.336, allocations: 72 kB / 449.6 MB, free: 4.156 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.001042/0.3371, allocations: 0.9119 MB / 450.5 MB, free: 3.215 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009222/0.338, allocations: 465.7 kB / 451 MB, free: 2.734 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.338, allocations: 8.125 kB / 451 MB, free: 2.727 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004999/0.3385, allocations: 341.2 kB / 451.3 MB, free: 2.367 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.3388, allocations: 28.5 kB / 451.3 MB, free: 2.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004287/0.3431, allocations: 2.968 MB / 454.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000389/0.3435, allocations: 0.7753 MB / 455.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000113/0.3436, allocations: 26.28 kB / 455.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001536/0.3438, allocations: 103.4 kB / 455.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of SimCode: time 6.52e-07/0.3438, allocations: 4 kB / 455.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03078/0.3745, allocations: 5.9 MB / 461.1 MB, free: 8.496 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/12.5, allocations: 4.062 kB / 461.1 MB, free: 8.492 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: 14.956094474997371] Failed to read output from testmodel.py, exit status != 0: ['time', 'magFluxSensor.Phi', 'voltageSensor.v'] 12.661204682022799 12.677156982 12.356060604 Calling exit ...