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.001189/0.001189, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001788/0.002978, allocations: 453.8 kB / 10.46 MB, free: 236 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.001023/0.001023, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00102/0.002043, allocations: 483.5 kB / 11.83 MB, free: 2.336 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 1.132/1.132, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2155/1.348, allocations: 49.5 MB / 220.7 MB, free: 1.352 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.543e-06/1.543e-06, allocations: 0 / 222 MB, free: 84 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.414e-05/3.569e-05, allocations: 5.406 kB / 222 MB, free: 80 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.004453/0.004489, allocations: 2.721 MB / 224.7 MB, free: 13.33 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00206/0.006549, allocations: 0.9158 MB / 225.6 MB, free: 12.41 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002246/0.006773, allocations: 4 kB / 225.6 MB, free: 12.4 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002846/0.007058, allocations: 59.44 kB / 225.7 MB, free: 12.34 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000356/0.007414, allocations: 111.1 kB / 225.8 MB, free: 12.23 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003582/0.007772, allocations: 103.7 kB / 225.9 MB, free: 12.13 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005031/0.008275, allocations: 362.4 kB / 226.2 MB, free: 11.78 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002148/0.00849, allocations: 72.02 kB / 226.3 MB, free: 11.71 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004365/0.008926, allocations: 237.2 kB / 226.5 MB, free: 11.48 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002253/0.009152, allocations: 111.7 kB / 226.6 MB, free: 11.37 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.026e-05/0.009202, allocations: 28 kB / 226.7 MB, free: 11.34 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.072e-05/0.009243, allocations: 32 kB / 226.7 MB, free: 11.31 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.71e-05/0.00929, allocations: 51.81 kB / 226.8 MB, free: 11.26 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.736e-05/0.009377, allocations: 87.81 kB / 226.8 MB, free: 11.18 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002994/0.009677, allocations: 211.1 kB / 227 MB, free: 10.97 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.881e-05/0.009695, allocations: 8 kB / 227.1 MB, free: 10.96 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.009698, allocations: 0 / 227.1 MB, free: 10.96 MB / 234.7 MB Notification: Performance of Transformations before backend: time 2.449e-05/0.009723, allocations: 0 / 227.1 MB, free: 10.96 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.0008443/0.01057, allocations: 0.5582 MB / 227.6 MB, free: 10.38 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.01061, allocations: 8.031 kB / 227.6 MB, free: 10.37 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.095e-05/0.0107, allocations: 48.89 kB / 227.7 MB, free: 10.32 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002906/0.01099, allocations: 177.2 kB / 227.8 MB, free: 10.12 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.074e-05/0.01102, allocations: 21.03 kB / 227.9 MB, free: 10.1 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.049e-05/0.01106, allocations: 24.38 kB / 227.9 MB, free: 10.08 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003228/0.01138, allocations: 217 kB / 228.1 MB, free: 9.855 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.01139, allocations: 192 / 228.1 MB, free: 9.855 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.012e-05/0.01141, allocations: 12.38 kB / 228.1 MB, free: 9.844 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.01142, allocations: 7.938 kB / 228.1 MB, free: 9.836 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.01154, allocations: 80.53 kB / 228.2 MB, free: 9.754 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.01257, allocations: 0.6379 MB / 228.8 MB, free: 9.078 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002337/0.0128, allocations: 122.5 kB / 229 MB, free: 8.949 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.01291, allocations: 61.22 kB / 229 MB, free: 8.887 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.865e-05/0.01293, allocations: 7.938 kB / 229 MB, free: 8.879 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.01297, allocations: 38.42 kB / 229.1 MB, free: 8.832 MB / 234.7 MB Notification: Performance of pre-optimization done (n=23): time 1.753e-06/0.01297, allocations: 0 / 229.1 MB, free: 8.832 MB / 234.7 MB Notification: Performance of matching and sorting (n=35): time 0.002925/0.01589, allocations: 1.212 MB / 230.3 MB, free: 7.578 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.01594, allocations: 55.41 kB / 230.3 MB, free: 7.512 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.01611, allocations: 215.3 kB / 230.5 MB, free: 7.285 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.051e-05/0.01614, allocations: 37.7 kB / 230.6 MB, free: 7.242 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.359e-05/0.01622, allocations: 164.5 kB / 230.7 MB, free: 7.078 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.939e-05/0.01631, allocations: 130.9 kB / 230.9 MB, free: 6.949 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.629e-05/0.0164, allocations: 66.05 kB / 230.9 MB, free: 6.879 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.01652, allocations: 338.7 kB / 231.3 MB, free: 6.539 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.131e-05/0.01658, allocations: 36.73 kB / 231.3 MB, free: 6.504 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.029e-05/0.01667, allocations: 93.5 kB / 231.4 MB, free: 6.398 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.01685, allocations: 161.2 kB / 231.5 MB, free: 6.223 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.01685, allocations: 0 / 231.5 MB, free: 6.223 MB / 234.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006392/0.01749, allocations: 338.6 kB / 231.9 MB, free: 5.879 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.01751, allocations: 7.938 kB / 231.9 MB, free: 5.871 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.01752, allocations: 4 kB / 231.9 MB, free: 5.867 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008901/0.01841, allocations: 309.4 kB / 232.2 MB, free: 5.559 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/0.01863, allocations: 67.89 kB / 232.2 MB, free: 5.492 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003015/0.02165, allocations: 3.141 MB / 235.4 MB, free: 2.184 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.02178, allocations: 12 kB / 235.4 MB, free: 2.172 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.02179, allocations: 8 kB / 235.4 MB, free: 2.164 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.0001401/0.02193, allocations: 137.7 kB / 235.5 MB, free: 2.02 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.084e-05/0.02197, allocations: 27.97 kB / 235.6 MB, free: 1.992 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.546e-05/0.02203, allocations: 46.64 kB / 235.6 MB, free: 1.949 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.02203, allocations: 4 kB / 235.6 MB, free: 1.945 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-05/0.02204, allocations: 0 / 235.6 MB, free: 1.945 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/0.02205, allocations: 0 / 235.6 MB, free: 1.945 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009963/0.02304, allocations: 0.5735 MB / 236.2 MB, free: 1.336 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/0.02305, allocations: 4 kB / 236.2 MB, free: 1.332 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.02321, allocations: 60.36 kB / 236.3 MB, free: 1.273 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.77e-05/0.02325, allocations: 19.86 kB / 236.3 MB, free: 1.254 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007936/0.02405, allocations: 297.6 kB / 236.6 MB, free: 0.957 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.898e-05/0.02407, allocations: 15.98 kB / 236.6 MB, free: 0.9414 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002467/0.02654, allocations: 3.131 MB / 239.7 MB, free: 13.63 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.02654, allocations: 4 kB / 239.7 MB, free: 13.62 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000692/0.02724, allocations: 482.3 kB / 240.2 MB, free: 13.12 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.02726, allocations: 8 kB / 240.2 MB, free: 13.12 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.742e-05/0.02736, allocations: 15.98 kB / 240.2 MB, free: 13.1 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.02747, allocations: 35.88 kB / 240.2 MB, free: 13.07 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.02748, allocations: 4 kB / 240.3 MB, free: 13.06 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.15e-05/0.02756, allocations: 74.53 kB / 240.3 MB, free: 12.99 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02756, allocations: 0 / 240.3 MB, free: 12.99 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004599/0.02802, allocations: 104 kB / 240.4 MB, free: 12.89 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.0001305/0.02815, allocations: 88.39 kB / 240.5 MB, free: 12.79 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005501/0.0287, allocations: 445.7 kB / 240.9 MB, free: 12.33 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.001e-05/0.02872, allocations: 8 kB / 241 MB, free: 12.32 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003263/0.02905, allocations: 398.1 kB / 241.3 MB, free: 11.9 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.02937, allocations: 197.2 kB / 241.5 MB, free: 11.68 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002474/0.03185, allocations: 0.6336 MB / 242.2 MB, free: 11.02 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.708e-05/0.03195, allocations: 101.4 kB / 242.3 MB, free: 10.9 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.299e-05/0.03202, allocations: 30.89 kB / 242.3 MB, free: 10.87 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.03212, allocations: 83.36 kB / 242.4 MB, free: 10.79 MB / 250.7 MB Notification: Performance of SimCode: time 9.62e-07/0.03212, allocations: 0 / 242.4 MB, free: 10.79 MB / 250.7 MB Notification: Performance of Templates: time 0.009714/0.04184, allocations: 5.953 MB / 248.3 MB, free: 4.828 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.239894887432456]