Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.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.001763/0.001763, allocations: 128.5 kB / 17.79 MB, free: 5.246 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.001464/0.001464, allocations: 207.2 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.519/1.519, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.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.1.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.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001575, allocations: 47.92 kB / 373.5 MB, free: 9.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1135, allocations: 53.33 MB / 426.8 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.2281/0.3416, allocations: 10.05 MB / 436.9 MB, free: 5.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006721/0.3483, allocations: 3.395 MB / 440.3 MB, free: 4.316 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002151/0.3504, allocations: 87.53 kB / 440.3 MB, free: 4.289 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009241/0.3597, allocations: 3.866 MB / 444.2 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005719/0.3654, allocations: 1.497 MB / 445.7 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002636/0.368, allocations: 1.06 MB / 446.8 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01206/0.3801, allocations: 9.256 MB / 456 MB, free: 11.9 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02512/0.4052, allocations: 15.82 MB / 471.8 MB, free: 3.508 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009115/0.4143, allocations: 5.14 MB / 477 MB, free: 14.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01111/0.4254, allocations: 6.145 MB / 483.1 MB, free: 8.191 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003989/0.4294, allocations: 1.402 MB / 484.5 MB, free: 6.789 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005393/0.4348, allocations: 1.66 MB / 486.2 MB, free: 5.125 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005297/0.4401, allocations: 2.93 MB / 489.1 MB, free: 2.188 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01108/0.4512, allocations: 5.455 MB / 494.6 MB, free: 12.71 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02494/0.4761, allocations: 18.9 MB / 0.5014 GB, free: 9.75 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.4762, allocations: 4 kB / 0.5015 GB, free: 9.746 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.4762, allocations: 0 / 0.5015 GB, free: 9.746 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000464/0.4766, allocations: 0 / 0.5015 GB, free: 9.746 MB / 414.1 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.03879/0.5154, allocations: 12.46 MB / 0.5136 GB, free: 13.2 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.5155, allocations: 8.031 kB / 0.5136 GB, free: 13.19 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05216/0.5676, allocations: 8.427 MB / 0.5219 GB, free: 4.746 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01478/0.5824, allocations: 5.908 MB / 0.5276 GB, free: 14.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008639/0.5833, allocations: 0.6662 MB / 0.5283 GB, free: 14.11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003915/0.5872, allocations: 0.867 MB / 0.5291 GB, free: 13.24 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03909/0.6263, allocations: 16.02 MB / 0.5448 GB, free: 13.18 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000314/0.6266, allocations: 15.95 kB / 0.5448 GB, free: 13.16 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002561/0.6291, allocations: 364 kB / 0.5451 GB, free: 12.81 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006354/0.6298, allocations: 0.5582 MB / 0.5457 GB, free: 12.25 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03468/0.6645, allocations: 15.77 MB / 0.5611 GB, free: 12.45 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09036/0.7548, allocations: 48.68 MB / 0.6086 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3998/1.155, allocations: 18.86 MB / 0.627 GB, free: 140.3 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004968/1.16, allocations: 3.251 MB / 0.6302 GB, free: 140 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004244/1.16, allocations: 295.6 kB / 0.6305 GB, free: 139.8 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.913e-05/1.16, allocations: 88.56 kB / 0.6306 GB, free: 139.7 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=468): time 6.202e-06/1.16, allocations: 2.469 kB / 0.6306 GB, free: 139.7 MB / 0.5138 GB Notification: Performance of matching and sorting (n=468): time 0.02378/1.184, allocations: 11.56 MB / 0.6419 GB, free: 135.9 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.535e-05/1.184, allocations: 127.7 kB / 0.642 GB, free: 135.8 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0051/1.189, allocations: 3.851 MB / 0.6457 GB, free: 134.6 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0005405/1.19, allocations: 98.61 kB / 0.6458 GB, free: 134.5 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.001825/1.191, allocations: 4.048 MB / 0.6498 GB, free: 132.2 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001308/1.193, allocations: 1.688 MB / 0.6514 GB, free: 131.1 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00208/1.195, allocations: 1.493 MB / 0.6529 GB, free: 130.4 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.327e-05/1.195, allocations: 302.2 kB / 0.6532 GB, free: 130.1 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004932/1.2, allocations: 3.696 MB / 0.6568 GB, free: 128.8 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005915/1.206, allocations: 6.529 MB / 0.6632 GB, free: 123.9 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009932/1.216, allocations: 10.85 MB / 0.6738 GB, free: 116.7 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.47e-05/1.216, allocations: 27.31 kB / 0.6738 GB, free: 116.7 MB / 0.5138 GB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01729/1.233, allocations: 11.96 MB / 0.6855 GB, free: 110.7 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 6.019e-05/1.233, allocations: 48 kB / 0.6855 GB, free: 110.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001067/1.233, allocations: 95.94 kB / 0.6856 GB, free: 110.6 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004724/1.238, allocations: 1.613 MB / 0.6872 GB, free: 109.1 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005671/1.244, allocations: 1.681 MB / 0.6888 GB, free: 107.4 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01578/1.259, allocations: 17.68 MB / 0.7061 GB, free: 88.93 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005805/1.265, allocations: 0.9664 MB / 0.707 GB, free: 87.95 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009942/1.266, allocations: 372 kB / 0.7074 GB, free: 87.59 MB / 0.5138 GB 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.00472/1.271, allocations: 3.751 MB / 0.7111 GB, free: 83.82 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000725/1.272, allocations: 413.3 kB / 0.7114 GB, free: 83.42 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01313/1.285, allocations: 8.53 MB / 0.7198 GB, free: 74.8 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.682e-05/1.285, allocations: 48 kB / 0.7198 GB, free: 74.75 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.285e-05/1.285, allocations: 18.78 kB / 0.7198 GB, free: 74.74 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.274e-05/1.285, allocations: 27.84 kB / 0.7199 GB, free: 74.71 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02698/1.312, allocations: 16.79 MB / 0.7363 GB, free: 57.89 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.706e-05/1.312, allocations: 2.125 kB / 0.7363 GB, free: 57.89 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003442/1.315, allocations: 0.8698 MB / 0.7371 GB, free: 57.02 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004563/1.32, allocations: 1.511 MB / 0.7386 GB, free: 55.48 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006172/1.32, allocations: 112.8 kB / 0.7387 GB, free: 55.38 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01515/1.336, allocations: 17.47 MB / 0.7558 GB, free: 37.09 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/1.336, allocations: 4 kB / 0.7558 GB, free: 37.09 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0174/1.353, allocations: 12.24 MB / 0.7677 GB, free: 24.63 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00264/1.356, allocations: 1.13 MB / 0.7688 GB, free: 23.48 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008356/1.356, allocations: 88 kB / 0.7689 GB, free: 23.39 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002696/1.359, allocations: 299.6 kB / 0.7692 GB, free: 23.1 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007332/1.36, allocations: 319.6 kB / 0.7695 GB, free: 22.79 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002816/1.36, allocations: 148 kB / 0.7696 GB, free: 22.64 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.003493/1.364, allocations: 2.57 MB / 0.7721 GB, free: 20.07 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1e-07/1.364, allocations: 3.938 kB / 0.7722 GB, free: 20.07 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.007841/1.372, allocations: 2.407 MB / 0.7745 GB, free: 17.66 MB / 0.5138 GB 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.000915/1.372, allocations: 270.4 kB / 0.7748 GB, free: 17.38 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01354/1.386, allocations: 9.014 MB / 0.7836 GB, free: 8.266 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/1.386, allocations: 1 kB / 0.7836 GB, free: 8.266 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.007432/1.393, allocations: 4.19 MB / 0.7877 GB, free: 3.996 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005162/1.399, allocations: 0.7366 MB / 0.7884 GB, free: 3.27 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03135/1.43, allocations: 16.93 MB / 0.8049 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007982/1.438, allocations: 6.045 MB / 0.8108 GB, free: 12.18 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00829/1.446, allocations: 3.251 MB / 0.814 GB, free: 8.926 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0014/1.448, allocations: 403.3 kB / 0.8144 GB, free: 8.531 MB / 0.545 GB Notification: Performance of SimCode: time 2.063e-06/1.448, allocations: 0 / 0.8144 GB, free: 8.531 MB / 0.545 GB Notification: Performance of Templates: time 0.3666/1.814, allocations: 67.21 MB / 0.88 GB, free: 138.5 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.357909422367811]