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.001061/0.001061, allocations: 85.95 kB / 23 MB, free: 1.504 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.001173/0.001173, allocations: 171.6 kB / 26.39 MB, free: 7.988 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.9107/0.9107, allocations: 158.6 MB / 188.3 MB, free: 2.82 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 1.683e-06/1.683e-06, allocations: 0 / 252.2 MB, free: 7.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.086e-05/2.254e-05, allocations: 6.25 kB / 252.2 MB, free: 7.258 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.003151/0.003174, allocations: 3.19 MB / 255.4 MB, free: 4.051 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00171/0.004884, allocations: 1.289 MB / 256.7 MB, free: 2.75 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002054/0.005089, allocations: 15.94 kB / 256.7 MB, free: 2.734 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000389/0.005478, allocations: 143 kB / 256.9 MB, free: 2.594 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000681/0.006159, allocations: 314 kB / 257.2 MB, free: 2.285 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003613/0.00652, allocations: 247.1 kB / 257.4 MB, free: 2.039 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004963/0.007017, allocations: 469.7 kB / 257.9 MB, free: 1.578 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/0.007177, allocations: 96.75 kB / 258 MB, free: 1.484 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002967/0.007474, allocations: 283.4 kB / 258.3 MB, free: 1.207 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002188/0.007692, allocations: 179.5 kB / 258.4 MB, free: 1.031 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.233e-05/0.007735, allocations: 40 kB / 258.5 MB, free: 0.9922 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002418/0.007976, allocations: 143.8 kB / 258.6 MB, free: 0.8516 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.777e-05/0.008024, allocations: 83.61 kB / 258.7 MB, free: 0.7695 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.321e-05/0.008117, allocations: 135.7 kB / 258.8 MB, free: 0.6367 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004227/0.00854, allocations: 398.5 kB / 259.2 MB, free: 252 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.008543, allocations: 0 / 259.2 MB, free: 252 kB / 234.7 MB Notification: Performance of FrontEnd: time 1.031e-06/0.008544, allocations: 0 / 259.2 MB, free: 252 kB / 234.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.008549, allocations: 0 / 259.2 MB, free: 252 kB / 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.0008983/0.009447, allocations: 0.7765 MB / 260 MB, free: 15.43 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.009479, allocations: 11.98 kB / 260 MB, free: 15.42 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003449/0.009824, allocations: 128.5 kB / 260.1 MB, free: 15.29 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002492/0.01007, allocations: 235.9 kB / 260.4 MB, free: 15.04 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.01009, allocations: 29.38 kB / 260.4 MB, free: 15.01 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.775e-05/0.01013, allocations: 28.38 kB / 260.4 MB, free: 14.98 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003212/0.01045, allocations: 335.4 kB / 260.7 MB, free: 14.62 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.01046, allocations: 4.188 kB / 260.8 MB, free: 14.62 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.371e-05/0.01049, allocations: 16.38 kB / 260.8 MB, free: 14.6 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.0105, allocations: 11.94 kB / 260.8 MB, free: 14.59 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.01063, allocations: 95.41 kB / 260.9 MB, free: 14.5 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.01176, allocations: 1.222 MB / 262.1 MB, free: 13.19 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/0.01195, allocations: 146.1 kB / 262.2 MB, free: 13.02 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.631e-05/0.01199, allocations: 47.36 kB / 262.3 MB, free: 12.97 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004492/0.01244, allocations: 0.6978 MB / 263 MB, free: 12.25 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.01246, allocations: 37.39 kB / 263 MB, free: 12.2 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.262e-06/0.01247, allocations: 4 kB / 263 MB, free: 12.2 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002229/0.01269, allocations: 137.4 kB / 263.2 MB, free: 12.06 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.01272, allocations: 85.11 kB / 263.2 MB, free: 11.96 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/0.0129, allocations: 326.2 kB / 263.6 MB, free: 11.62 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.01291, allocations: 29.7 kB / 263.6 MB, free: 11.59 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.01303, allocations: 294.6 kB / 263.9 MB, free: 11.3 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.944e-05/0.01307, allocations: 71.36 kB / 263.9 MB, free: 11.23 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.454e-05/0.01313, allocations: 71.61 kB / 264 MB, free: 11.14 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.01326, allocations: 0.5233 MB / 264.5 MB, free: 10.61 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.614e-05/0.01329, allocations: 24.62 kB / 264.6 MB, free: 10.59 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.0134, allocations: 219 kB / 264.8 MB, free: 10.29 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001735/0.01358, allocations: 265.5 kB / 265 MB, free: 9.945 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.01358, allocations: 0 / 265 MB, free: 9.945 MB / 250.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000239/0.01382, allocations: 253.3 kB / 265.3 MB, free: 9.691 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.01383, allocations: 8 kB / 265.3 MB, free: 9.684 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.01384, allocations: 4 kB / 265.3 MB, free: 9.68 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.01385, allocations: 8 kB / 265.3 MB, free: 9.672 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.01401, allocations: 75.89 kB / 265.4 MB, free: 9.598 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.01402, allocations: 11.94 kB / 265.4 MB, free: 9.586 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.611e-05/0.01411, allocations: 35.98 kB / 265.4 MB, free: 9.551 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.01412, allocations: 16.28 kB / 265.4 MB, free: 9.535 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 9.539e-05/0.01422, allocations: 176.5 kB / 265.6 MB, free: 9.352 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.807e-05/0.01427, allocations: 35.84 kB / 265.6 MB, free: 9.316 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.545e-05/0.0143, allocations: 25.81 kB / 265.7 MB, free: 9.285 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.01431, allocations: 4 kB / 265.7 MB, free: 9.281 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.01431, allocations: 0 / 265.7 MB, free: 9.281 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.01431, allocations: 3.984 kB / 265.7 MB, free: 9.277 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003389/0.01465, allocations: 413.4 kB / 266.1 MB, free: 8.836 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.01465, allocations: 0 / 266.1 MB, free: 8.836 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.01476, allocations: 47.95 kB / 266.1 MB, free: 8.789 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.01476, allocations: 0 / 266.1 MB, free: 8.789 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.01477, allocations: 7.984 kB / 266.1 MB, free: 8.781 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.01477, allocations: 0 / 266.1 MB, free: 8.781 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.01478, allocations: 4 kB / 266.1 MB, free: 8.777 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002561/0.01503, allocations: 433.8 kB / 266.6 MB, free: 8.332 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.099e-05/0.01506, allocations: 35.72 kB / 266.6 MB, free: 8.297 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.01508, allocations: 0 / 266.6 MB, free: 8.297 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.01519, allocations: 15.98 kB / 266.6 MB, free: 8.281 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.172e-05/0.01522, allocations: 15.95 kB / 266.6 MB, free: 8.266 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.01523, allocations: 4 kB / 266.6 MB, free: 8.262 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.828e-05/0.01532, allocations: 211 kB / 266.8 MB, free: 8.059 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01532, allocations: 0 / 266.8 MB, free: 8.059 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002639/0.01558, allocations: 83.8 kB / 266.9 MB, free: 7.977 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.000122/0.0157, allocations: 123.2 kB / 267 MB, free: 7.848 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001668/0.01587, allocations: 124 kB / 267.2 MB, free: 7.723 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.01587, allocations: 0 / 267.2 MB, free: 7.723 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.842e-05/0.01592, allocations: 52.72 kB / 267.2 MB, free: 7.668 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.01619, allocations: 24.97 kB / 267.2 MB, free: 7.645 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008644/0.01705, allocations: 0.6102 MB / 267.8 MB, free: 6.996 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.86e-05/0.01711, allocations: 84.31 kB / 267.9 MB, free: 6.895 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.864e-05/0.01719, allocations: 30.28 kB / 268 MB, free: 6.863 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.783e-05/0.01729, allocations: 110.2 kB / 268.1 MB, free: 6.754 MB / 250.7 MB Notification: Performance of SimCode: time 9.11e-07/0.01729, allocations: 4 kB / 268.1 MB, free: 6.75 MB / 250.7 MB Notification: Performance of Templates: time 0.004697/0.02199, allocations: 2.433 MB / 270.5 MB, free: 4.344 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.652255428954959]