Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 104.6 kB / 17.16 MB, free: 6.316 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.001732/0.001732, allocations: 190 kB / 18.07 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.38/1.38, allocations: 205.1 MB / 223.9 MB, free: 12.47 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 47.92 kB / 280 MB, free: 3.57 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08508/0.0862, allocations: 46.62 MB / 326.6 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004342/0.09059, allocations: 3.273 MB / 329.9 MB, free: 1.59 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00202/0.09264, allocations: 1.336 MB / 331.2 MB, free: 248 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001797/0.09285, allocations: 15.94 kB / 331.2 MB, free: 232 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004049/0.09329, allocations: 119.4 kB / 331.3 MB, free: 112 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007888/0.09409, allocations: 330.4 kB / 331.7 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004497/0.09455, allocations: 243.4 kB / 331.9 MB, free: 15.55 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004718/0.09503, allocations: 430.1 kB / 332.3 MB, free: 15.12 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002033/0.09524, allocations: 124.8 kB / 332.4 MB, free: 15 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000167/0.09541, allocations: 151.4 kB / 332.6 MB, free: 14.86 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002298/0.09565, allocations: 195.2 kB / 332.8 MB, free: 14.66 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.687e-05/0.09571, allocations: 28 kB / 332.8 MB, free: 14.64 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002782/0.09599, allocations: 135.9 kB / 332.9 MB, free: 14.5 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.643e-05/0.09607, allocations: 79.62 kB / 333 MB, free: 14.43 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001566/0.09623, allocations: 183 kB / 333.2 MB, free: 14.25 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005103/0.09675, allocations: 0.5181 MB / 333.7 MB, free: 13.73 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.09676, allocations: 0 / 333.7 MB, free: 13.73 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.09677, allocations: 0 / 333.7 MB, free: 13.73 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.09678, allocations: 0 / 333.7 MB, free: 13.73 MB / 286.1 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.00138/0.09816, allocations: 0.7449 MB / 334.5 MB, free: 12.93 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.09821, allocations: 8.031 kB / 334.5 MB, free: 12.92 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006087/0.09882, allocations: 96.41 kB / 334.6 MB, free: 12.83 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003635/0.0992, allocations: 312.4 kB / 334.9 MB, free: 12.48 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.09923, allocations: 29.38 kB / 334.9 MB, free: 12.46 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.808e-05/0.09929, allocations: 32.38 kB / 334.9 MB, free: 12.43 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006058/0.0999, allocations: 361.6 kB / 335.3 MB, free: 12.06 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.09992, allocations: 0 / 335.3 MB, free: 12.06 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.621e-05/0.09997, allocations: 12 kB / 335.3 MB, free: 12.05 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.09998, allocations: 8 kB / 335.3 MB, free: 12.04 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004708/0.1005, allocations: 246.1 kB / 335.5 MB, free: 11.8 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001981/0.1024, allocations: 1.327 MB / 336.9 MB, free: 10.37 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003699/0.1028, allocations: 197.1 kB / 337.1 MB, free: 10.16 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001585/0.103, allocations: 81.69 kB / 337.1 MB, free: 10.07 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007207/0.1037, allocations: 0.8713 MB / 338 MB, free: 9.102 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.1038, allocations: 42.59 kB / 338 MB, free: 9.051 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 2.204e-06/0.1038, allocations: 0 / 338 MB, free: 9.051 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005343/0.1043, allocations: 221.5 kB / 338.3 MB, free: 8.828 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.1044, allocations: 85.05 kB / 338.3 MB, free: 8.727 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002643/0.1046, allocations: 278.9 kB / 338.6 MB, free: 8.449 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.1047, allocations: 29.7 kB / 338.7 MB, free: 8.414 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.1048, allocations: 243.5 kB / 338.9 MB, free: 8.172 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.313e-05/0.1049, allocations: 59.11 kB / 338.9 MB, free: 8.113 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.791e-05/0.105, allocations: 66.02 kB / 339 MB, free: 8.043 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.1051, allocations: 338.8 kB / 339.3 MB, free: 7.703 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/0.1052, allocations: 64.62 kB / 339.4 MB, free: 7.641 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.1055, allocations: 210.3 kB / 339.6 MB, free: 7.375 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003862/0.1058, allocations: 296.8 kB / 339.9 MB, free: 7.023 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1059, allocations: 0 / 339.9 MB, free: 7.023 MB / 286.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005098/0.1064, allocations: 313.4 kB / 340.2 MB, free: 6.711 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.1064, allocations: 8 kB / 340.2 MB, free: 6.703 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.1064, allocations: 11.98 kB / 340.2 MB, free: 6.691 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.1064, allocations: 8 kB / 340.2 MB, free: 6.684 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002838/0.1067, allocations: 79.84 kB / 340.3 MB, free: 6.605 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/0.1068, allocations: 15.92 kB / 340.3 MB, free: 6.59 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/0.107, allocations: 31.94 kB / 340.4 MB, free: 6.559 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.205e-05/0.107, allocations: 20 kB / 340.4 MB, free: 6.539 MB / 286.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001463/0.1071, allocations: 145.8 kB / 340.5 MB, free: 6.387 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.292e-05/0.1072, allocations: 31.72 kB / 340.6 MB, free: 6.355 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.539e-05/0.1073, allocations: 29.72 kB / 340.6 MB, free: 6.324 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.1073, allocations: 7.938 kB / 340.6 MB, free: 6.316 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.1073, allocations: 0 / 340.6 MB, free: 6.316 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.1073, allocations: 3.984 kB / 340.6 MB, free: 6.312 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006508/0.108, allocations: 0.5108 MB / 341.1 MB, free: 5.742 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.108, allocations: 0 / 341.1 MB, free: 5.742 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002237/0.1082, allocations: 55.88 kB / 341.2 MB, free: 5.688 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1082, allocations: 0 / 341.2 MB, free: 5.688 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/0.1083, allocations: 4 kB / 341.2 MB, free: 5.684 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1083, allocations: 0 / 341.2 MB, free: 5.684 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1083, allocations: 0 / 341.2 MB, free: 5.684 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005218/0.1088, allocations: 430.2 kB / 341.6 MB, free: 5.246 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.748e-05/0.1089, allocations: 108.7 kB / 341.7 MB, free: 5.121 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.881e-05/0.1089, allocations: 4 kB / 341.7 MB, free: 5.117 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/0.1091, allocations: 15.98 kB / 341.7 MB, free: 5.102 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.1092, allocations: 15.92 kB / 341.7 MB, free: 5.086 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.1092, allocations: 4 kB / 341.7 MB, free: 5.082 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001793/0.1094, allocations: 206 kB / 341.9 MB, free: 4.879 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1094, allocations: 0 / 341.9 MB, free: 4.879 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004412/0.1099, allocations: 79.75 kB / 342 MB, free: 4.801 MB / 286.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001384/0.11, allocations: 111.3 kB / 342.1 MB, free: 4.684 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003973/0.1104, allocations: 191.6 kB / 342.3 MB, free: 4.496 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1104, allocations: 0 / 342.3 MB, free: 4.496 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.1106, allocations: 73.09 kB / 342.4 MB, free: 4.426 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004748/0.1111, allocations: 36.72 kB / 342.4 MB, free: 4.391 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.1122, allocations: 0.7815 MB / 343.2 MB, free: 3.582 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.1125, allocations: 0.7718 MB / 344 MB, free: 2.785 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001489/0.1126, allocations: 34.95 kB / 344 MB, free: 2.75 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.234e-05/0.1127, allocations: 35.38 kB / 344 MB, free: 2.715 MB / 286.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1127, allocations: 0 / 344 MB, free: 2.715 MB / 286.1 MB Notification: Performance of Templates: time 0.005302/0.118, allocations: 2.161 MB / 346.2 MB, free: 0.5586 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches