Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.002496/0.002496, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002769/0.002769, allocations: 165.3 kB / 24.28 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.739/1.739, allocations: 177.1 MB / 204.6 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 272.3 MB, free: 1.871 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.788e-05/2.948e-05, allocations: 2.312 kB / 272.3 MB, free: 1.867 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.005164/0.005193, allocations: 3.254 MB / 275.6 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002672/0.007865, allocations: 1.347 MB / 276.9 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002094/0.008074, allocations: 15.94 kB / 276.9 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004727/0.008547, allocations: 143 kB / 277.1 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001189/0.009736, allocations: 425.5 kB / 277.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004686/0.0102, allocations: 191.4 kB / 277.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007513/0.01096, allocations: 473.8 kB / 278.1 MB, free: 12.01 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000231/0.01119, allocations: 104.8 kB / 278.2 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003637/0.01155, allocations: 251.4 kB / 278.5 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002819/0.01183, allocations: 151.6 kB / 278.6 MB, free: 11.51 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.82e-05/0.0119, allocations: 36 kB / 278.7 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003824/0.01228, allocations: 171.7 kB / 278.8 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.209e-05/0.01238, allocations: 87.61 kB / 278.9 MB, free: 11.22 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001644/0.01254, allocations: 131.7 kB / 279 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008035/0.01334, allocations: 0.5684 MB / 279.6 MB, free: 10.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.01335, allocations: 0 / 279.6 MB, free: 10.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.01335, allocations: 0 / 279.6 MB, free: 10.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.844e-06/0.01336, allocations: 0 / 279.6 MB, free: 10.52 MB / 266.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.001587/0.01494, allocations: 0.8035 MB / 280.4 MB, free: 9.684 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.01498, allocations: 12.03 kB / 280.4 MB, free: 9.672 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008288/0.01581, allocations: 156.5 kB / 280.6 MB, free: 9.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004637/0.01627, allocations: 261.8 kB / 280.8 MB, free: 9.234 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.816e-05/0.01631, allocations: 29.38 kB / 280.9 MB, free: 9.203 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.09e-05/0.01637, allocations: 36.31 kB / 280.9 MB, free: 9.168 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007131/0.01708, allocations: 422.8 kB / 281.3 MB, free: 8.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.0171, allocations: 192 / 281.3 MB, free: 8.73 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.833e-05/0.01714, allocations: 16.38 kB / 281.3 MB, free: 8.715 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.592e-05/0.01715, allocations: 11.94 kB / 281.3 MB, free: 8.703 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004988/0.01765, allocations: 229.9 kB / 281.6 MB, free: 8.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002346/0.02, allocations: 1.34 MB / 282.9 MB, free: 7.059 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004397/0.02044, allocations: 204.9 kB / 283.1 MB, free: 6.836 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.02061, allocations: 87.33 kB / 283.2 MB, free: 6.742 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009069/0.02151, allocations: 0.7251 MB / 283.9 MB, free: 5.996 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.02155, allocations: 45.33 kB / 284 MB, free: 5.941 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.102e-06/0.02155, allocations: 0 / 284 MB, free: 5.941 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.000586/0.02214, allocations: 213.4 kB / 284.2 MB, free: 5.727 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.53e-05/0.0222, allocations: 85.11 kB / 284.2 MB, free: 5.625 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005064/0.02271, allocations: 394.3 kB / 284.6 MB, free: 5.223 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.02274, allocations: 25.7 kB / 284.7 MB, free: 5.191 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002426/0.02298, allocations: 306.7 kB / 285 MB, free: 4.883 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.403e-05/0.02304, allocations: 63.48 kB / 285 MB, free: 4.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.02317, allocations: 79.62 kB / 285.1 MB, free: 4.73 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002819/0.02346, allocations: 0.5274 MB / 285.6 MB, free: 4.191 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.02361, allocations: 64.88 kB / 285.7 MB, free: 4.129 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003255/0.02394, allocations: 258.9 kB / 285.9 MB, free: 3.793 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005156/0.02445, allocations: 360.4 kB / 286.3 MB, free: 3.359 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.02445, allocations: 0 / 286.3 MB, free: 3.359 MB / 266.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006003/0.02506, allocations: 329 kB / 286.6 MB, free: 3.031 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.02508, allocations: 8.562 kB / 286.6 MB, free: 3.023 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.02509, allocations: 4 kB / 286.6 MB, free: 3.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/0.02511, allocations: 12 kB / 286.6 MB, free: 3.008 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002954/0.0254, allocations: 75.84 kB / 286.7 MB, free: 2.934 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/0.02542, allocations: 7.984 kB / 286.7 MB, free: 2.926 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001917/0.02561, allocations: 31.78 kB / 286.7 MB, free: 2.895 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.007e-05/0.02564, allocations: 20 kB / 286.8 MB, free: 2.875 MB / 266.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.0002016/0.02584, allocations: 208.3 kB / 287 MB, free: 2.66 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.858e-05/0.02592, allocations: 35.75 kB / 287 MB, free: 2.625 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.208e-05/0.02599, allocations: 29.8 kB / 287 MB, free: 2.59 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.026, allocations: 4 kB / 287 MB, free: 2.586 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.026, allocations: 0 / 287 MB, free: 2.586 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.02601, allocations: 4 kB / 287 MB, free: 2.582 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007837/0.02679, allocations: 0.5164 MB / 287.6 MB, free: 2.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.615e-05/0.02681, allocations: 7.984 kB / 287.6 MB, free: 2.012 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002123/0.02702, allocations: 35.98 kB / 287.6 MB, free: 1.977 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.02702, allocations: 0 / 287.6 MB, free: 1.977 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.02704, allocations: 8 kB / 287.6 MB, free: 1.969 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.02704, allocations: 0 / 287.6 MB, free: 1.969 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.02705, allocations: 8.016 kB / 287.6 MB, free: 1.961 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006387/0.02768, allocations: 0.5023 MB / 288.1 MB, free: 1.434 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.066e-05/0.02774, allocations: 23.84 kB / 288.1 MB, free: 1.41 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.504e-05/0.02778, allocations: 4 kB / 288.1 MB, free: 1.406 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.02799, allocations: 15.98 kB / 288.2 MB, free: 1.391 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.334e-05/0.02804, allocations: 11.92 kB / 288.2 MB, free: 1.379 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.02805, allocations: 4 kB / 288.2 MB, free: 1.375 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002582/0.02831, allocations: 263 kB / 288.4 MB, free: 1.121 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02831, allocations: 4.031 kB / 288.4 MB, free: 1.117 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004379/0.02875, allocations: 83.78 kB / 288.5 MB, free: 1.035 MB / 266.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.0001716/0.02892, allocations: 115.2 kB / 288.6 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004292/0.02935, allocations: 196.9 kB / 288.8 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.02935, allocations: 3.938 kB / 288.8 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.0295, allocations: 75.53 kB / 288.9 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004134/0.02992, allocations: 34.16 kB / 288.9 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.03109, allocations: 0.6217 MB / 289.6 MB, free: 15.95 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000196/0.03129, allocations: 168.8 kB / 289.7 MB, free: 15.76 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001189/0.03141, allocations: 34.95 kB / 289.8 MB, free: 15.73 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.403e-05/0.03148, allocations: 28.48 kB / 289.8 MB, free: 15.7 MB / 282.7 MB Notification: Performance of SimCode: time 5.51e-07/0.03148, allocations: 0 / 289.8 MB, free: 15.7 MB / 282.7 MB Notification: Performance of Templates: time 0.007075/0.03856, allocations: 2.21 MB / 292 MB, free: 13.54 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.694094231934287]