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.001739/0.001739, allocations: 116.9 kB / 18.49 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.002082/0.002082, allocations: 220.7 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.533/1.533, 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.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.001974/0.001974, allocations: 55.91 kB / 373.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1171, allocations: 53.39 MB / 427.1 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004569/0.1216, allocations: 2.834 MB / 429.9 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00159/0.1232, allocations: 0.7866 MB / 430.7 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001817/0.1234, allocations: 4 kB / 430.7 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002712/0.1237, allocations: 75.36 kB / 430.8 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003008/0.124, allocations: 95.19 kB / 430.9 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002963/0.1243, allocations: 103.8 kB / 431 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004428/0.1247, allocations: 394.5 kB / 431.3 MB, free: 344 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002341/0.125, allocations: 106.9 kB / 431.4 MB, free: 232 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003477/0.1253, allocations: 159.4 kB / 431.6 MB, free: 72 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002401/0.1255, allocations: 167.2 kB / 431.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.638e-05/0.1256, allocations: 32 kB / 431.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.615e-05/0.1257, allocations: 32 kB / 431.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.119e-05/0.1257, allocations: 79.69 kB / 431.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001659/0.1259, allocations: 175.1 kB / 432.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004806/0.1264, allocations: 394.3 kB / 432.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1264, allocations: 0 / 432.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1264, allocations: 3.938 kB / 432.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.1264, allocations: 4 kB / 432.5 MB, free: 15.2 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.001375/0.1278, allocations: 0.6506 MB / 433.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/0.1278, allocations: 12.03 kB / 433.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.375e-05/0.1278, allocations: 8.844 kB / 433.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.016e-05/0.1279, allocations: 70.72 kB / 433.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.262e-05/0.128, allocations: 36.7 kB / 433.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005034/0.1285, allocations: 280.7 kB / 433.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.172e-05/0.1285, allocations: 21.03 kB / 433.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.304e-05/0.1286, allocations: 32.38 kB / 433.6 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006462/0.1292, allocations: 290 kB / 433.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.1293, allocations: 0 / 433.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.627e-05/0.1293, allocations: 19.98 kB / 433.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.1293, allocations: 8 kB / 433.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006483/0.13, allocations: 246.5 kB / 434.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001942/0.1319, allocations: 1.12 MB / 435.2 MB, free: 12.22 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004245/0.1323, allocations: 150.5 kB / 435.4 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001977/0.1325, allocations: 60.81 kB / 435.4 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/0.1326, allocations: 4 kB / 435.5 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.1326, allocations: 30.56 kB / 435.5 MB, free: 11.96 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.903e-06/0.1326, allocations: 0 / 435.5 MB, free: 11.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.002322/0.1349, allocations: 0.5975 MB / 436.1 MB, free: 11.35 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/0.1349, allocations: 55.34 kB / 436.1 MB, free: 11.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003417/0.1353, allocations: 270.6 kB / 436.4 MB, free: 11.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.1353, allocations: 29.7 kB / 436.4 MB, free: 10.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.1355, allocations: 232 kB / 436.7 MB, free: 10.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.001e-05/0.1356, allocations: 79.39 kB / 436.7 MB, free: 10.67 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.1357, allocations: 65.42 kB / 436.8 MB, free: 10.6 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.1358, allocations: 338.8 kB / 437.1 MB, free: 10.26 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002997/0.1361, allocations: 95.88 kB / 437.2 MB, free: 10.17 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000397/0.1365, allocations: 203.9 kB / 437.4 MB, free: 9.922 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006764/0.1372, allocations: 297.1 kB / 437.7 MB, free: 9.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1372, allocations: 0 / 437.7 MB, free: 9.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009152/0.1381, allocations: 389.5 kB / 438.1 MB, free: 9.199 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.1381, allocations: 8 kB / 438.1 MB, free: 9.191 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.1382, allocations: 4 kB / 438.1 MB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002881/0.1384, allocations: 61.61 kB / 438.2 MB, free: 9.121 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003502/0.1388, allocations: 71.89 kB / 438.2 MB, free: 9.051 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002565/0.1414, allocations: 2.845 MB / 441.1 MB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002927/0.1417, allocations: 31.98 kB / 441.1 MB, free: 5.891 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.313e-05/0.1417, allocations: 19.94 kB / 441.1 MB, free: 5.871 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.0001846/0.1419, allocations: 149.7 kB / 441.3 MB, free: 5.715 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.626e-05/0.1419, allocations: 23.86 kB / 441.3 MB, free: 5.691 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.918e-05/0.142, allocations: 34.17 kB / 441.3 MB, free: 5.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.142, allocations: 4 kB / 441.3 MB, free: 5.656 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.142, allocations: 0 / 441.3 MB, free: 5.656 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.142, allocations: 7.984 kB / 441.3 MB, free: 5.648 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004241/0.1424, allocations: 329.4 kB / 441.7 MB, free: 5.277 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1424, allocations: 0 / 441.7 MB, free: 5.277 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002258/0.1427, allocations: 47.84 kB / 441.7 MB, free: 5.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001768/0.1429, allocations: 57.67 kB / 441.8 MB, free: 5.168 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.1429, allocations: 0 / 441.8 MB, free: 5.168 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002227/0.1451, allocations: 2.833 MB / 444.6 MB, free: 2.055 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.1451, allocations: 8.156 kB / 444.6 MB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007673/0.1459, allocations: 376.7 kB / 445 MB, free: 1.656 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.755e-05/0.1459, allocations: 92.97 kB / 445.1 MB, free: 1.547 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.148e-05/0.146, allocations: 12 kB / 445.1 MB, free: 1.535 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.1462, allocations: 19.97 kB / 445.1 MB, free: 1.516 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.374e-05/0.1463, allocations: 11.98 kB / 445.1 MB, free: 1.504 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.1463, allocations: 11.98 kB / 445.1 MB, free: 1.492 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002048/0.1465, allocations: 186 kB / 445.3 MB, free: 1.309 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1465, allocations: 0 / 445.3 MB, free: 1.309 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004143/0.1469, allocations: 68 kB / 445.4 MB, free: 1.242 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.00109/0.148, allocations: 0.9162 MB / 446.3 MB, free: 304 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.2054/0.3534, allocations: 468.8 kB / 446.7 MB, free: 23.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.3534, allocations: 0 / 446.7 MB, free: 23.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005595/0.354, allocations: 336.5 kB / 447.1 MB, free: 23.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004409/0.3544, allocations: 28.09 kB / 447.1 MB, free: 23.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005479/0.3599, allocations: 2.963 MB / 450.1 MB, free: 22.15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.3601, allocations: 0.7735 MB / 450.8 MB, free: 21.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001415/0.3603, allocations: 32.59 kB / 450.9 MB, free: 21.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.3604, allocations: 101.1 kB / 451 MB, free: 21.44 MB / 366.1 MB Notification: Performance of SimCode: time 1.173e-06/0.3604, allocations: 0 / 451 MB, free: 21.44 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03295/0.3933, allocations: 5.707 MB / 456.7 MB, free: 20.83 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.13, allocations: 6.656 kB / 456.7 MB, free: 20.83 MB / 366.1 MB " [Timeout remaining time 649] (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: 13.655715101980604] Failed to read output from testmodel.py, exit status != 0: ['time', 'magFluxSensor.Phi', 'voltageSensor.v'] 11.270393901038915 11.286900709 11.157469741 Calling exit ...