Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.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.001367/0.001367, allocations: 80.8 kB / 22.29 MB, free: 2.207 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.001439/0.001439, allocations: 163 kB / 25.69 MB, free: 8.418 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.9626/0.9626, allocations: 158.6 MB / 187.6 MB, free: 2.785 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.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_3.2.3_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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 251.6 MB, free: 7.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.687e-05/1.853e-05, allocations: 6.25 kB / 251.6 MB, free: 7.234 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.008456/0.008475, allocations: 6.928 MB / 258.5 MB, free: 268 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004533/0.01301, allocations: 2.304 MB / 260.8 MB, free: 13.95 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005406/0.01355, allocations: 55.62 kB / 260.9 MB, free: 13.89 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008005/0.01435, allocations: 472.8 kB / 261.3 MB, free: 13.43 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001336/0.01568, allocations: 0.854 MB / 262.2 MB, free: 12.57 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004959/0.01618, allocations: 382.9 kB / 262.5 MB, free: 12.2 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002367/0.01855, allocations: 3.268 MB / 265.8 MB, free: 8.914 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001249/0.0198, allocations: 1.556 MB / 267.4 MB, free: 7.277 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001794/0.02159, allocations: 2.378 MB / 269.7 MB, free: 4.895 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001424/0.02301, allocations: 1.82 MB / 271.6 MB, free: 3.07 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002841/0.0233, allocations: 356 kB / 271.9 MB, free: 2.723 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000523/0.02382, allocations: 475.7 kB / 272.4 MB, free: 2.258 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004914/0.02431, allocations: 0.9387 MB / 273.3 MB, free: 1.316 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000722/0.02503, allocations: 1.115 MB / 274.4 MB, free: 204 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001841/0.02688, allocations: 2.741 MB / 277.2 MB, free: 13.45 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.02688, allocations: 4 kB / 277.2 MB, free: 13.45 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.02688, allocations: 3.938 kB / 277.2 MB, free: 13.44 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.169e-05/0.0269, allocations: 0 / 277.2 MB, free: 13.44 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.003523/0.03042, allocations: 3.318 MB / 280.5 MB, free: 10.08 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.03046, allocations: 11.98 kB / 280.5 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001889/0.03235, allocations: 0.8356 MB / 281.3 MB, free: 9.234 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.03346, allocations: 0.9378 MB / 282.3 MB, free: 8.254 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.878e-05/0.03356, allocations: 197.7 kB / 282.5 MB, free: 8.059 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002477/0.03381, allocations: 260.4 kB / 282.7 MB, free: 7.805 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002063/0.03587, allocations: 2.17 MB / 284.9 MB, free: 5.523 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.936e-05/0.03591, allocations: 3.938 kB / 284.9 MB, free: 5.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001603/0.03607, allocations: 104 kB / 285 MB, free: 5.418 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-05/0.03615, allocations: 105.4 kB / 285.1 MB, free: 5.312 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009634/0.03711, allocations: 0.6225 MB / 285.7 MB, free: 4.672 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006725/0.04384, allocations: 6.341 MB / 292.1 MB, free: 14.01 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001554/0.04539, allocations: 1.088 MB / 293.2 MB, free: 12.9 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003598/0.04575, allocations: 349 kB / 293.5 MB, free: 12.56 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001678/0.04743, allocations: 1.252 MB / 294.8 MB, free: 11.29 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.04746, allocations: 51.56 kB / 294.8 MB, free: 11.23 MB / 282.7 MB Notification: Performance of pre-optimization done (n=104): time 3.386e-06/0.04746, allocations: 0 / 294.8 MB, free: 11.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=104): time 0.002245/0.04971, allocations: 1.277 MB / 296.1 MB, free: 9.941 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.04974, allocations: 90.11 kB / 296.2 MB, free: 9.832 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005821/0.05033, allocations: 0.8587 MB / 297 MB, free: 8.961 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.608e-05/0.05037, allocations: 41.7 kB / 297.1 MB, free: 8.914 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003977/0.05077, allocations: 1.029 MB / 298.1 MB, free: 7.871 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002255/0.05099, allocations: 384.7 kB / 298.5 MB, free: 7.492 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001954/0.05119, allocations: 206.8 kB / 298.7 MB, free: 7.281 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.258e-05/0.05128, allocations: 357.8 kB / 299 MB, free: 6.926 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.05144, allocations: 110.6 kB / 299.1 MB, free: 6.82 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002849/0.05173, allocations: 405.6 kB / 299.5 MB, free: 6.309 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005416/0.05227, allocations: 0.6345 MB / 300.2 MB, free: 5.562 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.05227, allocations: 0 / 300.2 MB, free: 5.562 MB / 282.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.0009374/0.05321, allocations: 0.8378 MB / 301 MB, free: 4.711 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.05323, allocations: 16.08 kB / 301 MB, free: 4.695 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.05324, allocations: 8 kB / 301 MB, free: 4.688 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006123/0.05385, allocations: 350.9 kB / 301.4 MB, free: 4.336 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004253/0.05428, allocations: 219.6 kB / 301.6 MB, free: 4.121 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003058/0.05733, allocations: 4.39 MB / 306 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003089/0.05764, allocations: 115.2 kB / 306.1 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.855e-05/0.05769, allocations: 39.98 kB / 306.1 MB, free: 15.38 MB / 298.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.0002955/0.05799, allocations: 180.3 kB / 306.3 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.05812, allocations: 119.9 kB / 306.4 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008672/0.05898, allocations: 0.752 MB / 307.2 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.05899, allocations: 12 kB / 307.2 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.059, allocations: 4 kB / 307.2 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.05901, allocations: 15.97 kB / 307.2 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002046/0.06105, allocations: 1.995 MB / 309.2 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.06105, allocations: 0 / 309.2 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002771/0.06133, allocations: 127.8 kB / 309.3 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005687/0.0619, allocations: 363.5 kB / 309.7 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.023e-05/0.06195, allocations: 35.92 kB / 309.7 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003001/0.06495, allocations: 4.433 MB / 314.1 MB, free: 7.059 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.06495, allocations: 4 kB / 314.1 MB, free: 7.055 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.066, allocations: 1.067 MB / 315.2 MB, free: 5.953 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.06612, allocations: 138.9 kB / 315.4 MB, free: 5.816 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.734e-05/0.06622, allocations: 27.98 kB / 315.4 MB, free: 5.789 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003023/0.06652, allocations: 55.97 kB / 315.4 MB, free: 5.734 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.06666, allocations: 92.81 kB / 315.5 MB, free: 5.641 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.935e-05/0.06669, allocations: 27.94 kB / 315.6 MB, free: 5.613 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003259/0.06702, allocations: 436.2 kB / 316 MB, free: 5.18 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.06702, allocations: 0 / 316 MB, free: 5.18 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001026/0.06805, allocations: 0.6891 MB / 316.7 MB, free: 4.488 MB / 298.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,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].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.0001975/0.06824, allocations: 136.2 kB / 316.8 MB, free: 4.348 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009987/0.06924, allocations: 0.967 MB / 317.8 MB, free: 3.352 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.768e-05/0.06926, allocations: 16.94 kB / 317.8 MB, free: 3.336 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000652/0.06991, allocations: 0.7289 MB / 318.5 MB, free: 2.582 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000708/0.07062, allocations: 296.3 kB / 318.8 MB, free: 2.293 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004135/0.07476, allocations: 3.836 MB / 322.6 MB, free: 14.36 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004903/0.07525, allocations: 0.6207 MB / 323.3 MB, free: 13.71 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003442/0.07559, allocations: 166.8 kB / 323.4 MB, free: 13.54 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005021/0.07609, allocations: 325.1 kB / 323.7 MB, free: 13.22 MB / 314.7 MB Notification: Performance of SimCode: time 8.12e-07/0.07609, allocations: 0 / 323.7 MB, free: 13.22 MB / 314.7 MB Notification: Performance of Templates: time 0.02753/0.1036, allocations: 21.75 MB / 345.5 MB, free: 7.469 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.1260806950740516]