Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001388/0.001388, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.009811/0.009811, allocations: 160.7 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9193/0.9193, allocations: 177.1 MB / 205 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1..Phi.re|converter_e.singlePhaseElectroMagneticConverter.2..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 325.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.98e-05/2.141e-05, allocations: 2.281 kB / 325.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.005574/0.005595, allocations: 6.952 MB / 332.8 MB, free: 8.305 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003126/0.008721, allocations: 2.394 MB / 335.2 MB, free: 5.902 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004523/0.009173, allocations: 71.56 kB / 335.2 MB, free: 5.832 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006256/0.009799, allocations: 464.7 kB / 335.7 MB, free: 5.375 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001332/0.01113, allocations: 0.8775 MB / 336.6 MB, free: 4.492 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004887/0.01162, allocations: 402.3 kB / 337 MB, free: 4.102 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002086/0.01371, allocations: 3.345 MB / 340.3 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001188/0.01489, allocations: 1.548 MB / 341.9 MB, free: 15.13 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001684/0.01658, allocations: 2.101 MB / 344 MB, free: 13.03 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001206/0.01778, allocations: 1.539 MB / 345.5 MB, free: 11.48 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002581/0.01804, allocations: 356 kB / 345.9 MB, free: 11.14 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005163/0.01856, allocations: 483.8 kB / 346.3 MB, free: 10.66 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004748/0.01903, allocations: 0.9386 MB / 347.3 MB, free: 9.723 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007006/0.01973, allocations: 1.099 MB / 348.4 MB, free: 8.621 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003069/0.0228, allocations: 4.772 MB / 353.1 MB, free: 3.836 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.02281, allocations: 4 kB / 353.1 MB, free: 3.832 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.02281, allocations: 0 / 353.1 MB, free: 3.832 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.726e-05/0.02284, allocations: 0 / 353.1 MB, free: 3.832 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.004361/0.0272, allocations: 3.62 MB / 356.8 MB, free: 168 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.02724, allocations: 8.031 kB / 356.8 MB, free: 160 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001898/0.02913, allocations: 0.7406 MB / 357.5 MB, free: 15.41 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001904/0.03104, allocations: 1.794 MB / 359.3 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.812e-05/0.03113, allocations: 201.7 kB / 359.5 MB, free: 13.37 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002549/0.03138, allocations: 260.4 kB / 359.8 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003678/0.03506, allocations: 3.853 MB / 363.6 MB, free: 9.156 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.758e-05/0.0351, allocations: 3.938 kB / 363.6 MB, free: 9.152 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001675/0.03526, allocations: 112 kB / 363.7 MB, free: 9.043 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.49e-05/0.03533, allocations: 101.4 kB / 363.8 MB, free: 8.941 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003317/0.03865, allocations: 3.093 MB / 366.9 MB, free: 5.836 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008467/0.04711, allocations: 8.935 MB / 375.8 MB, free: 12.57 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002143/0.04926, allocations: 1.767 MB / 377.6 MB, free: 10.8 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001073/0.05033, allocations: 0.8606 MB / 378.5 MB, free: 9.941 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002115/0.05244, allocations: 1.988 MB / 380.5 MB, free: 7.93 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.05247, allocations: 47.56 kB / 380.5 MB, free: 7.871 MB / 346.7 MB Notification: Performance of pre-optimization done (n=104): time 3.036e-06/0.05248, allocations: 0 / 380.5 MB, free: 7.871 MB / 346.7 MB Notification: Performance of matching and sorting (n=104): time 0.003392/0.05587, allocations: 2.495 MB / 383 MB, free: 5.367 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.05591, allocations: 90.11 kB / 383.1 MB, free: 5.262 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/0.05704, allocations: 1.374 MB / 384.5 MB, free: 3.875 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.89e-05/0.05709, allocations: 45.7 kB / 384.5 MB, free: 3.824 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006471/0.05773, allocations: 1.203 MB / 385.7 MB, free: 2.609 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001701/0.0579, allocations: 372.8 kB / 386.1 MB, free: 2.242 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002013/0.05811, allocations: 218.9 kB / 386.3 MB, free: 2.023 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.383e-05/0.0582, allocations: 353.9 kB / 386.6 MB, free: 1.672 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000549/0.05875, allocations: 0.5647 MB / 387.2 MB, free: 1.105 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006647/0.05941, allocations: 0.849 MB / 388.1 MB, free: 144 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001244/0.06066, allocations: 1.46 MB / 389.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.992e-06/0.06066, allocations: 4 kB / 389.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.001872/0.06254, allocations: 1.954 MB / 391.5 MB, free: 12.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.06255, allocations: 8 kB / 391.5 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.06257, allocations: 8 kB / 391.5 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005665/0.06313, allocations: 395.9 kB / 391.9 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000403/0.06354, allocations: 211.7 kB / 392.1 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004532/0.06807, allocations: 6.194 MB / 398.3 MB, free: 5.594 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004562/0.06852, allocations: 143.1 kB / 398.4 MB, free: 5.453 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-05/0.06858, allocations: 47.98 kB / 398.5 MB, free: 5.406 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.0009757/0.06955, allocations: 0.8681 MB / 399.3 MB, free: 4.527 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.06968, allocations: 151.1 kB / 399.5 MB, free: 4.379 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001793/0.07147, allocations: 1.631 MB / 401.1 MB, free: 2.727 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.07148, allocations: 15.94 kB / 401.1 MB, free: 2.711 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.07149, allocations: 4 kB / 401.1 MB, free: 2.707 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.07149, allocations: 7.922 kB / 401.1 MB, free: 2.699 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003305/0.0748, allocations: 3.373 MB / 404.5 MB, free: 15.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.0748, allocations: 7.938 kB / 404.5 MB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002628/0.07507, allocations: 124 kB / 404.6 MB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004823/0.07555, allocations: 401.3 kB / 405 MB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.559e-05/0.07559, allocations: 31.98 kB / 405.1 MB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004241/0.07983, allocations: 6.178 MB / 411.2 MB, free: 8.332 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.07984, allocations: 0 / 411.2 MB, free: 8.332 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002202/0.08204, allocations: 2.47 MB / 413.7 MB, free: 5.824 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001656/0.0822, allocations: 170.9 kB / 413.9 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.908e-05/0.08229, allocations: 31.92 kB / 413.9 MB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003626/0.08266, allocations: 83.92 kB / 414 MB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002701/0.08293, allocations: 100.8 kB / 414.1 MB, free: 5.445 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.886e-05/0.08296, allocations: 31.98 kB / 414.1 MB, free: 5.414 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007974/0.08376, allocations: 0.9512 MB / 415.1 MB, free: 4.457 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.08376, allocations: 0 / 415.1 MB, free: 4.457 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001267/0.08503, allocations: 0.6852 MB / 415.8 MB, free: 3.77 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.0001935/0.08522, allocations: 159 kB / 415.9 MB, free: 3.605 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001751/0.08697, allocations: 1.737 MB / 417.6 MB, free: 1.832 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.207e-06/0.08698, allocations: 5.188 kB / 417.6 MB, free: 1.828 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009404/0.08792, allocations: 1.09 MB / 418.7 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007753/0.08869, allocations: 288.3 kB / 419 MB, free: 440 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004601/0.09329, allocations: 4.531 MB / 423.6 MB, free: 11.83 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001022/0.09432, allocations: 1.565 MB / 425.1 MB, free: 10.23 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001888/0.0945, allocations: 100.5 kB / 425.2 MB, free: 10.13 MB / 394.7 MB Notification: Performance of SimCode: time 1.062e-06/0.09451, allocations: 0 / 425.2 MB, free: 10.13 MB / 394.7 MB Notification: Performance of Templates: time 0.1583/0.2528, allocations: 54.35 MB / 479.6 MB, free: 95.25 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.136815492063761]