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.001548/0.001548, allocations: 105.4 kB / 19.8 MB, free: 2.516 MB / 14.72 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.001892/0.001892, allocations: 213.4 kB / 23 MB, free: 5.609 MB / 14.72 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 1.421/1.421, allocations: 230.2 MB / 256.2 MB, free: 8.543 MB / 206.1 MB " [Timeout remaining time 178] 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 0.00186/0.00186, allocations: 63.88 kB / 376.5 MB, free: 3.609 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2387, allocations: 53.33 MB / 429.8 MB, free: 7.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.009972/0.2487, allocations: 7.918 MB / 437.7 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005154/0.2538, allocations: 2.515 MB / 440.2 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007743/0.2546, allocations: 55.81 kB / 440.3 MB, free: 13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009883/0.2556, allocations: 460.8 kB / 440.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002154/0.2578, allocations: 0.8704 MB / 441.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000892/0.2586, allocations: 410.5 kB / 442 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003889/0.2625, allocations: 3.242 MB / 445.2 MB, free: 8.023 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002111/0.2646, allocations: 1.579 MB / 446.8 MB, free: 6.379 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001848/0.2665, allocations: 1.433 MB / 448.3 MB, free: 4.941 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00216/0.2687, allocations: 1.72 MB / 450 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004962/0.2692, allocations: 360 kB / 450.3 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009445/0.2701, allocations: 487.9 kB / 450.8 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008067/0.2709, allocations: 0.9037 MB / 451.7 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001733/0.2726, allocations: 1.622 MB / 453.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004902/0.2775, allocations: 4.719 MB / 458.1 MB, free: 11.12 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.2775, allocations: 8 kB / 458.1 MB, free: 11.11 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2775, allocations: 0 / 458.1 MB, free: 11.11 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.747e-05/0.2776, allocations: 0 / 458.1 MB, free: 11.11 MB / 366.1 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.007946/0.2856, allocations: 3.719 MB / 461.8 MB, free: 7.328 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.2856, allocations: 8.031 kB / 461.8 MB, free: 7.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004042/0.2896, allocations: 0.7445 MB / 462.5 MB, free: 6.574 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003833/0.2935, allocations: 1.855 MB / 464.4 MB, free: 4.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001682/0.2937, allocations: 193.7 kB / 464.6 MB, free: 4.469 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004893/0.2941, allocations: 268.1 kB / 464.8 MB, free: 4.207 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0068/0.3009, allocations: 3.622 MB / 468.5 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.354e-05/0.301, allocations: 4 kB / 468.5 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002745/0.3013, allocations: 108 kB / 468.6 MB, free: 432 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001097/0.3014, allocations: 101.4 kB / 468.7 MB, free: 328 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00547/0.3068, allocations: 3.101 MB / 471.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01657/0.3234, allocations: 10.27 MB / 482 MB, free: 2.602 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005234/0.3287, allocations: 4.466 MB / 486.5 MB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001488/0.3301, allocations: 0.876 MB / 487.4 MB, free: 12.61 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004278/0.3344, allocations: 2.659 MB / 490 MB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.693e-05/0.3345, allocations: 43.44 kB / 490.1 MB, free: 9.75 MB / 398.1 MB Notification: Performance of pre-optimization done (n=104): time 2.786e-06/0.3345, allocations: 4 kB / 490.1 MB, free: 9.746 MB / 398.1 MB Notification: Performance of matching and sorting (n=104): time 0.006541/0.341, allocations: 2.657 MB / 492.7 MB, free: 7.043 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/0.3411, allocations: 85.98 kB / 492.8 MB, free: 6.938 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002053/0.3431, allocations: 1.407 MB / 494.2 MB, free: 5.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.913e-05/0.3432, allocations: 41.7 kB / 494.3 MB, free: 5.473 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009099/0.3441, allocations: 1.207 MB / 495.5 MB, free: 4.254 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003317/0.3445, allocations: 380.8 kB / 495.9 MB, free: 3.879 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003677/0.3448, allocations: 222.9 kB / 496.1 MB, free: 3.656 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.345, allocations: 353.9 kB / 496.4 MB, free: 3.305 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009741/0.346, allocations: 0.5647 MB / 497 MB, free: 2.738 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001196/0.3472, allocations: 0.8452 MB / 497.8 MB, free: 1.781 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002191/0.3494, allocations: 1.457 MB / 499.3 MB, free: 212 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/0.3494, allocations: 4 kB / 499.3 MB, free: 208 kB / 398.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003621/0.353, allocations: 1.953 MB / 0.4895 GB, free: 14.24 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.353, allocations: 12 kB / 0.4895 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-05/0.353, allocations: 8 kB / 0.4895 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/0.3541, allocations: 412.5 kB / 0.4899 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008651/0.3549, allocations: 215.7 kB / 0.4901 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008316/0.3633, allocations: 6.531 MB / 0.4965 GB, free: 6.793 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/0.3644, allocations: 147 kB / 0.4966 GB, free: 6.648 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/0.3646, allocations: 55.98 kB / 0.4967 GB, free: 6.594 MB / 414.1 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.001688/0.3662, allocations: 0.8681 MB / 0.4975 GB, free: 5.715 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003207/0.3666, allocations: 147.1 kB / 0.4977 GB, free: 5.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003174/0.3697, allocations: 1.633 MB / 0.4993 GB, free: 3.918 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/0.3697, allocations: 12 kB / 0.4993 GB, free: 3.906 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.3698, allocations: 4 kB / 0.4993 GB, free: 3.902 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.3698, allocations: 7.984 kB / 0.4993 GB, free: 3.895 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006634/0.3764, allocations: 3.922 MB / 0.5031 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.3764, allocations: 4 kB / 0.5031 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005793/0.377, allocations: 131.8 kB / 0.5032 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009704/0.378, allocations: 398.8 kB / 0.5036 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.158e-05/0.378, allocations: 31.98 kB / 0.5037 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008/0.386, allocations: 6.521 MB / 0.51 GB, free: 8.531 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.386, allocations: 0 / 0.51 GB, free: 8.531 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004226/0.3903, allocations: 2.49 MB / 0.5125 GB, free: 6.004 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004663/0.3907, allocations: 251.9 kB / 0.5127 GB, free: 5.738 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001725/0.3909, allocations: 31.98 kB / 0.5127 GB, free: 5.707 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007696/0.3917, allocations: 79.92 kB / 0.5128 GB, free: 5.629 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002539/0.3919, allocations: 100.7 kB / 0.5129 GB, free: 5.531 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.729e-05/0.392, allocations: 35.98 kB / 0.5129 GB, free: 5.496 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001425/0.3934, allocations: 0.9834 MB / 0.5139 GB, free: 4.508 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3934, allocations: 0 / 0.5139 GB, free: 4.508 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001899/0.3953, allocations: 0.6775 MB / 0.5146 GB, free: 3.828 MB / 430.1 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.0003331/0.3957, allocations: 157.5 kB / 0.5147 GB, free: 3.668 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0032/0.3989, allocations: 1.738 MB / 0.5164 GB, free: 1.895 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.3989, allocations: 3.938 kB / 0.5164 GB, free: 1.891 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001853/0.4007, allocations: 1.09 MB / 0.5175 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001534/0.4023, allocations: 308.5 kB / 0.5178 GB, free: 488 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00761/0.4099, allocations: 4.68 MB / 0.5223 GB, free: 11.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002008/0.4119, allocations: 2.188 MB / 0.5245 GB, free: 9.508 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009516/0.4128, allocations: 343 kB / 0.5248 GB, free: 9.168 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002385/0.4131, allocations: 91.42 kB / 0.5249 GB, free: 9.078 MB / 446.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4131, allocations: 0 / 0.5249 GB, free: 9.078 MB / 446.1 MB Notification: Performance of Templates: time 0.2201/0.6332, allocations: 21.57 MB / 0.546 GB, free: 97.3 MB / 446.1 MB " [Timeout remaining time 659] 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: 5.221069294027984]