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.002062/0.002062, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 14.72 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.002414/0.002414, allocations: 210.9 kB / 24.47 MB, free: 3.547 MB / 14.72 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 1.453/1.453, allocations: 207.7 MB / 235.3 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] 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.1..Phi.re|converter_e.singlePhaseElectroMagneticConverter.2..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.1..Phi.re|converter_e.singlePhaseElectroMagneticConverter.2..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 62.59 kB / 347.7 MB, free: 9.375 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2697, allocations: 49.16 MB / 396.9 MB, free: 9.379 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.007062/0.2768, allocations: 6.364 MB / 403.2 MB, free: 5.152 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00458/0.2813, allocations: 2.151 MB / 405.4 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006844/0.282, allocations: 60.59 kB / 405.4 MB, free: 3.609 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001103/0.2831, allocations: 456.3 kB / 405.9 MB, free: 3.371 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002209/0.2853, allocations: 0.8372 MB / 406.7 MB, free: 2.859 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008037/0.2861, allocations: 373.4 kB / 407.1 MB, free: 2.641 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003524/0.2897, allocations: 3.151 MB / 410.2 MB, free: 1.145 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001964/0.2916, allocations: 1.522 MB / 411.7 MB, free: 324 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00195/0.2936, allocations: 1.455 MB / 413.2 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002432/0.296, allocations: 1.696 MB / 414.9 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005639/0.2966, allocations: 358.8 kB / 415.2 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.2976, allocations: 477.7 kB / 415.7 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008775/0.2985, allocations: 0.905 MB / 416.6 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001645/0.3001, allocations: 1.295 MB / 417.9 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005357/0.3055, allocations: 4.703 MB / 422.6 MB, free: 9.301 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.3055, allocations: 4 kB / 422.6 MB, free: 9.297 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3055, allocations: 0 / 422.6 MB, free: 9.297 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001188/0.3056, allocations: 0 / 422.6 MB, free: 9.297 MB / 334.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.009315/0.3149, allocations: 3.62 MB / 426.2 MB, free: 5.629 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.315, allocations: 15.98 kB / 426.3 MB, free: 5.613 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003589/0.3186, allocations: 0.7016 MB / 427 MB, free: 4.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003841/0.3224, allocations: 1.65 MB / 428.6 MB, free: 3.215 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001737/0.3226, allocations: 193.7 kB / 428.8 MB, free: 3.023 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000468/0.3231, allocations: 272.1 kB / 429.1 MB, free: 2.758 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006676/0.3297, allocations: 3.829 MB / 432.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.916e-05/0.3298, allocations: 0 / 432.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002696/0.3301, allocations: 116 kB / 433 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001298/0.3302, allocations: 109.3 kB / 433.1 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005764/0.336, allocations: 3.082 MB / 436.2 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01758/0.3535, allocations: 9.037 MB / 445.2 MB, free: 2.129 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00443/0.358, allocations: 1.866 MB / 447.1 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001505/0.3595, allocations: 0.8715 MB / 448 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004194/0.3637, allocations: 2.019 MB / 450 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.292e-05/0.3637, allocations: 51.42 kB / 450 MB, free: 13.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=104): time 3.035e-06/0.3637, allocations: 0 / 450 MB, free: 13.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=104): time 0.006648/0.3704, allocations: 2.534 MB / 452.6 MB, free: 10.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.697e-05/0.3704, allocations: 89.98 kB / 452.7 MB, free: 10.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002195/0.3726, allocations: 1.345 MB / 454 MB, free: 9.285 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.43e-05/0.3727, allocations: 49.7 kB / 454.1 MB, free: 9.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009694/0.3737, allocations: 1.183 MB / 455.2 MB, free: 8.035 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003469/0.374, allocations: 388.8 kB / 455.6 MB, free: 7.652 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003617/0.3744, allocations: 218.9 kB / 455.8 MB, free: 7.434 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.3746, allocations: 353.9 kB / 456.2 MB, free: 7.082 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000987/0.3756, allocations: 0.5725 MB / 456.7 MB, free: 6.508 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001225/0.3768, allocations: 0.8652 MB / 457.6 MB, free: 5.531 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002294/0.3791, allocations: 1.486 MB / 459.1 MB, free: 3.926 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/0.3791, allocations: 4 kB / 459.1 MB, free: 3.922 MB / 366.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003584/0.3827, allocations: 1.978 MB / 461.1 MB, free: 1.934 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.3827, allocations: 8 kB / 461.1 MB, free: 1.926 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/0.3827, allocations: 8 kB / 461.1 MB, free: 1.918 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001071/0.3838, allocations: 401.2 kB / 461.5 MB, free: 1.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008731/0.3847, allocations: 223.6 kB / 461.7 MB, free: 1.301 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008372/0.393, allocations: 6.297 MB / 468 MB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.3942, allocations: 139.1 kB / 468.1 MB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/0.3943, allocations: 52 kB / 468.2 MB, free: 10.61 MB / 382.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.001633/0.3959, allocations: 0.8603 MB / 469.1 MB, free: 9.734 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003307/0.3963, allocations: 143.2 kB / 469.2 MB, free: 9.594 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003388/0.3996, allocations: 1.659 MB / 470.9 MB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/0.3997, allocations: 12 kB / 470.9 MB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.3997, allocations: 4 kB / 470.9 MB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.3997, allocations: 3.984 kB / 470.9 MB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007057/0.4067, allocations: 3.435 MB / 474.3 MB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.4067, allocations: 0 / 474.3 MB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006317/0.4074, allocations: 139.8 kB / 474.4 MB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001028/0.4084, allocations: 397.8 kB / 474.8 MB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.18e-05/0.4085, allocations: 43.92 kB / 474.9 MB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008268/0.4168, allocations: 6.29 MB / 481.2 MB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.4168, allocations: 4.031 kB / 481.2 MB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004482/0.4213, allocations: 2.489 MB / 483.7 MB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005007/0.4218, allocations: 178.8 kB / 483.8 MB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000169/0.4219, allocations: 31.98 kB / 483.9 MB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007952/0.4227, allocations: 91.89 kB / 484 MB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002433/0.423, allocations: 104.6 kB / 484.1 MB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.131e-05/0.423, allocations: 35.98 kB / 484.1 MB, free: 10.36 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001405/0.4244, allocations: 0.923 MB / 485 MB, free: 9.426 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4244, allocations: 0 / 485 MB, free: 9.426 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001959/0.4264, allocations: 0.6852 MB / 485.7 MB, free: 8.738 MB / 398.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,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.0002927/0.4267, allocations: 155 kB / 485.8 MB, free: 8.574 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003248/0.4299, allocations: 1.764 MB / 487.6 MB, free: 6.789 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/0.4299, allocations: 4 kB / 487.6 MB, free: 6.785 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00192/0.4319, allocations: 1.102 MB / 488.7 MB, free: 5.652 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001537/0.4334, allocations: 284.3 kB / 489 MB, free: 5.375 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007914/0.4413, allocations: 4.68 MB / 493.7 MB, free: 0.625 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001976/0.4433, allocations: 1.612 MB / 495.3 MB, free: 14.97 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001019/0.4443, allocations: 334.6 kB / 495.6 MB, free: 14.64 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002432/0.4446, allocations: 83.42 kB / 495.7 MB, free: 14.55 MB / 414.1 MB Notification: Performance of SimCode: time 1.233e-06/0.4446, allocations: 0 / 495.7 MB, free: 14.55 MB / 414.1 MB Notification: Performance of Templates: time 0.04238/0.4869, allocations: 23.37 MB / 0.5069 GB, free: 7.121 MB / 430.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.366500636562705]