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.001159/0.001159, allocations: 109.4 kB / 18.4 MB, free: 4.68 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.00121/0.00121, allocations: 185.2 kB / 19.33 MB, free: 3.758 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.444/1.444, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001348/0.001348, allocations: 44.41 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09269/0.09405, allocations: 46.62 MB / 375.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.005021/0.09912, allocations: 3.237 MB / 379 MB, free: 1.324 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1924/0.2916, allocations: 1.345 MB / 380.4 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004369/0.292, allocations: 11.19 kB / 380.4 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005413/0.2926, allocations: 143.8 kB / 380.5 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001047/0.2937, allocations: 356.2 kB / 380.9 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005139/0.2942, allocations: 260.8 kB / 381.1 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005955/0.2948, allocations: 450.8 kB / 381.6 MB, free: 9.664 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002646/0.2951, allocations: 157.5 kB / 381.7 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002025/0.2953, allocations: 165.1 kB / 381.9 MB, free: 9.625 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002673/0.2956, allocations: 202.4 kB / 382.1 MB, free: 9.582 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.418e-05/0.2956, allocations: 34.38 kB / 382.1 MB, free: 9.582 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003356/0.296, allocations: 158.9 kB / 382.3 MB, free: 9.57 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.504e-05/0.2961, allocations: 81.11 kB / 382.4 MB, free: 9.555 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002254/0.2963, allocations: 197 kB / 382.6 MB, free: 9.496 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007823/0.2971, allocations: 0.5373 MB / 383.1 MB, free: 9.41 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2971, allocations: 4.625 kB / 383.1 MB, free: 9.406 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.2971, allocations: 0 / 383.1 MB, free: 9.406 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.2971, allocations: 0.5 kB / 383.1 MB, free: 9.406 MB / 318.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.00148/0.2986, allocations: 0.7375 MB / 383.8 MB, free: 8.922 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.2987, allocations: 10.31 kB / 383.8 MB, free: 8.922 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006297/0.2993, allocations: 98.61 kB / 383.9 MB, free: 8.902 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004385/0.2998, allocations: 312.3 kB / 384.2 MB, free: 8.656 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/0.2998, allocations: 26.06 kB / 384.3 MB, free: 8.652 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.763e-05/0.2999, allocations: 33.66 kB / 384.3 MB, free: 8.652 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005789/0.3004, allocations: 351.4 kB / 384.6 MB, free: 8.594 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.3005, allocations: 5.625 kB / 384.7 MB, free: 8.59 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.549e-05/0.3005, allocations: 13.62 kB / 384.7 MB, free: 8.59 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.3005, allocations: 12.81 kB / 384.7 MB, free: 8.586 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004803/0.301, allocations: 252.1 kB / 384.9 MB, free: 8.582 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00194/0.303, allocations: 1.301 MB / 386.2 MB, free: 7.773 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000374/0.3033, allocations: 197.3 kB / 386.4 MB, free: 7.672 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.3035, allocations: 87.83 kB / 386.5 MB, free: 7.629 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006479/0.3042, allocations: 0.8699 MB / 387.4 MB, free: 6.77 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.3042, allocations: 39.78 kB / 387.4 MB, free: 6.727 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.563e-06/0.3042, allocations: 0 / 387.4 MB, free: 6.727 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005261/0.3047, allocations: 218.5 kB / 387.6 MB, free: 6.629 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/0.3048, allocations: 84.33 kB / 387.7 MB, free: 6.531 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002766/0.3051, allocations: 284.4 kB / 388 MB, free: 6.367 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.3051, allocations: 30.8 kB / 388 MB, free: 6.332 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.3052, allocations: 234.6 kB / 388.2 MB, free: 6.137 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.138e-05/0.3053, allocations: 68.75 kB / 388.3 MB, free: 6.082 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.325e-05/0.3053, allocations: 67.11 kB / 388.4 MB, free: 6.035 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.127e-05/0.3054, allocations: 340 kB / 388.7 MB, free: 5.711 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.3056, allocations: 66.95 kB / 388.8 MB, free: 5.691 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001958/0.3058, allocations: 198 kB / 389 MB, free: 5.5 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003451/0.3061, allocations: 293.8 kB / 389.3 MB, free: 5.25 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.3061, allocations: 6.156 kB / 389.3 MB, free: 5.246 MB / 318.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005025/0.3067, allocations: 312.8 kB / 389.6 MB, free: 5.109 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.3067, allocations: 7 kB / 389.6 MB, free: 5.109 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.158e-06/0.3067, allocations: 6.406 kB / 389.6 MB, free: 5.109 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.3067, allocations: 6.781 kB / 389.6 MB, free: 5.109 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002942/0.307, allocations: 83.09 kB / 389.7 MB, free: 5.098 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.533e-05/0.307, allocations: 13.7 kB / 389.7 MB, free: 5.094 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.3072, allocations: 37.69 kB / 389.7 MB, free: 5.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.3073, allocations: 21.23 kB / 389.7 MB, free: 5.062 MB / 318.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.0001205/0.3074, allocations: 155.4 kB / 389.9 MB, free: 4.918 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.66e-05/0.3075, allocations: 30.7 kB / 389.9 MB, free: 4.902 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.377e-05/0.3075, allocations: 28.27 kB / 389.9 MB, free: 4.887 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.3075, allocations: 2.344 kB / 389.9 MB, free: 4.887 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.3076, allocations: 7.875 kB / 390 MB, free: 4.879 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.3076, allocations: 2.297 kB / 390 MB, free: 4.879 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006168/0.3082, allocations: 0.5098 MB / 390.5 MB, free: 4.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3082, allocations: 1.156 kB / 390.5 MB, free: 4.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002082/0.3084, allocations: 41.45 kB / 390.5 MB, free: 4.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.3084, allocations: 5.062 kB / 390.5 MB, free: 4.477 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.3085, allocations: 6.922 kB / 390.5 MB, free: 4.473 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.3085, allocations: 4.281 kB / 390.5 MB, free: 4.473 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3085, allocations: 1.062 kB / 390.5 MB, free: 4.473 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004661/0.3089, allocations: 420.6 kB / 390.9 MB, free: 4.18 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.13e-05/0.309, allocations: 106.4 kB / 391 MB, free: 4.066 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.81e-05/0.309, allocations: 2.406 kB / 391 MB, free: 4.066 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000202/0.3092, allocations: 20.88 kB / 391.1 MB, free: 4.059 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.225e-05/0.3093, allocations: 10.41 kB / 391.1 MB, free: 4.059 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.3093, allocations: 8.297 kB / 391.1 MB, free: 4.055 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001812/0.3095, allocations: 195.4 kB / 391.3 MB, free: 3.941 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.3095, allocations: 0 / 391.3 MB, free: 3.941 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004551/0.31, allocations: 84.78 kB / 391.4 MB, free: 3.918 MB / 318.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.0001543/0.3101, allocations: 115.6 kB / 391.5 MB, free: 3.816 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004142/0.3106, allocations: 186.1 kB / 391.7 MB, free: 3.762 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.3106, allocations: 1.094 kB / 391.7 MB, free: 3.762 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.3107, allocations: 72.84 kB / 391.7 MB, free: 3.738 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004538/0.3112, allocations: 47.09 kB / 391.8 MB, free: 3.711 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.3123, allocations: 0.6769 MB / 392.4 MB, free: 3.262 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.3125, allocations: 0.7797 MB / 393.2 MB, free: 2.559 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.21e-05/0.3126, allocations: 26.56 kB / 393.3 MB, free: 2.551 MB / 318.1 MB Notification: Performance of SimCode: time 1.91e-07/0.3126, allocations: 0 / 393.3 MB, free: 2.551 MB / 318.1 MB Notification: Performance of Templates: time 0.006623/0.3193, allocations: 3.496 MB / 396.7 MB, free: 2.137 MB / 318.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches