Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.0009384/0.0009384, allocations: 75.77 kB / 22.46 MB, free: 2.094 MB / 18.57 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.0009859/0.0009859, allocations: 160.1 kB / 25.75 MB, free: 8.965 MB / 18.57 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.8433/0.8433, allocations: 158.6 MB / 187.5 MB, free: 2.945 MB / 170.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.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.717e-06/3.717e-06, allocations: 3.984 kB / 251.1 MB, free: 7.812 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.235e-05/2.607e-05, allocations: 6.25 kB / 251.1 MB, free: 7.805 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004776/0.004802, allocations: 3.21 MB / 254.3 MB, free: 4.574 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002401/0.007203, allocations: 1.305 MB / 255.6 MB, free: 3.258 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002293/0.007432, allocations: 8 kB / 255.6 MB, free: 3.25 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004722/0.007904, allocations: 143 kB / 255.8 MB, free: 3.109 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009009/0.008805, allocations: 322 kB / 256.1 MB, free: 2.793 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005113/0.009317, allocations: 247.1 kB / 256.3 MB, free: 2.551 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007736/0.01009, allocations: 465.7 kB / 256.8 MB, free: 2.094 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002256/0.01032, allocations: 100.8 kB / 256.9 MB, free: 1.996 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003484/0.01066, allocations: 243.4 kB / 257.1 MB, free: 1.758 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002646/0.01093, allocations: 155.6 kB / 257.3 MB, free: 1.605 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.755e-05/0.011, allocations: 36 kB / 257.3 MB, free: 1.57 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002973/0.01129, allocations: 151.7 kB / 257.5 MB, free: 1.422 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.196e-05/0.01137, allocations: 91.59 kB / 257.5 MB, free: 1.332 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001383/0.0115, allocations: 127.7 kB / 257.7 MB, free: 1.207 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004614/0.01197, allocations: 402.5 kB / 258.1 MB, free: 0.8125 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.01197, allocations: 8 kB / 258.1 MB, free: 0.8047 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.01197, allocations: 0 / 258.1 MB, free: 0.8047 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.01197, allocations: 0 / 258.1 MB, free: 0.8047 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.0009494/0.01292, allocations: 0.7766 MB / 258.8 MB, free: 15.98 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.01296, allocations: 11.98 kB / 258.9 MB, free: 15.97 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004338/0.01339, allocations: 148.5 kB / 259 MB, free: 15.83 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002893/0.01368, allocations: 252.8 kB / 259.2 MB, free: 15.56 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.0137, allocations: 21.38 kB / 259.3 MB, free: 15.54 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.2e-05/0.01374, allocations: 36.38 kB / 259.3 MB, free: 15.5 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003774/0.01412, allocations: 351.5 kB / 259.6 MB, free: 15.13 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.01413, allocations: 192 / 259.6 MB, free: 15.13 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.528e-05/0.01415, allocations: 16.38 kB / 259.7 MB, free: 15.11 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.01416, allocations: 11.94 kB / 259.7 MB, free: 15.1 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002125/0.01437, allocations: 134.8 kB / 259.8 MB, free: 14.97 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/0.01558, allocations: 1.21 MB / 261 MB, free: 13.68 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002261/0.01581, allocations: 158.2 kB / 261.2 MB, free: 13.5 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.354e-05/0.01588, allocations: 59.62 kB / 261.2 MB, free: 13.43 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004713/0.01635, allocations: 0.6897 MB / 261.9 MB, free: 12.72 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.01637, allocations: 37.5 kB / 262 MB, free: 12.67 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.213e-06/0.01638, allocations: 3.938 kB / 262 MB, free: 12.67 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002749/0.01665, allocations: 153.4 kB / 262.1 MB, free: 12.51 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.01668, allocations: 85.05 kB / 262.2 MB, free: 12.41 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/0.01689, allocations: 338.3 kB / 262.5 MB, free: 12.07 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.01691, allocations: 29.7 kB / 262.6 MB, free: 12.03 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.01702, allocations: 290.8 kB / 262.8 MB, free: 11.74 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.397e-05/0.01705, allocations: 67.42 kB / 262.9 MB, free: 11.68 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.557e-05/0.01712, allocations: 71.64 kB / 263 MB, free: 11.59 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002752/0.01739, allocations: 0.5078 MB / 263.5 MB, free: 11.07 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.374e-05/0.01746, allocations: 36.62 kB / 263.5 MB, free: 11.04 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.0176, allocations: 219 kB / 263.7 MB, free: 10.74 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002363/0.01783, allocations: 297.3 kB / 264 MB, free: 10.37 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.01784, allocations: 0 / 264 MB, free: 10.37 MB / 250.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002858/0.01812, allocations: 261.2 kB / 264.3 MB, free: 10.11 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.01814, allocations: 12.12 kB / 264.3 MB, free: 10.1 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.01815, allocations: 4 kB / 264.3 MB, free: 10.09 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.01817, allocations: 8 kB / 264.3 MB, free: 10.09 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.01833, allocations: 75.91 kB / 264.4 MB, free: 10.01 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.01834, allocations: 11.92 kB / 264.4 MB, free: 10 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.893e-05/0.01844, allocations: 35.73 kB / 264.4 MB, free: 9.965 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.01846, allocations: 20 kB / 264.4 MB, free: 9.945 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001009/0.01856, allocations: 176.4 kB / 264.6 MB, free: 9.762 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.323e-05/0.0186, allocations: 35.86 kB / 264.6 MB, free: 9.727 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.078e-05/0.01864, allocations: 33.78 kB / 264.7 MB, free: 9.688 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.01865, allocations: 4 kB / 264.7 MB, free: 9.684 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.01865, allocations: 0 / 264.7 MB, free: 9.684 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.01865, allocations: 3.938 kB / 264.7 MB, free: 9.68 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003922/0.01905, allocations: 456.9 kB / 265.1 MB, free: 9.188 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01905, allocations: 0 / 265.1 MB, free: 9.188 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.01917, allocations: 51.91 kB / 265.2 MB, free: 9.137 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.01917, allocations: 0 / 265.2 MB, free: 9.137 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.01919, allocations: 8.031 kB / 265.2 MB, free: 9.129 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.01919, allocations: 320 / 265.2 MB, free: 9.129 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.01919, allocations: 0 / 265.2 MB, free: 9.129 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002983/0.01949, allocations: 454.4 kB / 265.6 MB, free: 8.66 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.514e-05/0.01951, allocations: 19.86 kB / 265.7 MB, free: 8.641 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.467e-05/0.01954, allocations: 8 kB / 265.7 MB, free: 8.633 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.873e-05/0.01964, allocations: 7.984 kB / 265.7 MB, free: 8.625 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.125e-05/0.01968, allocations: 23.91 kB / 265.7 MB, free: 8.602 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.01969, allocations: 4 kB / 265.7 MB, free: 8.598 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001215/0.01981, allocations: 223 kB / 265.9 MB, free: 8.383 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01981, allocations: 3.938 kB / 265.9 MB, free: 8.379 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002811/0.02009, allocations: 91.73 kB / 266 MB, free: 8.289 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * 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 (17): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001169/0.02021, allocations: 99.23 kB / 266.1 MB, free: 8.184 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002192/0.02042, allocations: 143.9 kB / 266.2 MB, free: 8.043 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.02043, allocations: 4 kB / 266.3 MB, free: 8.039 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.187e-05/0.02049, allocations: 59.53 kB / 266.3 MB, free: 7.977 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.02076, allocations: 20.98 kB / 266.3 MB, free: 7.957 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.02191, allocations: 0.6071 MB / 266.9 MB, free: 7.312 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.774e-05/0.02198, allocations: 92.3 kB / 267 MB, free: 7.203 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.684e-05/0.02208, allocations: 34.27 kB / 267.1 MB, free: 7.168 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.099e-05/0.02213, allocations: 20.5 kB / 267.1 MB, free: 7.148 MB / 250.7 MB Notification: Performance of SimCode: time 1.202e-06/0.02213, allocations: 0 / 267.1 MB, free: 7.148 MB / 250.7 MB Notification: Performance of Templates: time 0.004474/0.02661, allocations: 2.179 MB / 269.3 MB, free: 4.996 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.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.637047567870468]