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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009164/0.0009164, allocations: 180.4 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007871/0.0007869, allocations: 88.81 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003028/0.000303, allocations: 8 kB / 351.1 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2378, allocations: 50.4 MB / 401.5 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1371/0.375, allocations: 96.23 MB / 497.7 MB, free: 228 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003923/0.3754, allocations: 89.39 kB / 497.8 MB, free: 140 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.016/1.392, allocations: 315.3 MB / 0.7941 GB, free: 11.14 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.863e-06/1.392, allocations: 0 / 0.7941 GB, free: 11.14 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004172/1.392, allocations: 183.9 kB / 0.7943 GB, free: 10.96 MB / 426.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.03044/1.423, allocations: 9.853 MB / 0.8039 GB, free: 1.027 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/1.423, allocations: 12.03 kB / 0.8039 GB, free: 1.016 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02983/1.452, allocations: 5.553 MB / 0.8093 GB, free: 11.45 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01425/1.467, allocations: 6.339 MB / 0.8155 GB, free: 5.039 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000659/1.467, allocations: 0.6102 MB / 0.8161 GB, free: 4.426 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003054/1.47, allocations: 0.8046 MB / 0.8169 GB, free: 3.621 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2579/1.728, allocations: 15.7 MB / 0.8322 GB, free: 54 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003567/1.729, allocations: 7.344 kB / 0.8322 GB, free: 54 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002798/1.732, allocations: 352.4 kB / 0.8326 GB, free: 54 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008248/1.732, allocations: 0.8299 MB / 0.8334 GB, free: 53.97 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02425/1.757, allocations: 14.6 MB / 0.8476 GB, free: 53.88 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09748/1.854, allocations: 47.69 MB / 0.8942 GB, free: 38.57 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01612/1.87, allocations: 19.28 MB / 0.913 GB, free: 23.07 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005548/1.871, allocations: 176.5 kB / 0.9132 GB, free: 22.97 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.337e-05/1.871, allocations: 84 kB / 0.9133 GB, free: 22.89 MB / 442.7 MB Notification: Performance of pre-optimization done (n=468): time 1.219e-05/1.871, allocations: 0 / 0.9133 GB, free: 22.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=468): time 0.02381/1.895, allocations: 11.48 MB / 0.9245 GB, free: 18.88 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.241e-05/1.895, allocations: 128.7 kB / 0.9246 GB, free: 18.78 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006405/1.901, allocations: 3.454 MB / 0.928 GB, free: 17.59 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007709/1.902, allocations: 104.4 kB / 0.9281 GB, free: 17.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002304/1.905, allocations: 3.896 MB / 0.9319 GB, free: 14.7 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001787/1.906, allocations: 1.605 MB / 0.9335 GB, free: 13.47 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009166/1.907, allocations: 149.3 kB / 0.9336 GB, free: 13.36 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005633/1.908, allocations: 0.6118 MB / 0.9342 GB, free: 12.93 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005003/1.913, allocations: 3.648 MB / 0.9378 GB, free: 11.65 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006065/1.919, allocations: 6.454 MB / 0.9441 GB, free: 6.711 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00629/1.925, allocations: 5.183 MB / 0.9491 GB, free: 3.219 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.058e-05/1.925, allocations: 28 kB / 0.9492 GB, free: 3.191 MB / 442.7 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02466/1.95, allocations: 12.29 MB / 0.9612 GB, free: 10.59 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001203/1.95, allocations: 44 kB / 0.9612 GB, free: 10.54 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002215/1.95, allocations: 95.44 kB / 0.9613 GB, free: 10.45 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004995/1.955, allocations: 1.622 MB / 0.9629 GB, free: 9.34 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006365/1.962, allocations: 1.663 MB / 0.9645 GB, free: 7.918 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01992/1.982, allocations: 16.55 MB / 0.9807 GB, free: 8.391 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006254/1.988, allocations: 0.946 MB / 0.9816 GB, free: 7.527 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001399/1.989, allocations: 363 kB / 0.9819 GB, free: 7.184 MB / 474.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(8,100.0%) 30,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007312/1.997, allocations: 3.759 MB / 0.9856 GB, free: 4.047 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001003/1.998, allocations: 391.1 kB / 0.986 GB, free: 3.66 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2279/2.226, allocations: 8.536 MB / 0.9943 GB, free: 77.92 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.987e-05/2.226, allocations: 49.12 kB / 0.9944 GB, free: 77.92 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.708e-05/2.226, allocations: 11.47 kB / 0.9944 GB, free: 77.92 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.786e-05/2.226, allocations: 31.59 kB / 0.9944 GB, free: 77.92 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02817/2.254, allocations: 16.85 MB / 1.011 GB, free: 76.93 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-05/2.254, allocations: 3.719 kB / 1.011 GB, free: 76.93 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003222/2.257, allocations: 0.8607 MB / 1.012 GB, free: 76.93 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004346/2.262, allocations: 1.49 MB / 1.013 GB, free: 76.88 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005123/2.262, allocations: 101.5 kB / 1.013 GB, free: 76.88 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01522/2.278, allocations: 16.36 MB / 1.029 GB, free: 68.92 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/2.278, allocations: 7.375 kB / 1.029 GB, free: 68.92 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01613/2.294, allocations: 12.35 MB / 1.041 GB, free: 67.76 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002813/2.297, allocations: 1.112 MB / 1.042 GB, free: 67.46 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005659/2.297, allocations: 85.69 kB / 1.042 GB, free: 67.46 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002193/2.299, allocations: 309.1 kB / 1.043 GB, free: 67.46 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006083/2.3, allocations: 319.1 kB / 1.043 GB, free: 67.45 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002639/2.3, allocations: 139.5 kB / 1.043 GB, free: 67.45 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003376/2.304, allocations: 2.546 MB / 1.046 GB, free: 67.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.41e-07/2.304, allocations: 1.875 kB / 1.046 GB, free: 67.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007056/2.311, allocations: 2.385 MB / 1.048 GB, free: 67.05 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (resistor_m.plug_p.reference.gamma,resistor_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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(8,100.0%) 30,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00075/2.311, allocations: 288.4 kB / 1.048 GB, free: 66.97 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01291/2.324, allocations: 9.301 MB / 1.057 GB, free: 66.11 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.617e-06/2.324, allocations: 0 / 1.057 GB, free: 66.11 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006418/2.331, allocations: 4.438 MB / 1.062 GB, free: 65.35 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005458/2.336, allocations: 0.6259 MB / 1.062 GB, free: 65.33 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02883/2.365, allocations: 19.92 MB / 1.082 GB, free: 56.16 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005841/2.371, allocations: 6.177 MB / 1.088 GB, free: 53.88 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.007563/2.379, allocations: 3.295 MB / 1.091 GB, free: 53.68 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001103/2.38, allocations: 372.3 kB / 1.091 GB, free: 53.64 MB / 474.7 MB Notification: Performance of SimCode: time 1.072e-06/2.38, allocations: 0 / 1.091 GB, free: 53.64 MB / 474.7 MB Notification: Performance of Templates: time 0.09545/2.475, allocations: 62.54 MB / 1.152 GB, free: 8.504 MB / 474.7 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","../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