Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.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.001852/0.001852, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.00232/0.00232, allocations: 211.4 kB / 24.48 MB, free: 3.934 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.52/1.52, allocations: 230.5 MB / 258.1 MB, free: 7.785 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.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 71.88 kB / 379 MB, free: 2.254 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2865, allocations: 53.41 MB / 432.4 MB, free: 6.473 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01875/0.3052, allocations: 14.31 MB / 446.7 MB, free: 8.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0105/0.3157, allocations: 4.556 MB / 451.3 MB, free: 3.523 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003264/0.319, allocations: 155.2 kB / 451.4 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01751/0.3365, allocations: 6.688 MB / 458.1 MB, free: 12.67 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007828/0.3443, allocations: 1.993 MB / 460.1 MB, free: 10.67 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005032/0.3494, allocations: 1.503 MB / 461.6 MB, free: 9.172 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0149/0.3643, allocations: 9.606 MB / 471.2 MB, free: 15.53 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02942/0.3937, allocations: 13.47 MB / 484.7 MB, free: 1.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009827/0.4035, allocations: 5.374 MB / 490.1 MB, free: 12.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01079/0.4143, allocations: 5.836 MB / 495.9 MB, free: 6.668 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004234/0.4185, allocations: 1.359 MB / 497.3 MB, free: 5.309 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006099/0.4246, allocations: 1.656 MB / 498.9 MB, free: 3.652 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005577/0.4302, allocations: 2.802 MB / 0.49 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01073/0.4409, allocations: 4.187 MB / 0.494 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02603/0.467, allocations: 18.49 MB / 0.5121 GB, free: 10.09 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.467, allocations: 0 / 0.5121 GB, free: 10.09 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.467, allocations: 0 / 0.5121 GB, free: 10.09 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005638/0.4675, allocations: 8 kB / 0.5121 GB, free: 10.08 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2497 * Number of variables: 2497 Notification: Performance of Generate backend data structure: time 0.04075/0.5083, allocations: 12.25 MB / 0.5241 GB, free: 13.76 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.853e-05/0.5084, allocations: 19.86 kB / 0.5241 GB, free: 13.74 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03683/0.5452, allocations: 6.199 MB / 0.5301 GB, free: 7.527 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01573/0.5609, allocations: 5.925 MB / 0.5359 GB, free: 1.531 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008595/0.5618, allocations: 0.6665 MB / 0.5366 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.4411/1.003, allocations: 0.8718 MB / 0.5374 GB, free: 89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03854/1.041, allocations: 14.98 MB / 0.5521 GB, free: 83.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002197/1.042, allocations: 17.14 kB / 0.5521 GB, free: 83.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001152/1.043, allocations: 369.8 kB / 0.5524 GB, free: 83.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000469/1.043, allocations: 497.8 kB / 0.5529 GB, free: 83.65 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01966/1.063, allocations: 13.51 MB / 0.5661 GB, free: 71.71 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05375/1.117, allocations: 38.55 MB / 0.6037 GB, free: 33.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00844/1.125, allocations: 5.968 MB / 0.6096 GB, free: 27.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003567/1.129, allocations: 2.859 MB / 0.6124 GB, free: 24.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003051/1.129, allocations: 115.9 kB / 0.6125 GB, free: 24.35 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.789e-05/1.129, allocations: 74.56 kB / 0.6125 GB, free: 24.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 6.732e-06/1.129, allocations: 3.938 kB / 0.6125 GB, free: 24.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.01868/1.148, allocations: 9.433 MB / 0.6218 GB, free: 14.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.41e-05/1.148, allocations: 121.1 kB / 0.6219 GB, free: 14.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004184/1.152, allocations: 3.23 MB / 0.625 GB, free: 11.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005268/1.153, allocations: 93.7 kB / 0.6251 GB, free: 11.44 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001904/1.154, allocations: 3.822 MB / 0.6288 GB, free: 8.043 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001178/1.156, allocations: 1.462 MB / 0.6303 GB, free: 6.598 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001391/1.157, allocations: 1.144 MB / 0.6314 GB, free: 5.441 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.284e-05/1.157, allocations: 309.1 kB / 0.6317 GB, free: 5.137 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003372/1.16, allocations: 2.841 MB / 0.6345 GB, free: 2.289 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005521/1.166, allocations: 4.908 MB / 0.6393 GB, free: 12.43 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01222/1.178, allocations: 8.271 MB / 0.6473 GB, free: 3.227 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.078e-05/1.178, allocations: 20 kB / 0.6473 GB, free: 3.207 MB / 462.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01892/1.197, allocations: 9.112 MB / 0.6562 GB, free: 10.08 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.589e-05/1.197, allocations: 35.94 kB / 0.6563 GB, free: 10.05 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00013/1.197, allocations: 68 kB / 0.6563 GB, free: 9.98 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00348/1.201, allocations: 1.147 MB / 0.6575 GB, free: 8.828 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005068/1.206, allocations: 1.299 MB / 0.6587 GB, free: 7.527 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01827/1.224, allocations: 10.41 MB / 0.6689 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008049/1.232, allocations: 0.7375 MB / 0.6696 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001713/1.234, allocations: 284 kB / 0.6699 GB, free: 11.91 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 303 * 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 (675): * Single equations (assignments): 671 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,24,100.0%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01103/1.245, allocations: 3.427 MB / 0.6732 GB, free: 8.469 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002125/1.247, allocations: 361.7 kB / 0.6736 GB, free: 8.113 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02083/1.268, allocations: 6.874 MB / 0.6803 GB, free: 1.211 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.016/1.284, allocations: 5.725 MB / 0.6859 GB, free: 11.47 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-05/1.284, allocations: 15.94 kB / 0.6859 GB, free: 11.46 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.973e-05/1.284, allocations: 19.92 kB / 0.6859 GB, free: 11.44 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03436/1.318, allocations: 13.45 MB / 0.6991 GB, free: 13.83 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.528e-05/1.318, allocations: 13 kB / 0.6991 GB, free: 13.82 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003189/1.322, allocations: 0.7956 MB / 0.6998 GB, free: 13.02 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003272/1.325, allocations: 1.063 MB / 0.7009 GB, free: 11.95 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004782/1.325, allocations: 112 kB / 0.701 GB, free: 11.84 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01555/1.341, allocations: 10.15 MB / 0.7109 GB, free: 1.492 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2e-05/1.341, allocations: 23.88 kB / 0.7109 GB, free: 1.469 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01925/1.36, allocations: 10.69 MB / 0.7214 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00287/1.363, allocations: 0.9571 MB / 0.7223 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005455/1.364, allocations: 95.98 kB / 0.7224 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002238/1.366, allocations: 275.7 kB / 0.7226 GB, free: 5.219 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007897/1.367, allocations: 359 kB / 0.723 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003477/1.367, allocations: 148 kB / 0.7231 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003422/1.37, allocations: 2.092 MB / 0.7252 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/1.37, allocations: 0 / 0.7252 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006421/1.377, allocations: 2.258 MB / 0.7274 GB, free: 368 kB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * Number of states: 2 (sineVoltage_m.plug_p.reference.gamma,sineVoltage_e.plug_p.reference.gamma) * 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 (415): * Single equations (assignments): 411 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,24,91.7%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006994/1.378, allocations: 298.2 kB / 0.7277 GB, free: 60 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01349/1.391, allocations: 7.17 MB / 0.7347 GB, free: 8.871 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.33e-05/1.391, allocations: 4 kB / 0.7347 GB, free: 8.867 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006804/1.398, allocations: 3.416 MB / 0.738 GB, free: 5.43 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003993/1.402, allocations: 0.7826 MB / 0.7388 GB, free: 4.656 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2273/1.629, allocations: 15.98 MB / 0.7544 GB, free: 178.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005007/1.634, allocations: 5.292 MB / 0.7595 GB, free: 178.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001421/1.636, allocations: 397.3 kB / 0.7599 GB, free: 178.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.002e-06/1.636, allocations: 0 / 0.7599 GB, free: 178.3 MB / 0.545 GB Notification: Performance of Templates: time 0.4299/2.066, allocations: 199.8 MB / 0.955 GB, free: 186.5 MB / 0.5607 GB " [Timeout remaining time 658] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.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: 16.58466772828251]