Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 180.5 kB / 16.39 MB, free: 5.762 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.414/1.414, allocations: 223.2 MB / 240.3 MB, free: 11.89 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.0008731/0.0008731, allocations: 92.06 kB / 291.5 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002342/0.0002342, allocations: 11.94 kB / 351.1 MB, free: 15.33 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1946/0.1949, allocations: 50.4 MB / 401.5 MB, free: 32.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09229/0.2872, allocations: 82.48 MB / 484 MB, free: 14.02 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002269/0.2875, allocations: 76.48 kB / 484 MB, free: 13.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02554/0.313, allocations: 10.17 MB / 494.2 MB, free: 3.672 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3131, allocations: 0 / 494.2 MB, free: 3.672 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.3131, allocations: 8 kB / 494.2 MB, free: 3.664 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001179/0.3143, allocations: 0.6796 MB / 494.9 MB, free: 2.938 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.3143, allocations: 12.22 kB / 494.9 MB, free: 2.926 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004667/0.3148, allocations: 83.48 kB / 495 MB, free: 2.844 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003866/0.3152, allocations: 307.2 kB / 495.3 MB, free: 2.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.3152, allocations: 25 kB / 495.3 MB, free: 2.477 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.946e-05/0.3153, allocations: 32 kB / 495.4 MB, free: 2.445 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000565/0.3158, allocations: 357.3 kB / 495.7 MB, free: 2.086 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.3159, allocations: 0 / 495.7 MB, free: 2.086 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.884e-05/0.3159, allocations: 16 kB / 495.7 MB, free: 2.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.3159, allocations: 8 kB / 495.7 MB, free: 2.062 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004543/0.3164, allocations: 254.1 kB / 496 MB, free: 1.812 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001894/0.3183, allocations: 1.339 MB / 497.3 MB, free: 384 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003675/0.3187, allocations: 202 kB / 497.5 MB, free: 168 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008584/0.3195, allocations: 0.8752 MB / 498.4 MB, free: 15.19 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.3196, allocations: 30.56 kB / 498.4 MB, free: 15.15 MB / 378.7 MB Notification: Performance of pre-optimization done (n=17): time 1.633e-06/0.3196, allocations: 8 kB / 498.4 MB, free: 15.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005445/0.3201, allocations: 225.3 kB / 498.6 MB, free: 14.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.889e-05/0.3202, allocations: 81.11 kB / 498.7 MB, free: 14.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002573/0.3205, allocations: 262.1 kB / 499 MB, free: 14.56 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.3205, allocations: 33.7 kB / 499 MB, free: 14.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.3207, allocations: 227.5 kB / 499.2 MB, free: 14.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.576e-05/0.3207, allocations: 67.08 kB / 499.3 MB, free: 14.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.123e-05/0.3207, allocations: 4 kB / 499.3 MB, free: 14.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.3208, allocations: 338.8 kB / 499.6 MB, free: 13.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.321, allocations: 72.56 kB / 499.7 MB, free: 13.81 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.3212, allocations: 209.3 kB / 499.9 MB, free: 13.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.3214, allocations: 99.92 kB / 0.4883 GB, free: 13.45 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.3214, allocations: 4 kB / 0.4883 GB, free: 13.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005217/0.322, allocations: 321.3 kB / 0.4886 GB, free: 13.13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.322, allocations: 8 kB / 0.4886 GB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.322, allocations: 8 kB / 0.4886 GB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.557e-05/0.322, allocations: 11.92 kB / 0.4886 GB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002864/0.3223, allocations: 79.89 kB / 0.4887 GB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/0.3224, allocations: 11.94 kB / 0.4887 GB, free: 13.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001978/0.3226, allocations: 39.69 kB / 0.4887 GB, free: 12.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.339e-05/0.3226, allocations: 12 kB / 0.4888 GB, free: 12.96 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (39): * Single equations (assignments): 39 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001747/0.3228, allocations: 165.7 kB / 0.4889 GB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.376e-05/0.3229, allocations: 23.72 kB / 0.4889 GB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.109e-05/0.3229, allocations: 29.73 kB / 0.489 GB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.601e-05/0.3229, allocations: 4 kB / 0.489 GB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.323, allocations: 0 / 0.489 GB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.323, allocations: 0 / 0.489 GB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006889/0.3237, allocations: 0.5146 MB / 0.4895 GB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.3237, allocations: 4 kB / 0.4895 GB, free: 12.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00022/0.3239, allocations: 47.91 kB / 0.4895 GB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.3239, allocations: 0 / 0.4895 GB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.3239, allocations: 4 kB / 0.4895 GB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3239, allocations: 4 kB / 0.4895 GB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3239, allocations: 0 / 0.4895 GB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005615/0.3245, allocations: 461.7 kB / 0.49 GB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.964e-05/0.3246, allocations: 104.8 kB / 0.4901 GB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.815e-05/0.3247, allocations: 11.94 kB / 0.4901 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.3249, allocations: 15.98 kB / 0.4901 GB, free: 11.47 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.712e-05/0.3249, allocations: 15.94 kB / 0.4901 GB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.3249, allocations: 8.375 kB / 0.4901 GB, free: 11.45 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001714/0.3251, allocations: 198 kB / 0.4903 GB, free: 11.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3251, allocations: 0 / 0.4903 GB, free: 11.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000399/0.3255, allocations: 83.69 kB / 0.4904 GB, free: 11.17 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * 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 (17): * Single equations (assignments): 17 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001846/0.3257, allocations: 139.3 kB / 0.4905 GB, free: 11.03 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003926/0.3261, allocations: 193 kB / 0.4907 GB, free: 10.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3261, allocations: 0 / 0.4907 GB, free: 10.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.3263, allocations: 71.91 kB / 0.4908 GB, free: 10.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.3266, allocations: 29.62 kB / 0.4908 GB, free: 10.74 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.3277, allocations: 0.8058 MB / 0.4916 GB, free: 9.902 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/0.3281, allocations: 0.7872 MB / 0.4924 GB, free: 9.086 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001382/0.3282, allocations: 38.95 kB / 0.4924 GB, free: 9.051 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.52e-05/0.3283, allocations: 27.38 kB / 0.4924 GB, free: 9.023 MB / 378.7 MB Notification: Performance of SimCode: time 3.31e-07/0.3283, allocations: 0 / 0.4924 GB, free: 9.023 MB / 378.7 MB Notification: Performance of Templates: time 0.005265/0.3335, allocations: 2.223 MB / 0.4946 GB, free: 6.824 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches