Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.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.001747/0.001747, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 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.00187/0.00187, allocations: 164.8 kB / 24.27 MB, free: 156 kB / 18.57 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.517/1.517, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 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.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.22e-05/2.344e-05, allocations: 2.312 kB / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01371/0.01373, allocations: 9.673 MB / 281.9 MB, free: 8.062 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007667/0.0214, allocations: 3.334 MB / 285.2 MB, free: 4.719 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001334/0.02274, allocations: 87.56 kB / 285.3 MB, free: 4.633 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009894/0.03263, allocations: 4.088 MB / 289.4 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1294/0.162, allocations: 1.536 MB / 290.9 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002632/0.1646, allocations: 1.04 MB / 292 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01017/0.1748, allocations: 9.631 MB / 301.6 MB, free: 11.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01664/0.1914, allocations: 12.86 MB / 314.5 MB, free: 4.176 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01189/0.2033, allocations: 7.554 MB / 322 MB, free: 13.22 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01117/0.2145, allocations: 6.033 MB / 328 MB, free: 7.582 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003222/0.2177, allocations: 1.395 MB / 329.4 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004799/0.2225, allocations: 1.653 MB / 331.1 MB, free: 4.57 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003452/0.226, allocations: 3.019 MB / 334.1 MB, free: 1.73 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007709/0.2337, allocations: 3.714 MB / 337.8 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02386/0.2576, allocations: 19.32 MB / 357.1 MB, free: 11.34 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.2576, allocations: 3.938 kB / 357.2 MB, free: 11.34 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.2576, allocations: 0.8125 kB / 357.2 MB, free: 11.34 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003846/0.2579, allocations: 0 / 357.2 MB, free: 11.34 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: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.03821/0.2962, allocations: 14.03 MB / 371.2 MB, free: 13.33 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.2962, allocations: 15.98 kB / 371.2 MB, free: 13.31 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05194/0.3481, allocations: 10.02 MB / 381.2 MB, free: 3.395 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01681/0.3649, allocations: 5.463 MB / 386.7 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007738/0.3657, allocations: 0.6676 MB / 387.4 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00324/0.369, allocations: 0.866 MB / 388.2 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03359/0.4026, allocations: 16.24 MB / 404.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001982/0.4027, allocations: 11.95 kB / 404.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00112/0.4039, allocations: 366.6 kB / 404.8 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006889/0.4046, allocations: 0.5582 MB / 405.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02799/0.4325, allocations: 13.87 MB / 419.3 MB, free: 13.49 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2915/0.7241, allocations: 67.33 MB / 486.6 MB, free: 68.95 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01296/0.737, allocations: 7.801 MB / 494.4 MB, free: 61.89 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003586/0.7406, allocations: 2.736 MB / 497.1 MB, free: 59.15 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000382/0.741, allocations: 149.2 kB / 497.3 MB, free: 59 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.915e-05/0.7411, allocations: 89.33 kB / 497.4 MB, free: 58.91 MB / 378.8 MB Notification: Performance of pre-optimization done (n=468): time 7.955e-06/0.7411, allocations: 0 / 497.4 MB, free: 58.91 MB / 378.8 MB Notification: Performance of matching and sorting (n=468): time 0.01935/0.7604, allocations: 9.767 MB / 0.4952 GB, free: 49.11 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.779e-05/0.7605, allocations: 125.1 kB / 0.4954 GB, free: 48.97 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007298/0.7678, allocations: 5.984 MB / 0.5012 GB, free: 43.09 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007721/0.7686, allocations: 97.7 kB / 0.5013 GB, free: 42.99 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002406/0.771, allocations: 4.577 MB / 0.5058 GB, free: 39.06 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001492/0.7724, allocations: 1.803 MB / 0.5075 GB, free: 37.39 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002325/0.7748, allocations: 1.947 MB / 0.5094 GB, free: 35.43 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 4.928e-05/0.7748, allocations: 476.8 kB / 0.5099 GB, free: 34.96 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003718/0.7785, allocations: 2.996 MB / 0.5128 GB, free: 31.96 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005236/0.7838, allocations: 7.495 MB / 0.5201 GB, free: 22.68 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009889/0.7937, allocations: 11.47 MB / 0.5313 GB, free: 9.402 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.98e-05/0.7938, allocations: 28 kB / 0.5313 GB, free: 9.375 MB / 378.8 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01805/0.8118, allocations: 10.97 MB / 0.5421 GB, free: 14.33 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001324/0.8119, allocations: 47.94 kB / 0.5421 GB, free: 14.28 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002042/0.8122, allocations: 92.31 kB / 0.5422 GB, free: 14.19 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007381/0.8195, allocations: 1.878 MB / 0.544 GB, free: 12.29 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007205/0.8267, allocations: 1.673 MB / 0.5457 GB, free: 10.61 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0273/0.854, allocations: 20.22 MB / 0.5654 GB, free: 5.676 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006318/0.8604, allocations: 0.9702 MB / 0.5663 GB, free: 4.699 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00149/0.8618, allocations: 368 kB / 0.5667 GB, free: 4.34 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 424 * 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 (876): * Single equations (assignments): 870 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007803/0.8696, allocations: 3.433 MB / 0.5701 GB, free: 0.8906 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001784/0.8714, allocations: 0.5404 MB / 0.5706 GB, free: 356 kB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.143/1.014, allocations: 7.405 MB / 0.5778 GB, free: 116.3 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.893e-05/1.015, allocations: 48.91 kB / 0.5779 GB, free: 116.3 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.813e-05/1.015, allocations: 12.72 kB / 0.5779 GB, free: 116.3 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.31e-05/1.015, allocations: 23.34 kB / 0.5779 GB, free: 116.3 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02805/1.043, allocations: 17.62 MB / 0.5951 GB, free: 113.8 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.518e-05/1.043, allocations: 2.25 kB / 0.5951 GB, free: 113.8 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003214/1.046, allocations: 0.8685 MB / 0.5959 GB, free: 113.7 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005599/1.051, allocations: 1.765 MB / 0.5977 GB, free: 113.4 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006241/1.052, allocations: 111.5 kB / 0.5978 GB, free: 113.4 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01617/1.068, allocations: 20.01 MB / 0.6173 GB, free: 98.01 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/1.068, allocations: 0 / 0.6173 GB, free: 98.01 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01538/1.084, allocations: 10.43 MB / 0.6275 GB, free: 89.28 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002896/1.087, allocations: 0.9582 MB / 0.6284 GB, free: 88.39 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007756/1.087, allocations: 91.94 kB / 0.6285 GB, free: 88.3 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00253/1.09, allocations: 299.6 kB / 0.6288 GB, free: 88 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000668/1.091, allocations: 343.3 kB / 0.6291 GB, free: 87.66 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002668/1.091, allocations: 140 kB / 0.6293 GB, free: 87.53 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.00329/1.094, allocations: 2.827 MB / 0.632 GB, free: 84.7 MB / 410.8 MB Notification: Performance of sort global known variables: time 8e-08/1.094, allocations: 4 kB / 0.632 GB, free: 84.7 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.00743/1.102, allocations: 2.411 MB / 0.6344 GB, free: 82.51 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (voltageSource_m.plug_p.reference.gamma,voltageSource_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 (455): * Single equations (assignments): 449 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006897/1.102, allocations: 262.2 kB / 0.6346 GB, free: 82.25 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.01132/1.114, allocations: 8.968 MB / 0.6434 GB, free: 73.13 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 7.914e-06/1.114, allocations: 4 kB / 0.6434 GB, free: 73.13 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005454/1.119, allocations: 4.302 MB / 0.6476 GB, free: 68.71 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003334/1.122, allocations: 0.7544 MB / 0.6483 GB, free: 68 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02118/1.143, allocations: 15.59 MB / 0.6636 GB, free: 52.29 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003823/1.147, allocations: 4.983 MB / 0.6684 GB, free: 47.26 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.005457/1.153, allocations: 2.809 MB / 0.6712 GB, free: 44.45 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001057/1.154, allocations: 400.4 kB / 0.6716 GB, free: 44.05 MB / 410.8 MB Notification: Performance of SimCode: time 1.974e-06/1.154, allocations: 4 kB / 0.6716 GB, free: 44.05 MB / 410.8 MB Notification: Performance of Templates: time 0.2408/1.395, allocations: 62.26 MB / 0.7324 GB, free: 118 MB / 426.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.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: 8.397996062994935]