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.001407/0.001407, allocations: 110.1 kB / 21.93 MB, free: 5.219 MB / 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.001459/0.001459, allocations: 213.5 kB / 25.22 MB, free: 3.027 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.41/1.41, allocations: 207.7 MB / 236.1 MB, free: 9.816 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.001891/0.001891, allocations: 66.52 kB / 348.5 MB, free: 9.387 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2938, allocations: 49.15 MB / 397.6 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.007733/0.3016, allocations: 6.363 MB / 404 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007776/0.3093, allocations: 2.149 MB / 406.1 MB, free: 3.668 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002941/0.3123, allocations: 60.75 kB / 406.2 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002554/0.3148, allocations: 459 kB / 406.6 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00467/0.3195, allocations: 0.8385 MB / 407.5 MB, free: 2.887 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.3208, allocations: 367.6 kB / 407.8 MB, free: 2.672 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004785/0.3256, allocations: 3.155 MB / 411 MB, free: 1.172 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002375/0.328, allocations: 1.519 MB / 412.5 MB, free: 352 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002662/0.3306, allocations: 1.456 MB / 414 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003575/0.3342, allocations: 1.699 MB / 415.7 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009452/0.3352, allocations: 358.5 kB / 416 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001722/0.3369, allocations: 474.6 kB / 416.5 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001054/0.3379, allocations: 0.9048 MB / 417.4 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002487/0.3404, allocations: 1.295 MB / 418.7 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006904/0.3473, allocations: 4.701 MB / 423.4 MB, free: 9.34 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.3473, allocations: 0 / 423.4 MB, free: 9.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.597e-06/0.3473, allocations: 0 / 423.4 MB, free: 9.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001797/0.3475, allocations: 4 kB / 423.4 MB, free: 9.336 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.01154/0.3591, allocations: 3.624 MB / 427 MB, free: 5.664 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.3591, allocations: 11.98 kB / 427 MB, free: 5.652 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004158/0.3633, allocations: 0.7016 MB / 427.7 MB, free: 4.949 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004654/0.3679, allocations: 1.65 MB / 429.4 MB, free: 3.254 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001917/0.3681, allocations: 197.7 kB / 429.5 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007273/0.3688, allocations: 264.1 kB / 429.8 MB, free: 2.801 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01023/0.3791, allocations: 3.833 MB / 433.6 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.983e-05/0.3792, allocations: 0 / 433.6 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005034/0.3797, allocations: 112 kB / 433.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001848/0.3799, allocations: 113.3 kB / 433.9 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009681/0.3895, allocations: 3.089 MB / 436.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02698/0.4165, allocations: 9.037 MB / 446 MB, free: 2.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006539/0.4231, allocations: 1.855 MB / 447.8 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002287/0.4253, allocations: 0.8753 MB / 448.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006749/0.4321, allocations: 2.016 MB / 450.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.252e-05/0.4322, allocations: 47.44 kB / 450.8 MB, free: 13.35 MB / 366.1 MB Notification: Performance of pre-optimization done (n=104): time 5.551e-06/0.4322, allocations: 0 / 450.8 MB, free: 13.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=104): time 0.01004/0.4422, allocations: 2.53 MB / 453.3 MB, free: 10.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.672e-05/0.4423, allocations: 89.98 kB / 453.4 MB, free: 10.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003082/0.4454, allocations: 1.349 MB / 454.7 MB, free: 9.332 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002251/0.4456, allocations: 45.7 kB / 454.8 MB, free: 9.281 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001253/0.4469, allocations: 1.187 MB / 456 MB, free: 8.082 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005463/0.4474, allocations: 384.8 kB / 456.4 MB, free: 7.703 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005725/0.448, allocations: 218.9 kB / 456.6 MB, free: 7.484 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002414/0.4482, allocations: 349.9 kB / 456.9 MB, free: 7.137 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001613/0.4498, allocations: 0.5803 MB / 457.5 MB, free: 6.555 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001918/0.4517, allocations: 0.8652 MB / 458.4 MB, free: 5.578 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003518/0.4553, allocations: 1.49 MB / 459.8 MB, free: 3.969 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.194e-05/0.4553, allocations: 0 / 459.8 MB, free: 3.969 MB / 366.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.005705/0.461, allocations: 1.974 MB / 461.8 MB, free: 1.984 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.246e-05/0.461, allocations: 8 kB / 461.8 MB, free: 1.977 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.992e-05/0.461, allocations: 8 kB / 461.8 MB, free: 1.969 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001611/0.4627, allocations: 405.2 kB / 462.2 MB, free: 1.566 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001454/0.4641, allocations: 223.6 kB / 462.4 MB, free: 1.348 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01253/0.4766, allocations: 6.297 MB / 468.7 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001915/0.4786, allocations: 143.1 kB / 468.9 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002247/0.4788, allocations: 48 kB / 468.9 MB, free: 10.65 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.002534/0.4813, allocations: 0.8603 MB / 469.8 MB, free: 9.781 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005903/0.4819, allocations: 151.2 kB / 469.9 MB, free: 9.633 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004902/0.4868, allocations: 1.651 MB / 471.6 MB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.045e-05/0.4868, allocations: 12 kB / 471.6 MB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.635e-05/0.4868, allocations: 4 kB / 471.6 MB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.326e-05/0.4869, allocations: 11.98 kB / 471.6 MB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01006/0.4969, allocations: 3.431 MB / 475 MB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/0.4969, allocations: 11.88 kB / 475.1 MB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009344/0.4979, allocations: 135.8 kB / 475.2 MB, free: 4.293 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001535/0.4994, allocations: 389.8 kB / 475.6 MB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000144/0.4995, allocations: 43.92 kB / 475.6 MB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01269/0.5122, allocations: 6.294 MB / 481.9 MB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.5122, allocations: 0 / 481.9 MB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006784/0.519, allocations: 2.493 MB / 484.4 MB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009396/0.52, allocations: 170.8 kB / 484.6 MB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003501/0.5203, allocations: 35.98 kB / 484.6 MB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001351/0.5217, allocations: 99.89 kB / 484.7 MB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004008/0.5221, allocations: 100.6 kB / 484.8 MB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001264/0.5222, allocations: 31.98 kB / 484.8 MB, free: 10.4 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002096/0.5243, allocations: 0.927 MB / 485.8 MB, free: 9.469 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5243, allocations: 0 / 485.8 MB, free: 9.469 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003334/0.5276, allocations: 0.6775 MB / 486.4 MB, free: 8.789 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.0005106/0.5281, allocations: 155 kB / 486.6 MB, free: 8.625 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005116/0.5332, allocations: 1.767 MB / 488.4 MB, free: 6.832 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/0.5333, allocations: 4 kB / 488.4 MB, free: 6.828 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003007/0.5363, allocations: 1.098 MB / 489.5 MB, free: 5.699 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002807/0.5391, allocations: 292.2 kB / 489.7 MB, free: 5.414 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01271/0.5518, allocations: 4.643 MB / 494.4 MB, free: 0.6992 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002777/0.5546, allocations: 1.556 MB / 495.9 MB, free: 15.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006693/0.5552, allocations: 91.42 kB / 496 MB, free: 15.02 MB / 414.1 MB Notification: Performance of SimCode: time 1.452e-06/0.5552, allocations: 0 / 496 MB, free: 15.02 MB / 414.1 MB Notification: Performance of Templates: time 0.1089/0.6641, allocations: 53.6 MB / 0.5368 GB, free: 9.309 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.512142147868872]