Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007979/0.0007979, allocations: 88.28 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003073/0.003073, allocations: 158 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8801/0.8801, allocations: 177 MB / 204.9 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|converter_e.singlePhaseElectroMagneticConverter.1..Phi.re|converter_e.singlePhaseElectroMagneticConverter.2..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_trunk_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.1..Phi.re|converter_e.singlePhaseElectroMagneticConverter.2..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 325.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.556e-05/2.754e-05, allocations: 6.219 kB / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.005598/0.005626, allocations: 6.943 MB / 332.7 MB, free: 8.406 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004031/0.009657, allocations: 2.394 MB / 335.1 MB, free: 6.004 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001052/0.01071, allocations: 67.56 kB / 335.2 MB, free: 5.938 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008564/0.01157, allocations: 472.6 kB / 335.6 MB, free: 5.473 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002275/0.01384, allocations: 0.8813 MB / 336.5 MB, free: 4.586 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.01492, allocations: 398.1 kB / 336.9 MB, free: 4.199 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003009/0.01793, allocations: 3.353 MB / 340.3 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001645/0.01957, allocations: 1.545 MB / 341.8 MB, free: 15.23 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002359/0.02193, allocations: 2.101 MB / 343.9 MB, free: 13.12 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001946/0.02388, allocations: 1.532 MB / 345.4 MB, free: 11.59 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004067/0.02428, allocations: 364 kB / 345.8 MB, free: 11.23 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007399/0.02502, allocations: 479.8 kB / 346.3 MB, free: 10.76 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005123/0.02553, allocations: 0.9425 MB / 347.2 MB, free: 9.816 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009598/0.02649, allocations: 1.103 MB / 348.3 MB, free: 8.711 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004242/0.03074, allocations: 4.768 MB / 353.1 MB, free: 3.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.03074, allocations: 4 kB / 353.1 MB, free: 3.926 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.03074, allocations: 0 / 353.1 MB, free: 3.926 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.778e-05/0.03084, allocations: 0 / 353.1 MB, free: 3.926 MB / 314.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.005599/0.03644, allocations: 3.616 MB / 356.7 MB, free: 268 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.03649, allocations: 15.98 kB / 356.7 MB, free: 252 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002022/0.03851, allocations: 0.7445 MB / 357.5 MB, free: 15.5 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002624/0.04114, allocations: 1.79 MB / 359.2 MB, free: 13.66 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.04124, allocations: 197.7 kB / 359.4 MB, free: 13.46 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002758/0.04152, allocations: 260.4 kB / 359.7 MB, free: 13.21 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004366/0.04588, allocations: 3.845 MB / 363.5 MB, free: 9.258 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.076e-05/0.04592, allocations: 7.922 kB / 363.5 MB, free: 9.25 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001737/0.0461, allocations: 116 kB / 363.7 MB, free: 9.137 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.016e-05/0.04617, allocations: 97.41 kB / 363.8 MB, free: 9.039 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00378/0.04995, allocations: 3.097 MB / 366.9 MB, free: 5.93 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01018/0.06013, allocations: 8.939 MB / 375.8 MB, free: 12.66 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002321/0.06245, allocations: 1.747 MB / 377.5 MB, free: 10.91 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008955/0.06334, allocations: 0.8726 MB / 378.4 MB, free: 10.04 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002819/0.06616, allocations: 1.996 MB / 380.4 MB, free: 8.02 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.06619, allocations: 47.56 kB / 380.5 MB, free: 7.961 MB / 346.7 MB Notification: Performance of pre-optimization done (n=104): time 3.818e-06/0.0662, allocations: 3.938 kB / 380.5 MB, free: 7.957 MB / 346.7 MB Notification: Performance of matching and sorting (n=104): time 0.003491/0.06969, allocations: 2.491 MB / 383 MB, free: 5.457 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.06974, allocations: 90.11 kB / 383 MB, free: 5.352 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/0.07103, allocations: 1.37 MB / 384.4 MB, free: 3.969 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.468e-05/0.07108, allocations: 49.7 kB / 384.5 MB, free: 3.914 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005274/0.07161, allocations: 1.199 MB / 385.7 MB, free: 2.703 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001887/0.0718, allocations: 372.8 kB / 386 MB, free: 2.336 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002123/0.07201, allocations: 218.9 kB / 386.2 MB, free: 2.117 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.885e-05/0.07211, allocations: 357.9 kB / 386.6 MB, free: 1.762 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008417/0.07295, allocations: 0.5608 MB / 387.1 MB, free: 1.199 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006717/0.07363, allocations: 0.849 MB / 388 MB, free: 240 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001273/0.0749, allocations: 1.46 MB / 389.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.07491, allocations: 4 kB / 389.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.002093/0.077, allocations: 1.95 MB / 391.4 MB, free: 12.69 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.07702, allocations: 8 kB / 391.4 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.07703, allocations: 8 kB / 391.4 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006393/0.07767, allocations: 398.2 kB / 391.8 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004258/0.0781, allocations: 211.7 kB / 392 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004992/0.08309, allocations: 6.197 MB / 398.2 MB, free: 5.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007321/0.08382, allocations: 143.1 kB / 398.4 MB, free: 5.539 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.609e-05/0.08388, allocations: 47.98 kB / 398.4 MB, free: 5.492 MB / 362.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,19,100.0%), (2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001226/0.08511, allocations: 0.8692 MB / 399.3 MB, free: 4.613 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001821/0.08529, allocations: 143 kB / 399.4 MB, free: 4.473 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001776/0.08706, allocations: 1.635 MB / 401 MB, free: 2.816 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.08707, allocations: 11.98 kB / 401.1 MB, free: 2.805 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.08708, allocations: 8 kB / 401.1 MB, free: 2.797 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.08709, allocations: 3.984 kB / 401.1 MB, free: 2.793 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004006/0.09109, allocations: 3.365 MB / 404.4 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.0911, allocations: 3.938 kB / 404.4 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002793/0.09138, allocations: 135.8 kB / 404.6 MB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005376/0.09192, allocations: 405 kB / 405 MB, free: 14.83 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.757e-05/0.09196, allocations: 39.98 kB / 405 MB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004652/0.09662, allocations: 6.159 MB / 411.2 MB, free: 8.434 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.09662, allocations: 4.031 kB / 411.2 MB, free: 8.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002526/0.09914, allocations: 2.47 MB / 413.6 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002655/0.09941, allocations: 174.8 kB / 413.8 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.628e-05/0.0995, allocations: 28.03 kB / 413.8 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003897/0.09989, allocations: 83.91 kB / 413.9 MB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00017/0.1001, allocations: 112.7 kB / 414 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.112e-05/0.1001, allocations: 35.98 kB / 414.1 MB, free: 5.488 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008794/0.101, allocations: 0.9435 MB / 415 MB, free: 4.539 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.101, allocations: 0 / 415 MB, free: 4.539 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001567/0.1025, allocations: 0.6852 MB / 415.7 MB, free: 3.852 MB / 378.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.0002605/0.1028, allocations: 159 kB / 415.8 MB, free: 3.688 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001958/0.1048, allocations: 1.741 MB / 417.6 MB, free: 1.918 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.1048, allocations: 1.188 kB / 417.6 MB, free: 1.918 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001062/0.1058, allocations: 1.094 MB / 418.7 MB, free: 0.7969 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009077/0.1067, allocations: 280.2 kB / 419 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005564/0.1123, allocations: 4.539 MB / 423.5 MB, free: 11.91 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001086/0.1134, allocations: 1.565 MB / 425.1 MB, free: 10.3 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003126/0.1137, allocations: 104.5 kB / 425.2 MB, free: 10.2 MB / 394.7 MB Notification: Performance of SimCode: time 1.723e-06/0.1137, allocations: 0 / 425.2 MB, free: 10.2 MB / 394.7 MB Notification: Performance of Templates: time 0.1877/0.3014, allocations: 54.34 MB / 479.5 MB, free: 95.08 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.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: 7.321101459674537]