Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009678/0.0009678, allocations: 75.91 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 145.5 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.039/1.039, allocations: 173.3 MB / 201.1 MB, free: 9.352 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 268 MB, free: 6.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.564e-05/2.724e-05, allocations: 2.312 kB / 268 MB, free: 6.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.012/0.01203, allocations: 9.74 MB / 277.7 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007483/0.01952, allocations: 3.295 MB / 281 MB, free: 9.332 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001972/0.02149, allocations: 83.56 kB / 281.1 MB, free: 9.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00535/0.02684, allocations: 4.111 MB / 285.2 MB, free: 5.121 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003538/0.03037, allocations: 1.574 MB / 286.8 MB, free: 3.539 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001431/0.03181, allocations: 1.028 MB / 287.8 MB, free: 2.508 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1296/0.1614, allocations: 9.503 MB / 297.3 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01788/0.1793, allocations: 12.86 MB / 310.2 MB, free: 7.523 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01161/0.1909, allocations: 7.562 MB / 317.8 MB, free: 3.805 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008101/0.199, allocations: 6.07 MB / 323.8 MB, free: 14.51 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003734/0.2027, allocations: 1.398 MB / 325.2 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005266/0.208, allocations: 1.625 MB / 326.9 MB, free: 11.52 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004266/0.2122, allocations: 3.02 MB / 329.9 MB, free: 8.676 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007159/0.2194, allocations: 3.713 MB / 333.6 MB, free: 5.137 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0116/0.231, allocations: 9.689 MB / 343.3 MB, free: 12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.231, allocations: 2 kB / 343.3 MB, free: 12 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.231, allocations: 0 / 343.3 MB, free: 12 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0004565/0.2315, allocations: 3.375 kB / 343.3 MB, free: 12 MB / 298.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.02343/0.2549, allocations: 13.27 MB / 356.6 MB, free: 14.76 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.2549, allocations: 8.922 kB / 356.6 MB, free: 14.75 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02672/0.2817, allocations: 10.16 MB / 366.7 MB, free: 4.695 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01073/0.2924, allocations: 5.444 MB / 372.2 MB, free: 15.46 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005784/0.293, allocations: 0.6714 MB / 372.8 MB, free: 14.79 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003192/0.2962, allocations: 0.8723 MB / 373.7 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02307/0.3192, allocations: 8.528 MB / 382.2 MB, free: 5.328 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001814/0.3194, allocations: 11.95 kB / 382.3 MB, free: 5.316 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009928/0.3204, allocations: 366 kB / 382.6 MB, free: 4.965 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00054/0.3209, allocations: 0.5543 MB / 383.2 MB, free: 4.406 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01611/0.3371, allocations: 5.054 MB / 388.2 MB, free: 15.32 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05337/0.3904, allocations: 37.38 MB / 425.6 MB, free: 9.785 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008481/0.3989, allocations: 6.207 MB / 431.8 MB, free: 4.027 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002004/0.4009, allocations: 1.369 MB / 433.2 MB, free: 2.648 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002355/0.4011, allocations: 119.9 kB / 433.3 MB, free: 2.531 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.169e-05/0.4012, allocations: 85.39 kB / 433.4 MB, free: 2.438 MB / 378.7 MB Notification: Performance of pre-optimization done (n=468): time 6.953e-06/0.4012, allocations: 0 / 433.4 MB, free: 2.438 MB / 378.7 MB Notification: Performance of matching and sorting (n=468): time 0.2457/0.6469, allocations: 6.083 MB / 439.5 MB, free: 93.34 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/0.647, allocations: 132.7 kB / 439.6 MB, free: 93.24 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005324/0.6523, allocations: 4.044 MB / 443.6 MB, free: 92.93 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008237/0.6531, allocations: 99.3 kB / 443.7 MB, free: 92.9 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002158/0.6553, allocations: 4.358 MB / 448.1 MB, free: 91.13 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001592/0.6569, allocations: 1.734 MB / 449.8 MB, free: 90.26 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001828/0.6587, allocations: 1.688 MB / 451.5 MB, free: 90.12 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 5.326e-05/0.6588, allocations: 478.1 kB / 452 MB, free: 89.66 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002057/0.6608, allocations: 1.125 MB / 453.1 MB, free: 89.64 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003243/0.6641, allocations: 5.418 MB / 458.5 MB, free: 84.59 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005788/0.6699, allocations: 7.19 MB / 465.7 MB, free: 79.38 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.651e-05/0.67, allocations: 30.66 kB / 465.7 MB, free: 79.38 MB / 378.8 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01013/0.6801, allocations: 6.919 MB / 472.7 MB, free: 78.8 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.495e-05/0.6801, allocations: 46.36 kB / 472.7 MB, free: 78.8 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.723e-05/0.6802, allocations: 97.47 kB / 472.8 MB, free: 78.8 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003243/0.6835, allocations: 1.539 MB / 474.3 MB, free: 78.68 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00368/0.6872, allocations: 1.664 MB / 476 MB, free: 78.68 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009587/0.6967, allocations: 15.71 MB / 491.7 MB, free: 66.44 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004856/0.7016, allocations: 0.9668 MB / 492.7 MB, free: 65.89 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001508/0.7031, allocations: 364.9 kB / 493 MB, free: 65.82 MB / 378.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.002951/0.7061, allocations: 0.6455 MB / 493.7 MB, free: 65.4 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007675/0.7068, allocations: 0.5377 MB / 494.2 MB, free: 65.12 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006604/0.7134, allocations: 4.869 MB / 499.1 MB, free: 62.62 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.371e-05/0.7135, allocations: 51.98 kB / 499.1 MB, free: 62.57 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.348e-05/0.7135, allocations: 12 kB / 499.2 MB, free: 62.55 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.681e-05/0.7135, allocations: 26.5 kB / 499.2 MB, free: 62.55 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01782/0.7313, allocations: 12.31 MB / 0.4995 GB, free: 52.02 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/0.7313, allocations: 8.062 kB / 0.4995 GB, free: 52.01 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001863/0.7332, allocations: 0.8578 MB / 0.5003 GB, free: 51.34 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003193/0.7364, allocations: 1.43 MB / 0.5017 GB, free: 50.18 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004112/0.7368, allocations: 104 kB / 0.5018 GB, free: 50.07 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009285/0.7461, allocations: 15.51 MB / 0.517 GB, free: 33.92 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.7461, allocations: 0 / 0.517 GB, free: 33.92 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008795/0.7549, allocations: 5.831 MB / 0.5227 GB, free: 27.91 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001606/0.7565, allocations: 0.945 MB / 0.5236 GB, free: 26.96 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003688/0.7569, allocations: 91.92 kB / 0.5237 GB, free: 26.87 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001255/0.7581, allocations: 307.7 kB / 0.524 GB, free: 26.57 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004884/0.7586, allocations: 331.2 kB / 0.5243 GB, free: 26.25 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001789/0.7588, allocations: 146.7 kB / 0.5244 GB, free: 26.11 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001912/0.7607, allocations: 1.582 MB / 0.526 GB, free: 24.53 MB / 378.8 MB Notification: Performance of sort global known variables: time 7e-08/0.7607, allocations: 0 / 0.526 GB, free: 24.53 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.005317/0.766, allocations: 2.407 MB / 0.5283 GB, free: 22.12 MB / 378.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.0004852/0.7665, allocations: 264.3 kB / 0.5286 GB, free: 21.9 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.007291/0.7738, allocations: 5.771 MB / 0.5342 GB, free: 16 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 5.75e-06/0.7738, allocations: 5.875 kB / 0.5342 GB, free: 16 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003211/0.777, allocations: 3.163 MB / 0.5373 GB, free: 12.71 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00256/0.7796, allocations: 0.7571 MB / 0.5381 GB, free: 11.99 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01787/0.7974, allocations: 13.61 MB / 0.5514 GB, free: 14.23 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002366/0.7998, allocations: 2.519 MB / 0.5538 GB, free: 11.69 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.004852/0.8047, allocations: 2.809 MB / 0.5566 GB, free: 8.871 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009153/0.8056, allocations: 372.4 kB / 0.5569 GB, free: 8.504 MB / 394.8 MB Notification: Performance of SimCode: time 2.525e-06/0.8056, allocations: 0 / 0.5569 GB, free: 8.504 MB / 394.8 MB Notification: Performance of Templates: time 0.2104/1.016, allocations: 61.33 MB / 0.6168 GB, free: 106.5 MB / 410.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","",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.12683792412281]