Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009878/0.0009878, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001361/0.002349, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009345/0.0009345, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001274/0.002209, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9644/0.9644, allocations: 173.4 MB / 185.8 MB, free: 8.98 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0864/1.051, allocations: 52.49 MB / 238.3 MB, free: 4.426 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|converter_e.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|converter_e.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|converter_e.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|converter_e.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 239.5 MB, free: 3.18 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.063e-05/2.237e-05, allocations: 6.875 kB / 239.5 MB, free: 3.172 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.009005/0.009027, allocations: 7.022 MB / 246.6 MB, free: 12.12 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005852/0.01488, allocations: 2.265 MB / 248.8 MB, free: 9.844 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001643/0.01652, allocations: 63.62 kB / 248.9 MB, free: 9.781 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001338/0.01786, allocations: 480.7 kB / 249.4 MB, free: 9.309 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003164/0.02102, allocations: 0.9123 MB / 250.3 MB, free: 8.391 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.02209, allocations: 359.3 kB / 250.6 MB, free: 8.039 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004459/0.02655, allocations: 3.294 MB / 253.9 MB, free: 4.73 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003198/0.02974, allocations: 1.576 MB / 255.5 MB, free: 3.07 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004622/0.03437, allocations: 2.543 MB / 258 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003554/0.03792, allocations: 1.817 MB / 259.9 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001385/0.03931, allocations: 356 kB / 260.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001683/0.04099, allocations: 475.8 kB / 260.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009773/0.04197, allocations: 0.7403 MB / 261.4 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001972/0.04394, allocations: 0.9046 MB / 262.3 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004087/0.04803, allocations: 2.585 MB / 264.9 MB, free: 9.637 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.288e-05/0.04805, allocations: 0 / 264.9 MB, free: 9.637 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.04805, allocations: 0 / 264.9 MB, free: 9.637 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001384/0.04819, allocations: 0 / 264.9 MB, free: 9.637 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: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.007767/0.05596, allocations: 3.983 MB / 268.9 MB, free: 5.594 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.05599, allocations: 8.031 kB / 268.9 MB, free: 5.586 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002891/0.05889, allocations: 0.8317 MB / 269.7 MB, free: 4.754 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002643/0.06153, allocations: 1.027 MB / 270.8 MB, free: 3.684 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001587/0.06169, allocations: 201.7 kB / 270.9 MB, free: 3.484 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004215/0.06211, allocations: 264.3 kB / 271.2 MB, free: 3.227 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003947/0.06606, allocations: 2.154 MB / 273.4 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.937e-05/0.06612, allocations: 3.938 kB / 273.4 MB, free: 0.957 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002615/0.06638, allocations: 112 kB / 273.5 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001348/0.06651, allocations: 105.4 kB / 273.6 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001966/0.06848, allocations: 0.638 MB / 274.2 MB, free: 88 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1255/0.194, allocations: 6.331 MB / 280.5 MB, free: 16.38 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001572/0.1955, allocations: 1.071 MB / 281.6 MB, free: 16.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003985/0.1959, allocations: 347.9 kB / 282 MB, free: 16.28 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001811/0.1978, allocations: 1.235 MB / 283.2 MB, free: 15.87 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.1978, allocations: 46.48 kB / 283.2 MB, free: 15.83 MB / 266.7 MB Notification: Performance of pre-optimization done (n=104): time 3.487e-06/0.1978, allocations: 3.984 kB / 283.2 MB, free: 15.83 MB / 266.7 MB Notification: Performance of matching and sorting (n=104): time 0.002489/0.2003, allocations: 1.269 MB / 284.5 MB, free: 15.69 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.2003, allocations: 90.27 kB / 284.6 MB, free: 15.6 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007265/0.201, allocations: 0.8638 MB / 285.5 MB, free: 15.43 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.044e-05/0.2011, allocations: 44.45 kB / 285.5 MB, free: 15.4 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003469/0.2014, allocations: 1.024 MB / 286.5 MB, free: 14.78 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001576/0.2016, allocations: 383.8 kB / 286.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002003/0.2018, allocations: 202.3 kB / 287.1 MB, free: 14.51 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.164e-05/0.2019, allocations: 357.8 kB / 287.5 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/0.2021, allocations: 111.2 kB / 287.6 MB, free: 14.2 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002512/0.2023, allocations: 411.7 kB / 288 MB, free: 13.89 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006604/0.203, allocations: 0.6392 MB / 288.6 MB, free: 13.57 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.899e-06/0.203, allocations: 6.5 kB / 288.6 MB, free: 13.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.001172/0.2042, allocations: 0.8299 MB / 289.4 MB, free: 13.47 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.2042, allocations: 8.969 kB / 289.4 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.2042, allocations: 16.59 kB / 289.5 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008761/0.2051, allocations: 347.5 kB / 289.8 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006892/0.2057, allocations: 230.6 kB / 290 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003961/0.2097, allocations: 4.389 MB / 294.4 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008499/0.2106, allocations: 119.9 kB / 294.5 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.986e-05/0.2106, allocations: 39.09 kB / 294.6 MB, free: 10.2 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (110): * Single equations (assignments): 108 * 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): 2 systems {(2,21,100.0%), (2,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008836/0.2115, allocations: 176.2 kB / 294.7 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002347/0.2118, allocations: 117.2 kB / 294.9 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001297/0.2131, allocations: 0.7514 MB / 295.6 MB, free: 9.773 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.2131, allocations: 9.375 kB / 295.6 MB, free: 9.773 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/0.2131, allocations: 6.25 kB / 295.6 MB, free: 9.773 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.2131, allocations: 8.281 kB / 295.6 MB, free: 9.773 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00368/0.2168, allocations: 1.993 MB / 297.6 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/0.2168, allocations: 7.812 kB / 297.6 MB, free: 9.215 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000486/0.2173, allocations: 138 kB / 297.8 MB, free: 9.211 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002521/0.2175, allocations: 146.9 kB / 297.9 MB, free: 9.109 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008859/0.2184, allocations: 363.8 kB / 298.3 MB, free: 8.984 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.468e-05/0.2185, allocations: 33.02 kB / 298.3 MB, free: 8.961 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003809/0.2223, allocations: 4.378 MB / 302.7 MB, free: 5.285 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.2223, allocations: 7.656 kB / 302.7 MB, free: 5.281 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001566/0.2239, allocations: 1.063 MB / 303.7 MB, free: 4.227 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002355/0.2241, allocations: 24 kB / 303.8 MB, free: 4.203 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005421/0.2246, allocations: 55.95 kB / 303.8 MB, free: 4.148 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000171/0.2248, allocations: 92.83 kB / 303.9 MB, free: 4.059 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.823e-05/0.2249, allocations: 27.98 kB / 303.9 MB, free: 4.031 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005141/0.2254, allocations: 433.8 kB / 304.4 MB, free: 3.652 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2254, allocations: 0 / 304.4 MB, free: 3.652 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001853/0.2272, allocations: 0.6774 MB / 305 MB, free: 2.973 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (converter_e.singlePhaseElectroMagneticConverter[3].Phi.re,converter_e.singlePhaseElectroMagneticConverter[3].Phi.im,loss_m.Phi.re,loss_m.Phi.im) * 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 (64): * Single equations (assignments): 62 * 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): 2 systems {(2,21,100.0%), (2,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002336/0.2275, allocations: 150.1 kB / 305.2 MB, free: 2.828 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001489/0.229, allocations: 0.9712 MB / 306.2 MB, free: 1.875 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.739e-05/0.229, allocations: 22.66 kB / 306.2 MB, free: 1.855 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008416/0.2298, allocations: 0.7252 MB / 306.9 MB, free: 1.137 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.231, allocations: 404.5 kB / 307.3 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01331/0.2443, allocations: 4.089 MB / 311.4 MB, free: 12.6 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005273/0.2448, allocations: 0.629 MB / 312 MB, free: 11.94 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005102/0.2453, allocations: 162.8 kB / 312.2 MB, free: 11.78 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000468/0.2458, allocations: 317.1 kB / 312.5 MB, free: 11.47 MB / 282.7 MB Notification: Performance of SimCode: time 1.202e-06/0.2458, allocations: 0 / 312.5 MB, free: 11.47 MB / 282.7 MB Notification: Performance of Templates: time 0.02882/0.2746, allocations: 22.44 MB / 334.9 MB, free: 5.41 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.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: 3.0053220139816403]