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.001355/0.001355, allocations: 120.2 kB / 21.94 MB, free: 8 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.001558/0.001558, allocations: 204.8 kB / 25.24 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.446/1.446, allocations: 207.6 MB / 236 MB, free: 9.988 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.001977/0.001977, allocations: 59.92 kB / 348.5 MB, free: 9.512 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.2807, allocations: 49.16 MB / 397.6 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.008476/0.2892, allocations: 7.253 MB / 404.9 MB, free: 4.336 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0056/0.2948, allocations: 2.262 MB / 407.1 MB, free: 2.695 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001551/0.2964, allocations: 59.78 kB / 407.2 MB, free: 2.668 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001245/0.2976, allocations: 455.6 kB / 407.6 MB, free: 2.43 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003288/0.3009, allocations: 0.8537 MB / 408.5 MB, free: 1.902 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.302, allocations: 380 kB / 408.9 MB, free: 1.676 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004653/0.3067, allocations: 3.151 MB / 412 MB, free: 184 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002564/0.3092, allocations: 1.563 MB / 413.6 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002852/0.3121, allocations: 1.443 MB / 415 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00365/0.3157, allocations: 1.716 MB / 416.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009503/0.3167, allocations: 359 kB / 417.1 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00176/0.3185, allocations: 477.9 kB / 417.5 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001169/0.3196, allocations: 0.9048 MB / 418.4 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002894/0.3225, allocations: 1.606 MB / 420.1 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006709/0.3292, allocations: 4.674 MB / 424.7 MB, free: 8.105 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.3292, allocations: 7.938 kB / 424.7 MB, free: 8.098 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3292, allocations: 1.219 kB / 424.7 MB, free: 8.098 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001301/0.3294, allocations: 0 / 424.7 MB, free: 8.098 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.01018/0.3395, allocations: 3.617 MB / 428.4 MB, free: 4.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/0.3396, allocations: 19.98 kB / 428.4 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003653/0.3432, allocations: 0.6977 MB / 429.1 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00372/0.347, allocations: 1.654 MB / 430.7 MB, free: 2.062 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002389/0.3472, allocations: 197.7 kB / 430.9 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004658/0.3477, allocations: 268.1 kB / 431.2 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006646/0.3543, allocations: 3.611 MB / 434.8 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.619e-05/0.3544, allocations: 3.938 kB / 434.8 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002599/0.3546, allocations: 111.9 kB / 434.9 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001188/0.3547, allocations: 105.4 kB / 435 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005564/0.3603, allocations: 3.089 MB / 438.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02019/0.3805, allocations: 10.23 MB / 448.3 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004263/0.3848, allocations: 1.878 MB / 450.2 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001523/0.3863, allocations: 0.8707 MB / 451.1 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004964/0.3912, allocations: 2.219 MB / 453.3 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.145e-05/0.3913, allocations: 43.44 kB / 453.3 MB, free: 11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=104): time 2.996e-06/0.3913, allocations: 0 / 453.3 MB, free: 11 MB / 366.1 MB Notification: Performance of matching and sorting (n=104): time 0.006652/0.398, allocations: 2.538 MB / 455.9 MB, free: 8.449 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.773e-05/0.398, allocations: 93.97 kB / 456 MB, free: 8.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002522/0.4005, allocations: 1.378 MB / 457.3 MB, free: 6.949 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001201/0.4007, allocations: 41.7 kB / 457.4 MB, free: 6.902 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001011/0.4017, allocations: 1.206 MB / 458.6 MB, free: 5.684 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003903/0.4021, allocations: 372.8 kB / 459 MB, free: 5.316 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003835/0.4024, allocations: 218.9 kB / 459.2 MB, free: 5.098 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.4026, allocations: 353.9 kB / 459.5 MB, free: 4.746 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001052/0.4037, allocations: 0.5803 MB / 460.1 MB, free: 4.164 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00127/0.405, allocations: 0.8574 MB / 461 MB, free: 3.195 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002331/0.4073, allocations: 1.483 MB / 462.4 MB, free: 1.594 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.309e-05/0.4073, allocations: 4 kB / 462.4 MB, free: 1.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003756/0.4111, allocations: 1.985 MB / 464.4 MB, free: 15.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.122e-05/0.4111, allocations: 12.25 kB / 464.4 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.295e-05/0.4111, allocations: 15.98 kB / 464.5 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001124/0.4122, allocations: 417.1 kB / 464.9 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008834/0.4131, allocations: 215.7 kB / 465.1 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008973/0.4221, allocations: 6.425 MB / 471.5 MB, free: 8.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/0.4234, allocations: 155 kB / 471.7 MB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002/0.4236, allocations: 44 kB / 471.7 MB, free: 8.086 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.002016/0.4256, allocations: 0.8682 MB / 472.6 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004934/0.4261, allocations: 139.1 kB / 472.7 MB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003539/0.4297, allocations: 1.655 MB / 474.4 MB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/0.4297, allocations: 12 kB / 474.4 MB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.755e-05/0.4297, allocations: 4 kB / 474.4 MB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/0.4297, allocations: 3.984 kB / 474.4 MB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00816/0.4379, allocations: 3.968 MB / 478.3 MB, free: 1.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.4379, allocations: 4 kB / 478.3 MB, free: 1.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006001/0.4385, allocations: 135.8 kB / 478.5 MB, free: 1.191 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001041/0.4395, allocations: 405.8 kB / 478.9 MB, free: 0.7891 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.451e-05/0.4396, allocations: 39.95 kB / 478.9 MB, free: 0.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008478/0.4481, allocations: 6.433 MB / 485.3 MB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.4481, allocations: 0 / 485.3 MB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004207/0.4523, allocations: 2.501 MB / 487.8 MB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005251/0.4528, allocations: 174.9 kB / 488 MB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002064/0.453, allocations: 31.98 kB / 488 MB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000773/0.4538, allocations: 91.91 kB / 488.1 MB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002321/0.454, allocations: 100.6 kB / 488.2 MB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.131e-05/0.4541, allocations: 35.98 kB / 488.3 MB, free: 7.125 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001487/0.4556, allocations: 0.963 MB / 489.2 MB, free: 6.156 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4556, allocations: 0 / 489.2 MB, free: 6.156 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002076/0.4577, allocations: 0.6853 MB / 489.9 MB, free: 5.469 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.0003266/0.458, allocations: 155 kB / 490.1 MB, free: 5.305 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00332/0.4613, allocations: 1.764 MB / 491.8 MB, free: 3.508 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.4613, allocations: 4.25 kB / 491.8 MB, free: 3.504 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001862/0.4632, allocations: 1.093 MB / 492.9 MB, free: 2.383 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001485/0.4647, allocations: 308.2 kB / 493.2 MB, free: 2.082 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008027/0.4727, allocations: 4.665 MB / 497.9 MB, free: 13.35 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001957/0.4747, allocations: 2.113 MB / 0.4883 GB, free: 11.2 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003881/0.475, allocations: 95.41 kB / 0.4884 GB, free: 11.11 MB / 414.1 MB Notification: Performance of SimCode: time 9.12e-07/0.475, allocations: 4 kB / 0.4884 GB, free: 11.11 MB / 414.1 MB Notification: Performance of Templates: time 0.07099/0.546, allocations: 52.97 MB / 0.5401 GB, free: 6.035 MB / 462.1 MB " [Timeout remaining time 659] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/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: 10.748259326908737]