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.001948/0.001948, allocations: 103.5 kB / 21.74 MB, free: 2.688 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.001971/0.001971, allocations: 158.4 kB / 25.03 MB, free: 8.93 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 1.398/1.398, allocations: 158.6 MB / 186.8 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 178] 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 1.724e-06/1.724e-06, allocations: 0 / 250.3 MB, free: 7.945 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.06e-05/3.232e-05, allocations: 9.828 kB / 250.4 MB, free: 7.938 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.005261/0.005293, allocations: 3.191 MB / 253.5 MB, free: 4.723 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002608/0.007901, allocations: 1.289 MB / 254.8 MB, free: 3.422 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002238/0.008125, allocations: 11.94 kB / 254.8 MB, free: 3.41 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004728/0.008598, allocations: 139 kB / 255 MB, free: 3.273 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009493/0.009547, allocations: 322 kB / 255.3 MB, free: 2.957 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006118/0.01016, allocations: 251.1 kB / 255.5 MB, free: 2.711 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007208/0.01088, allocations: 469.7 kB / 256 MB, free: 2.25 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002247/0.0111, allocations: 96.77 kB / 256.1 MB, free: 2.156 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000372/0.01148, allocations: 251.4 kB / 256.3 MB, free: 1.91 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002988/0.01178, allocations: 151.6 kB / 256.5 MB, free: 1.762 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.772e-05/0.01184, allocations: 32 kB / 256.5 MB, free: 1.73 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003562/0.0122, allocations: 151.7 kB / 256.7 MB, free: 1.582 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.0123, allocations: 83.67 kB / 256.8 MB, free: 1.5 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001701/0.01247, allocations: 135.6 kB / 256.9 MB, free: 1.367 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007981/0.01327, allocations: 0.549 MB / 257.4 MB, free: 0.8164 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.01328, allocations: 0 / 257.4 MB, free: 0.8164 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.01328, allocations: 0 / 257.4 MB, free: 0.8164 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.01328, allocations: 4 kB / 257.4 MB, free: 0.8125 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.001707/0.01499, allocations: 0.7997 MB / 258.2 MB, free: 15.97 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.01504, allocations: 11.98 kB / 258.2 MB, free: 15.96 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007218/0.01576, allocations: 148.5 kB / 258.4 MB, free: 15.82 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004816/0.01624, allocations: 260.8 kB / 258.6 MB, free: 15.54 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.386e-05/0.01627, allocations: 29.38 kB / 258.7 MB, free: 15.51 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.39e-05/0.01634, allocations: 28.38 kB / 258.7 MB, free: 15.48 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007277/0.01707, allocations: 426.8 kB / 259.1 MB, free: 15.04 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.01708, allocations: 4.172 kB / 259.1 MB, free: 15.03 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.692e-05/0.01712, allocations: 12.38 kB / 259.1 MB, free: 15.02 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.205e-05/0.01714, allocations: 11.94 kB / 259.2 MB, free: 15.01 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005108/0.01765, allocations: 229.9 kB / 259.4 MB, free: 14.79 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002455/0.02011, allocations: 1.328 MB / 260.7 MB, free: 13.38 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004556/0.02056, allocations: 198.2 kB / 260.9 MB, free: 13.16 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001785/0.02074, allocations: 83.34 kB / 261 MB, free: 13.07 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009075/0.02165, allocations: 0.7056 MB / 261.7 MB, free: 12.34 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.02168, allocations: 37.39 kB / 261.7 MB, free: 12.29 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.352e-06/0.02168, allocations: 112 / 261.7 MB, free: 12.29 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005878/0.02227, allocations: 213.7 kB / 261.9 MB, free: 12.08 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.79e-05/0.02234, allocations: 85.09 kB / 262 MB, free: 11.98 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004421/0.02278, allocations: 382.4 kB / 262.4 MB, free: 11.59 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.02281, allocations: 29.7 kB / 262.4 MB, free: 11.55 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002606/0.02307, allocations: 310.7 kB / 262.7 MB, free: 11.25 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.474e-05/0.02315, allocations: 71.44 kB / 262.8 MB, free: 11.18 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.02327, allocations: 71.69 kB / 262.9 MB, free: 11.09 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003209/0.02359, allocations: 0.5312 MB / 263.4 MB, free: 10.55 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/0.02375, allocations: 64.62 kB / 263.5 MB, free: 10.49 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000345/0.02409, allocations: 255.5 kB / 263.7 MB, free: 10.16 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005425/0.02463, allocations: 356.3 kB / 264 MB, free: 9.727 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.02464, allocations: 0 / 264 MB, free: 9.727 MB / 250.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006195/0.02526, allocations: 329.4 kB / 264.4 MB, free: 9.398 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.02528, allocations: 8 kB / 264.4 MB, free: 9.391 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.02529, allocations: 4 kB / 264.4 MB, free: 9.387 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.0253, allocations: 4.25 kB / 264.4 MB, free: 9.383 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003032/0.02561, allocations: 83.89 kB / 264.5 MB, free: 9.301 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.638e-05/0.02562, allocations: 11.94 kB / 264.5 MB, free: 9.289 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001974/0.02582, allocations: 35.73 kB / 264.5 MB, free: 9.254 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.94e-05/0.02585, allocations: 19.98 kB / 264.5 MB, free: 9.234 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.000213/0.02606, allocations: 204.6 kB / 264.7 MB, free: 9.023 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.129e-05/0.02615, allocations: 31.86 kB / 264.8 MB, free: 8.992 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.831e-05/0.02621, allocations: 25.8 kB / 264.8 MB, free: 8.961 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.02622, allocations: 7.984 kB / 264.8 MB, free: 8.953 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.02622, allocations: 0 / 264.8 MB, free: 8.953 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.02623, allocations: 0 / 264.8 MB, free: 8.953 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008782/0.02711, allocations: 0.5164 MB / 265.3 MB, free: 8.391 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.02711, allocations: 0 / 265.3 MB, free: 8.391 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002975/0.02741, allocations: 47.94 kB / 265.4 MB, free: 8.344 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.02741, allocations: 8 kB / 265.4 MB, free: 8.336 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.02743, allocations: 0 / 265.4 MB, free: 8.336 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.02743, allocations: 0 / 265.4 MB, free: 8.336 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.02744, allocations: 4 kB / 265.4 MB, free: 8.332 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007715/0.02821, allocations: 0.5023 MB / 265.9 MB, free: 7.805 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.288e-05/0.02826, allocations: 27.8 kB / 265.9 MB, free: 7.777 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.474e-05/0.0283, allocations: 0 / 265.9 MB, free: 7.777 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.0285, allocations: 15.98 kB / 265.9 MB, free: 7.762 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.313e-05/0.02857, allocations: 23.94 kB / 265.9 MB, free: 7.738 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.02858, allocations: 8 kB / 265.9 MB, free: 7.73 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002789/0.02886, allocations: 251 kB / 266.2 MB, free: 7.488 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02886, allocations: 0 / 266.2 MB, free: 7.488 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004655/0.02933, allocations: 83.78 kB / 266.3 MB, free: 7.406 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.0002027/0.02953, allocations: 111.3 kB / 266.4 MB, free: 7.289 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004795/0.03001, allocations: 203.9 kB / 266.6 MB, free: 7.086 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.03001, allocations: 0 / 266.6 MB, free: 7.086 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.03017, allocations: 76.72 kB / 266.7 MB, free: 7.008 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004092/0.03058, allocations: 36.72 kB / 266.7 MB, free: 6.977 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.03179, allocations: 0.6178 MB / 267.3 MB, free: 6.32 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001966/0.03199, allocations: 164.8 kB / 267.5 MB, free: 6.137 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001221/0.03211, allocations: 38.25 kB / 267.5 MB, free: 6.102 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.467e-05/0.03217, allocations: 24.5 kB / 267.5 MB, free: 6.078 MB / 250.7 MB Notification: Performance of SimCode: time 5.71e-07/0.03218, allocations: 0 / 267.5 MB, free: 6.078 MB / 250.7 MB Notification: Performance of Templates: time 0.006855/0.03903, allocations: 2.173 MB / 269.7 MB, free: 3.93 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.325044258031994]