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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=20000,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=20000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 111.1 kB / 17.68 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 192 kB / 18.61 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.21/1.21, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009282/0.0009282, allocations: 47.38 kB / 302.1 MB, free: 5.16 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07719/0.07813, allocations: 49.44 MB / 351.5 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.009441/0.0876, allocations: 9.986 MB / 361.5 MB, free: 9.652 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004615/0.09224, allocations: 3.334 MB / 364.8 MB, free: 6.309 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005572/0.09281, allocations: 67.81 kB / 364.9 MB, free: 6.242 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00703/0.09984, allocations: 3.834 MB / 368.7 MB, free: 2.398 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00337/0.1032, allocations: 1.507 MB / 370.2 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1296/0.2328, allocations: 1.046 MB / 371.3 MB, free: 10 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008188/0.241, allocations: 9.132 MB / 380.4 MB, free: 9.762 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01838/0.2594, allocations: 20.34 MB / 400.7 MB, free: 14.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006258/0.2657, allocations: 5.065 MB / 405.8 MB, free: 9.797 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007133/0.2729, allocations: 6.081 MB / 411.9 MB, free: 4.879 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001748/0.2746, allocations: 1.398 MB / 413.3 MB, free: 3.48 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002517/0.2772, allocations: 1.632 MB / 414.9 MB, free: 1.887 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002038/0.2792, allocations: 2.919 MB / 417.8 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004927/0.2841, allocations: 5.455 MB / 423.3 MB, free: 9.754 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01295/0.2971, allocations: 18.84 MB / 442.1 MB, free: 7.227 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2971, allocations: 0 / 442.1 MB, free: 7.227 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2971, allocations: 0 / 442.1 MB, free: 7.227 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002106/0.2973, allocations: 0 / 442.1 MB, free: 7.227 MB / 350.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.02425/0.3216, allocations: 12.26 MB / 454.4 MB, free: 10.98 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.3216, allocations: 12.03 kB / 454.4 MB, free: 10.97 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04179/0.3634, allocations: 8.495 MB / 462.9 MB, free: 2.57 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01142/0.3749, allocations: 5.887 MB / 468.8 MB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004178/0.3753, allocations: 0.6576 MB / 469.4 MB, free: 12.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001515/0.3769, allocations: 0.8693 MB / 470.3 MB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02239/0.3992, allocations: 15.98 MB / 486.3 MB, free: 11.15 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001363/0.3994, allocations: 11.91 kB / 486.3 MB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008731/0.4003, allocations: 367.7 kB / 486.7 MB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004554/0.4007, allocations: 0.5621 MB / 487.2 MB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02234/0.4231, allocations: 15.72 MB / 0.4912 GB, free: 10.48 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3006/0.7237, allocations: 47.71 MB / 0.5378 GB, free: 116.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01358/0.7373, allocations: 19.34 MB / 0.5566 GB, free: 103.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003514/0.7409, allocations: 3.584 MB / 0.5601 GB, free: 103.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003012/0.7412, allocations: 183.9 kB / 0.5603 GB, free: 103.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.252e-05/0.7412, allocations: 87.28 kB / 0.5604 GB, free: 103.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 5.771e-06/0.7413, allocations: 1.312 kB / 0.5604 GB, free: 103.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.01645/0.7577, allocations: 11.55 MB / 0.5717 GB, free: 101.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.7578, allocations: 124.2 kB / 0.5718 GB, free: 101.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003673/0.7614, allocations: 3.844 MB / 0.5755 GB, free: 100.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002105/0.7617, allocations: 100.8 kB / 0.5756 GB, free: 100.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001164/0.7628, allocations: 3.891 MB / 0.5794 GB, free: 97.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006666/0.7635, allocations: 1.614 MB / 0.581 GB, free: 96.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001465/0.765, allocations: 1.472 MB / 0.5825 GB, free: 95.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 2.996e-05/0.765, allocations: 305.1 kB / 0.5827 GB, free: 95.02 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00354/0.7686, allocations: 3.684 MB / 0.5863 GB, free: 93.74 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004239/0.7728, allocations: 6.527 MB / 0.5927 GB, free: 88.76 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008047/0.7809, allocations: 10.83 MB / 0.6033 GB, free: 80.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.119e-05/0.7809, allocations: 31.53 kB / 0.6033 GB, free: 80.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01305/0.794, allocations: 11.95 MB / 0.615 GB, free: 69.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.255e-05/0.794, allocations: 44 kB / 0.615 GB, free: 69.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.815e-05/0.7941, allocations: 96.25 kB / 0.6151 GB, free: 69.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003575/0.7977, allocations: 1.621 MB / 0.6167 GB, free: 67.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004271/0.8019, allocations: 1.665 MB / 0.6183 GB, free: 66.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01275/0.8147, allocations: 17.65 MB / 0.6356 GB, free: 47.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003591/0.8183, allocations: 0.9523 MB / 0.6365 GB, free: 46.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003994/0.8187, allocations: 364 kB / 0.6369 GB, free: 46.36 MB / 446.1 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.003552/0.8223, allocations: 3.754 MB / 0.6405 GB, free: 42.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004316/0.8227, allocations: 391.1 kB / 0.6409 GB, free: 42.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0103/0.833, allocations: 8.569 MB / 0.6493 GB, free: 33.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.146e-05/0.833, allocations: 55.94 kB / 0.6493 GB, free: 33.49 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.408e-05/0.8331, allocations: 12 kB / 0.6493 GB, free: 33.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.022e-05/0.8331, allocations: 23.91 kB / 0.6493 GB, free: 33.46 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01904/0.8521, allocations: 16.77 MB / 0.6657 GB, free: 16.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/0.8522, allocations: 8.062 kB / 0.6657 GB, free: 16.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002707/0.8549, allocations: 0.862 MB / 0.6666 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003437/0.8583, allocations: 1.516 MB / 0.6681 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002287/0.8586, allocations: 108 kB / 0.6682 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01377/0.8724, allocations: 17.45 MB / 0.6852 GB, free: 11.85 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.8724, allocations: 4 kB / 0.6852 GB, free: 11.85 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0158/0.8882, allocations: 12.25 MB / 0.6972 GB, free: 15.39 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002253/0.8904, allocations: 1.092 MB / 0.6982 GB, free: 14.27 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004571/0.8909, allocations: 91.98 kB / 0.6983 GB, free: 14.18 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001971/0.8929, allocations: 307.7 kB / 0.6986 GB, free: 13.88 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005588/0.8934, allocations: 319.5 kB / 0.6989 GB, free: 13.56 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002641/0.8937, allocations: 136 kB / 0.6991 GB, free: 13.43 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003087/0.8968, allocations: 2.574 MB / 0.7016 GB, free: 10.86 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8968, allocations: 4 kB / 0.7016 GB, free: 10.86 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005356/0.9022, allocations: 2.373 MB / 0.7039 GB, free: 8.473 MB / 478.1 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.000464/0.9027, allocations: 265.1 kB / 0.7041 GB, free: 8.207 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.1361/1.039, allocations: 9.378 MB / 0.7133 GB, free: 151.9 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/1.039, allocations: 1.188 kB / 0.7133 GB, free: 151.9 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006727/1.045, allocations: 4.473 MB / 0.7177 GB, free: 151.1 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003457/1.049, allocations: 0.7437 MB / 0.7184 GB, free: 151 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02086/1.07, allocations: 16.81 MB / 0.7348 GB, free: 145.4 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004295/1.074, allocations: 6.05 MB / 0.7407 GB, free: 143.2 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005282/1.079, allocations: 3.25 MB / 0.7439 GB, free: 143 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009318/1.08, allocations: 371.7 kB / 0.7443 GB, free: 143 MB / 478.1 MB Notification: Performance of SimCode: time 5.81e-07/1.08, allocations: 0 / 0.7443 GB, free: 143 MB / 478.1 MB Notification: Performance of Templates: time 0.9543/2.035, allocations: 62.72 MB / 0.8055 GB, free: 89.47 MB / 478.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile (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=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches