Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007192/0.0007192, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008939/0.001613, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006637/0.0006637, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008748/0.001539, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.997/0.997, allocations: 158.6 MB / 171.1 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1523/1.149, allocations: 49.48 MB / 220.5 MB, free: 1.453 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|coil.Phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|coil.Phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 221.8 MB, free: 196 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.954e-05/3.15e-05, allocations: 6.25 kB / 221.8 MB, free: 188 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.007514/0.007546, allocations: 2.72 MB / 224.5 MB, free: 13.44 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.009147, allocations: 0.908 MB / 225.5 MB, free: 12.52 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001757/0.009322, allocations: 4 kB / 225.5 MB, free: 12.52 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001894/0.009512, allocations: 55.52 kB / 225.5 MB, free: 12.46 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003098/0.009821, allocations: 123 kB / 225.6 MB, free: 12.34 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002968/0.01012, allocations: 91.81 kB / 225.7 MB, free: 12.25 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.00052/0.01064, allocations: 366.4 kB / 226.1 MB, free: 11.89 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002046/0.01084, allocations: 75.95 kB / 226.2 MB, free: 11.82 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003861/0.01123, allocations: 233.3 kB / 226.4 MB, free: 11.6 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002207/0.01145, allocations: 111.6 kB / 226.5 MB, free: 11.49 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.876e-05/0.01151, allocations: 28 kB / 226.5 MB, free: 11.46 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.205e-05/0.01156, allocations: 32 kB / 226.6 MB, free: 11.43 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.481e-05/0.01162, allocations: 47.81 kB / 226.6 MB, free: 11.38 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.01173, allocations: 87.81 kB / 226.7 MB, free: 11.3 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003481/0.01207, allocations: 215.2 kB / 226.9 MB, free: 11.09 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.859e-05/0.01209, allocations: 0 / 226.9 MB, free: 11.09 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.01209, allocations: 3.938 kB / 226.9 MB, free: 11.08 MB / 234.7 MB Notification: Performance of Transformations before backend: time 2.187e-05/0.01212, allocations: 0 / 226.9 MB, free: 11.08 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.000981/0.0131, allocations: 0.566 MB / 227.5 MB, free: 10.49 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.01314, allocations: 12.02 kB / 227.5 MB, free: 10.48 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.184e-05/0.01323, allocations: 44.91 kB / 227.5 MB, free: 10.43 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.0135, allocations: 169.3 kB / 227.7 MB, free: 10.24 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.888e-05/0.01354, allocations: 25.03 kB / 227.7 MB, free: 10.22 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.254e-05/0.01359, allocations: 24.38 kB / 227.7 MB, free: 10.2 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003507/0.01394, allocations: 221 kB / 227.9 MB, free: 9.965 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.01395, allocations: 192 / 227.9 MB, free: 9.965 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.414e-05/0.01397, allocations: 12.38 kB / 228 MB, free: 9.953 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.01399, allocations: 11.94 kB / 228 MB, free: 9.941 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/0.01416, allocations: 72.55 kB / 228 MB, free: 9.871 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/0.01542, allocations: 0.6457 MB / 228.7 MB, free: 9.184 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002701/0.01569, allocations: 114.5 kB / 228.8 MB, free: 9.062 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001351/0.01582, allocations: 61.23 kB / 228.9 MB, free: 9 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.843e-05/0.01586, allocations: 4 kB / 228.9 MB, free: 8.996 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.479e-05/0.01591, allocations: 42.42 kB / 228.9 MB, free: 8.945 MB / 234.7 MB Notification: Performance of pre-optimization done (n=23): time 2.334e-06/0.01591, allocations: 0 / 228.9 MB, free: 8.945 MB / 234.7 MB Notification: Performance of matching and sorting (n=35): time 0.003853/0.01976, allocations: 1.212 MB / 230.1 MB, free: 7.691 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.0198, allocations: 55.41 kB / 230.2 MB, free: 7.625 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.01998, allocations: 211.3 kB / 230.4 MB, free: 7.406 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.02, allocations: 33.7 kB / 230.4 MB, free: 7.367 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.888e-05/0.0201, allocations: 168.4 kB / 230.6 MB, free: 7.199 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.956e-05/0.02019, allocations: 126.9 kB / 230.7 MB, free: 7.074 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.901e-05/0.02029, allocations: 66.05 kB / 230.8 MB, free: 7.004 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.02041, allocations: 342.7 kB / 231.1 MB, free: 6.66 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.22e-05/0.02049, allocations: 36.73 kB / 231.1 MB, free: 6.625 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.02061, allocations: 96.12 kB / 231.2 MB, free: 6.516 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002171/0.02083, allocations: 151.9 kB / 231.4 MB, free: 6.352 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.02083, allocations: 4 kB / 231.4 MB, free: 6.348 MB / 234.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008455/0.02167, allocations: 330.6 kB / 231.7 MB, free: 6.012 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.0217, allocations: 4 kB / 231.7 MB, free: 6.008 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.0217, allocations: 0 / 231.7 MB, free: 6.008 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001156/0.02286, allocations: 301.4 kB / 232 MB, free: 5.707 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002837/0.02315, allocations: 75.89 kB / 232.1 MB, free: 5.633 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003191/0.02634, allocations: 3.138 MB / 235.2 MB, free: 2.324 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.02648, allocations: 8 kB / 235.2 MB, free: 2.316 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.0265, allocations: 8 kB / 235.2 MB, free: 2.309 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (29): * Single equations (assignments): 27 * 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): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001466/0.02665, allocations: 137.7 kB / 235.4 MB, free: 2.164 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.511e-05/0.0267, allocations: 31.92 kB / 235.4 MB, free: 2.133 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.579e-05/0.02677, allocations: 42.64 kB / 235.4 MB, free: 2.094 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.02677, allocations: 4 kB / 235.4 MB, free: 2.09 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.02678, allocations: 4 kB / 235.4 MB, free: 2.086 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.02679, allocations: 0 / 235.4 MB, free: 2.086 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00128/0.02807, allocations: 0.5696 MB / 236 MB, free: 1.48 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.02807, allocations: 0 / 236 MB, free: 1.48 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000214/0.02828, allocations: 68.02 kB / 236.1 MB, free: 1.414 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.245e-05/0.02832, allocations: 19.86 kB / 236.1 MB, free: 1.395 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001111/0.02943, allocations: 293.3 kB / 236.4 MB, free: 1.102 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.02945, allocations: 4 kB / 236.4 MB, free: 1.098 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003064/0.03251, allocations: 3.151 MB / 239.5 MB, free: 13.77 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.03251, allocations: 4 kB / 239.5 MB, free: 13.77 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009509/0.03347, allocations: 470.5 kB / 240 MB, free: 13.28 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.043e-05/0.0335, allocations: 4 kB / 240 MB, free: 13.27 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.03364, allocations: 16.03 kB / 240 MB, free: 13.26 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.84e-05/0.03372, allocations: 35.81 kB / 240.1 MB, free: 13.22 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.03374, allocations: 12 kB / 240.1 MB, free: 13.21 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.794e-05/0.03382, allocations: 66.78 kB / 240.1 MB, free: 13.14 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03382, allocations: 0 / 240.1 MB, free: 13.14 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0005873/0.03441, allocations: 104 kB / 240.2 MB, free: 13.04 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (coil.i) * 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 (19): * Single equations (assignments): 17 * 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): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001363/0.03454, allocations: 80.42 kB / 240.3 MB, free: 12.96 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0006442/0.03519, allocations: 453.5 kB / 240.8 MB, free: 12.48 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.93e-05/0.03521, allocations: 7.984 kB / 240.8 MB, free: 12.48 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005343/0.03574, allocations: 378 kB / 241.1 MB, free: 12.08 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.03602, allocations: 52.67 kB / 241.2 MB, free: 12.03 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002669/0.03869, allocations: 0.637 MB / 241.8 MB, free: 11.36 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001204/0.03881, allocations: 101.4 kB / 241.9 MB, free: 11.24 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001069/0.03892, allocations: 26.27 kB / 241.9 MB, free: 11.21 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.829e-05/0.03902, allocations: 79.38 kB / 242 MB, free: 11.13 MB / 250.7 MB Notification: Performance of SimCode: time 1.603e-06/0.03902, allocations: 0 / 242 MB, free: 11.13 MB / 250.7 MB Notification: Performance of Templates: time 0.01369/0.05271, allocations: 6.322 MB / 248.3 MB, free: 4.797 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/SaturatedInductor/SaturatedInductor.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9678669637069106]