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.001526/0.001526, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.001524/0.001524, allocations: 163.1 kB / 25.02 MB, free: 8.43 MB / 18.57 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.393/1.393, allocations: 158.6 MB / 186.8 MB, free: 2.902 MB / 170.7 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: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 250.4 MB, free: 3.941 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.693e-05/2.845e-05, allocations: 2.312 kB / 250.4 MB, free: 3.938 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.009575/0.009604, allocations: 6.381 MB / 256.7 MB, free: 13.52 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005206/0.01481, allocations: 2.157 MB / 258.9 MB, free: 11.35 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009561/0.01577, allocations: 55.62 kB / 259 MB, free: 11.29 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001171/0.01694, allocations: 476.6 kB / 259.4 MB, free: 10.82 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002528/0.01946, allocations: 0.8464 MB / 260.3 MB, free: 9.973 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009468/0.02041, allocations: 382.2 kB / 260.6 MB, free: 9.602 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004317/0.02473, allocations: 3.237 MB / 263.9 MB, free: 6.352 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002367/0.0271, allocations: 1.517 MB / 265.4 MB, free: 4.77 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002939/0.03003, allocations: 2.09 MB / 267.5 MB, free: 2.676 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002323/0.03236, allocations: 1.532 MB / 269 MB, free: 1.141 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000584/0.03294, allocations: 360 kB / 269.4 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009692/0.03391, allocations: 475.7 kB / 269.8 MB, free: 332 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00097/0.03488, allocations: 0.9387 MB / 270.8 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001594/0.03648, allocations: 1.099 MB / 271.9 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006164/0.04264, allocations: 4.725 MB / 276.6 MB, free: 9.539 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.04264, allocations: 0 / 276.6 MB, free: 9.539 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.04265, allocations: 3.938 kB / 276.6 MB, free: 9.535 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001425/0.04279, allocations: 4 kB / 276.6 MB, free: 9.531 MB / 266.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.01009/0.05288, allocations: 3.585 MB / 280.2 MB, free: 5.898 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.05293, allocations: 11.98 kB / 280.2 MB, free: 5.887 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004168/0.05709, allocations: 1.033 MB / 281.2 MB, free: 4.852 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003527/0.06062, allocations: 1.689 MB / 282.9 MB, free: 3.121 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001912/0.06081, allocations: 197.7 kB / 283.1 MB, free: 2.926 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004645/0.06128, allocations: 264.4 kB / 283.4 MB, free: 2.668 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00713/0.06841, allocations: 3.845 MB / 287.2 MB, free: 14.71 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.953e-05/0.06846, allocations: 3.938 kB / 287.2 MB, free: 14.71 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002875/0.06874, allocations: 104 kB / 287.3 MB, free: 14.61 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001333/0.06888, allocations: 109.4 kB / 287.4 MB, free: 14.5 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005813/0.07469, allocations: 3.081 MB / 290.5 MB, free: 11.41 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01799/0.09268, allocations: 9.251 MB / 299.8 MB, free: 1.824 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1167/0.2094, allocations: 1.864 MB / 301.6 MB, free: 55.49 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00173/0.2111, allocations: 0.8731 MB / 302.5 MB, free: 55.47 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003855/0.215, allocations: 2.027 MB / 304.5 MB, free: 54.68 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.215, allocations: 45.77 kB / 304.6 MB, free: 54.63 MB / 282.7 MB Notification: Performance of pre-optimization done (n=104): time 2.935e-06/0.215, allocations: 1.156 kB / 304.6 MB, free: 54.63 MB / 282.7 MB Notification: Performance of matching and sorting (n=104): time 0.006342/0.2214, allocations: 2.564 MB / 307.1 MB, free: 53.97 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.2214, allocations: 93.69 kB / 307.2 MB, free: 53.87 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001921/0.2233, allocations: 1.347 MB / 308.6 MB, free: 53.4 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.587e-05/0.2234, allocations: 42.64 kB / 308.6 MB, free: 53.36 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005752/0.224, allocations: 1.19 MB / 309.8 MB, free: 52.7 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002069/0.2242, allocations: 375 kB / 310.2 MB, free: 52.46 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000307/0.2245, allocations: 220.5 kB / 310.4 MB, free: 52.35 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.035e-05/0.2246, allocations: 354.8 kB / 310.7 MB, free: 52.03 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009101/0.2255, allocations: 0.5739 MB / 311.3 MB, free: 51.84 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/0.2265, allocations: 0.8611 MB / 312.2 MB, free: 51.32 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001984/0.2285, allocations: 1.49 MB / 313.7 MB, free: 50.51 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.178e-06/0.2285, allocations: 3.188 kB / 313.7 MB, free: 50.51 MB / 282.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003057/0.2316, allocations: 2.03 MB / 315.7 MB, free: 49.72 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.2316, allocations: 7.875 kB / 315.7 MB, free: 49.72 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/0.2316, allocations: 7.844 kB / 315.7 MB, free: 49.72 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001479/0.2331, allocations: 0.5075 MB / 316.2 MB, free: 49.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007799/0.2339, allocations: 217.7 kB / 316.4 MB, free: 49.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005815/0.2397, allocations: 6.338 MB / 322.8 MB, free: 44.26 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/0.2407, allocations: 145.1 kB / 322.9 MB, free: 44.15 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.938e-05/0.2408, allocations: 51.98 kB / 323 MB, free: 44.1 MB / 282.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.00117/0.2419, allocations: 0.8694 MB / 323.8 MB, free: 43.22 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002644/0.2422, allocations: 171.1 kB / 324 MB, free: 43.05 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002425/0.2446, allocations: 1.65 MB / 325.6 MB, free: 41.39 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.2446, allocations: 12 kB / 325.7 MB, free: 41.38 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.2446, allocations: 11.94 kB / 325.7 MB, free: 41.37 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.397e-06/0.2447, allocations: 3.984 kB / 325.7 MB, free: 41.37 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004654/0.2493, allocations: 3.432 MB / 329.1 MB, free: 37.9 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.2493, allocations: 0 / 329.1 MB, free: 37.9 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005377/0.2498, allocations: 131.8 kB / 329.2 MB, free: 37.77 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001244/0.2511, allocations: 0.5016 MB / 329.7 MB, free: 37.27 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.147e-05/0.2512, allocations: 35.97 kB / 329.8 MB, free: 37.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005516/0.2567, allocations: 6.35 MB / 336.1 MB, free: 30.71 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.2567, allocations: 4.031 kB / 336.1 MB, free: 30.71 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003176/0.2599, allocations: 2.524 MB / 338.6 MB, free: 28.14 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002753/0.2601, allocations: 178 kB / 338.8 MB, free: 27.98 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001495/0.2603, allocations: 31.98 kB / 338.9 MB, free: 27.95 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007539/0.261, allocations: 91.84 kB / 338.9 MB, free: 27.86 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002055/0.2612, allocations: 100.8 kB / 339 MB, free: 27.76 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.043e-05/0.2613, allocations: 27.98 kB / 339.1 MB, free: 27.73 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0009721/0.2623, allocations: 0.9309 MB / 340 MB, free: 26.8 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2623, allocations: 7.547 kB / 340 MB, free: 26.79 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001589/0.2639, allocations: 0.6814 MB / 340.7 MB, free: 26.11 MB / 282.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,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.0002593/0.2641, allocations: 145.8 kB / 340.8 MB, free: 25.96 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002447/0.2666, allocations: 1.764 MB / 342.6 MB, free: 24.17 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.2666, allocations: 4 kB / 342.6 MB, free: 24.16 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001459/0.268, allocations: 1.098 MB / 343.7 MB, free: 23.04 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001358/0.2694, allocations: 302.5 kB / 344 MB, free: 22.76 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005662/0.2751, allocations: 4.643 MB / 348.6 MB, free: 18.05 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001237/0.2763, allocations: 1.614 MB / 350.2 MB, free: 16.4 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0007862/0.2771, allocations: 334.6 kB / 350.6 MB, free: 16.07 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002143/0.2773, allocations: 88.48 kB / 350.7 MB, free: 15.99 MB / 282.7 MB Notification: Performance of SimCode: time 9.92e-07/0.2773, allocations: 0 / 350.7 MB, free: 15.99 MB / 282.7 MB Notification: Performance of Templates: time 0.03149/0.3088, allocations: 20.57 MB / 371.2 MB, free: 11.44 MB / 298.7 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.105368155986071]