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.001734/0.001734, allocations: 120.2 kB / 18.5 MB, free: 4.535 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.002095/0.002095, allocations: 222.2 kB / 21.46 MB, free: 1.582 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.576/1.576, allocations: 230.4 MB / 254.7 MB, free: 15.2 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.002138/0.002138, allocations: 63.91 kB / 373.7 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.119, allocations: 53.38 MB / 427.1 MB, free: 4.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004992/0.124, allocations: 2.873 MB / 429.9 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001825/0.1259, allocations: 0.7944 MB / 430.7 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003215/0.1262, allocations: 4 kB / 430.7 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003426/0.1265, allocations: 67.36 kB / 430.8 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004817/0.127, allocations: 99.19 kB / 430.9 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004119/0.1274, allocations: 111.8 kB / 431 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000651/0.1281, allocations: 402.4 kB / 431.4 MB, free: 272 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002675/0.1283, allocations: 98.92 kB / 431.5 MB, free: 168 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005003/0.1288, allocations: 163.4 kB / 431.7 MB, free: 4 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003504/0.1292, allocations: 175.2 kB / 431.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.786e-05/0.1293, allocations: 36 kB / 431.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.285e-05/0.1294, allocations: 36 kB / 431.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.997e-05/0.1295, allocations: 83.69 kB / 432 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002254/0.1297, allocations: 179 kB / 432.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000595/0.1303, allocations: 406.2 kB / 432.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1303, allocations: 0 / 432.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1303, allocations: 0 / 432.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.382e-05/0.1303, allocations: 0 / 432.5 MB, free: 15.11 MB / 366.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.001564/0.1319, allocations: 0.6622 MB / 433.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.1319, allocations: 12.03 kB / 433.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.575e-05/0.1319, allocations: 8.844 kB / 433.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.634e-05/0.132, allocations: 66.72 kB / 433.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.284e-05/0.1321, allocations: 40.7 kB / 433.3 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005012/0.1326, allocations: 283.5 kB / 433.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.159e-05/0.1327, allocations: 21.03 kB / 433.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.563e-05/0.1327, allocations: 36.31 kB / 433.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006905/0.1334, allocations: 294 kB / 434 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.1334, allocations: 0 / 434 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.201e-05/0.1335, allocations: 12 kB / 434 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.1335, allocations: 8 kB / 434 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006821/0.1342, allocations: 262.4 kB / 434.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002066/0.1362, allocations: 1.12 MB / 435.3 MB, free: 12.1 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004758/0.1367, allocations: 142.6 kB / 435.5 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002075/0.1369, allocations: 64.81 kB / 435.6 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.41e-05/0.137, allocations: 0 / 435.6 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.173e-05/0.137, allocations: 46.5 kB / 435.6 MB, free: 11.83 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.843e-06/0.137, allocations: 0 / 435.6 MB, free: 11.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.002413/0.1394, allocations: 0.5844 MB / 436.2 MB, free: 11.24 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.848e-05/0.1395, allocations: 63.34 kB / 436.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004151/0.1399, allocations: 294.8 kB / 436.5 MB, free: 10.87 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.1399, allocations: 25.7 kB / 436.6 MB, free: 10.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002013/0.1401, allocations: 236.1 kB / 436.8 MB, free: 10.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.546e-05/0.1402, allocations: 71.38 kB / 436.9 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/0.1403, allocations: 65.66 kB / 436.9 MB, free: 10.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.1405, allocations: 338.8 kB / 437.3 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003338/0.1408, allocations: 99.92 kB / 437.3 MB, free: 10.03 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004038/0.1412, allocations: 196 kB / 437.5 MB, free: 9.789 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007165/0.142, allocations: 305.1 kB / 437.8 MB, free: 9.449 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.142, allocations: 0 / 437.8 MB, free: 9.449 MB / 366.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001012/0.143, allocations: 393.3 kB / 438.2 MB, free: 9.055 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.143, allocations: 11.94 kB / 438.2 MB, free: 9.043 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.143, allocations: 4 kB / 438.2 MB, free: 9.039 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003416/0.1434, allocations: 61.77 kB / 438.3 MB, free: 8.973 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003651/0.1437, allocations: 79.89 kB / 438.4 MB, free: 8.895 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002515/0.1462, allocations: 2.837 MB / 441.2 MB, free: 5.777 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003285/0.1466, allocations: 27.91 kB / 441.2 MB, free: 5.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.664e-05/0.1466, allocations: 19.94 kB / 441.3 MB, free: 5.73 MB / 366.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.0001992/0.1468, allocations: 149.8 kB / 441.4 MB, free: 5.574 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.989e-05/0.1469, allocations: 31.81 kB / 441.4 MB, free: 5.543 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.147, allocations: 30.2 kB / 441.5 MB, free: 5.508 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.147, allocations: 4 kB / 441.5 MB, free: 5.504 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.147, allocations: 0 / 441.5 MB, free: 5.504 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.147, allocations: 0 / 441.5 MB, free: 5.504 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004748/0.1475, allocations: 341.4 kB / 441.8 MB, free: 5.121 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.1475, allocations: 0 / 441.8 MB, free: 5.121 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002422/0.1477, allocations: 43.89 kB / 441.8 MB, free: 5.078 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002052/0.1479, allocations: 57.81 kB / 441.9 MB, free: 5.016 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.722e-05/0.1479, allocations: 7.984 kB / 441.9 MB, free: 5.008 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002503/0.1504, allocations: 2.837 MB / 444.7 MB, free: 1.895 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1505, allocations: 0 / 444.7 MB, free: 1.895 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009037/0.1514, allocations: 380.8 kB / 445.1 MB, free: 1.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.1515, allocations: 96.95 kB / 445.2 MB, free: 1.387 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.353e-05/0.1515, allocations: 8 kB / 445.2 MB, free: 1.379 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000224/0.1517, allocations: 15.98 kB / 445.2 MB, free: 1.363 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.693e-05/0.1518, allocations: 19.97 kB / 445.3 MB, free: 1.344 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.1518, allocations: 8 kB / 445.3 MB, free: 1.336 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002432/0.1521, allocations: 198 kB / 445.5 MB, free: 1.141 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1521, allocations: 0 / 445.5 MB, free: 1.141 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004758/0.1526, allocations: 72 kB / 445.5 MB, free: 1.07 MB / 366.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.001196/0.1538, allocations: 0.9158 MB / 446.4 MB, free: 124 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.2158/0.3696, allocations: 468.5 kB / 446.9 MB, free: 24.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.3696, allocations: 0.8438 kB / 446.9 MB, free: 24.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000554/0.3702, allocations: 340.7 kB / 447.2 MB, free: 24.33 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004766/0.3706, allocations: 24.12 kB / 447.3 MB, free: 24.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004591/0.3752, allocations: 3.041 MB / 450.3 MB, free: 22.74 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.3755, allocations: 0.7715 MB / 451.1 MB, free: 22.04 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001505/0.3756, allocations: 28.66 kB / 451.1 MB, free: 22.04 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.3758, allocations: 103.6 kB / 451.2 MB, free: 22.04 MB / 366.1 MB Notification: Performance of SimCode: time 1.483e-06/0.3758, allocations: 3.469 kB / 451.2 MB, free: 22.04 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03777/0.4136, allocations: 5.858 MB / 457.1 MB, free: 21.45 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/10.93, allocations: 6.016 kB / 457.1 MB, free: 21.45 MB / 366.1 MB " [Timeout remaining time 649] (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: 13.524911298998632] Failed to read output from testmodel.py, exit status != 0: ['time', 'magFluxSensor.Phi', 'voltageSensor.v'] 11.068533591984306 11.08731607 10.952559406 Calling exit ...