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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007759/0.0007762, allocations: 98.95 kB / 17.31 MB, free: 5.582 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.0008247/0.0008246, allocations: 179.8 kB / 18.21 MB, free: 5.195 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.128/1.128, allocations: 223.3 MB / 242.3 MB, free: 14.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002064/0.0002063, allocations: 7.938 kB / 302.1 MB, free: 5.887 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07539/0.0756, allocations: 50.41 MB / 352.5 MB, free: 3.465 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.002705/0.07832, allocations: 2.918 MB / 355.4 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001693/0.08003, allocations: 1.281 MB / 356.7 MB, free: 15.24 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001537/0.08019, allocations: 4 kB / 356.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003162/0.08052, allocations: 127.4 kB / 356.8 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007952/0.08132, allocations: 414.1 kB / 357.2 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002939/0.08162, allocations: 151.7 kB / 357.4 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004655/0.0821, allocations: 430.1 kB / 357.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001785/0.08228, allocations: 124.7 kB / 357.9 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.08246, allocations: 143.4 kB / 358.1 MB, free: 13.87 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002057/0.08267, allocations: 179.2 kB / 358.2 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.817e-05/0.08271, allocations: 16 kB / 358.2 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002407/0.08296, allocations: 139.8 kB / 358.4 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.826e-05/0.08302, allocations: 67.67 kB / 358.5 MB, free: 13.47 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000141/0.08316, allocations: 204.7 kB / 358.7 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003489/0.08352, allocations: 403 kB / 359 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.473e-06/0.08353, allocations: 4 kB / 359 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.81e-07/0.08353, allocations: 0 / 359 MB, free: 12.87 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.08355, allocations: 3.938 kB / 359.1 MB, free: 12.86 MB / 302.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.001091/0.08464, allocations: 0.6786 MB / 359.7 MB, free: 12.13 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.852e-05/0.08468, allocations: 8.031 kB / 359.7 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005275/0.08521, allocations: 96.41 kB / 359.8 MB, free: 12.03 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003014/0.08552, allocations: 300.5 kB / 360.1 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.08555, allocations: 29.38 kB / 360.2 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.124e-05/0.08561, allocations: 40.34 kB / 360.2 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005197/0.08613, allocations: 361.6 kB / 360.5 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.08616, allocations: 0 / 360.5 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.239e-05/0.08619, allocations: 19.94 kB / 360.6 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.08621, allocations: 8 kB / 360.6 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004368/0.08665, allocations: 254.1 kB / 360.8 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001694/0.08835, allocations: 1.335 MB / 362.2 MB, free: 9.559 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003216/0.08869, allocations: 209 kB / 362.4 MB, free: 9.336 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.08884, allocations: 85.69 kB / 362.4 MB, free: 9.246 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007023/0.08955, allocations: 0.8752 MB / 363.3 MB, free: 8.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.08959, allocations: 34.56 kB / 363.4 MB, free: 8.227 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 2.484e-06/0.0896, allocations: 0 / 363.4 MB, free: 8.227 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004887/0.09009, allocations: 237.3 kB / 363.6 MB, free: 7.988 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.09014, allocations: 84.98 kB / 363.7 MB, free: 7.887 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002515/0.09039, allocations: 282.9 kB / 363.9 MB, free: 7.602 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.09042, allocations: 29.7 kB / 364 MB, free: 7.566 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.09055, allocations: 239.5 kB / 364.2 MB, free: 7.328 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.218e-05/0.0906, allocations: 63.09 kB / 364.3 MB, free: 7.266 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.713e-05/0.09064, allocations: 29.7 kB / 364.3 MB, free: 7.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.09076, allocations: 338.8 kB / 364.6 MB, free: 6.891 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.09091, allocations: 68.62 kB / 364.7 MB, free: 6.82 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002134/0.09113, allocations: 206.4 kB / 364.9 MB, free: 6.559 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003718/0.09151, allocations: 305.9 kB / 365.2 MB, free: 6.199 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.09152, allocations: 0 / 365.2 MB, free: 6.199 MB / 302.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004848/0.09201, allocations: 328.5 kB / 365.5 MB, free: 5.875 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.09203, allocations: 8 kB / 365.5 MB, free: 5.867 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.09205, allocations: 4.562 kB / 365.5 MB, free: 5.863 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.09206, allocations: 8 kB / 365.5 MB, free: 5.855 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002474/0.09232, allocations: 83.78 kB / 365.6 MB, free: 5.773 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.09233, allocations: 11.98 kB / 365.6 MB, free: 5.762 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001797/0.09252, allocations: 39.59 kB / 365.7 MB, free: 5.723 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.09255, allocations: 16 kB / 365.7 MB, free: 5.707 MB / 302.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.0001177/0.09267, allocations: 153.7 kB / 365.8 MB, free: 5.547 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.846e-05/0.09273, allocations: 31.7 kB / 365.9 MB, free: 5.516 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.564e-05/0.09279, allocations: 25.75 kB / 365.9 MB, free: 5.492 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.09281, allocations: 11.92 kB / 365.9 MB, free: 5.48 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.09282, allocations: 4.188 kB / 365.9 MB, free: 5.477 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.09282, allocations: 0 / 365.9 MB, free: 5.477 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00059/0.09342, allocations: 0.5185 MB / 366.4 MB, free: 4.898 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.09343, allocations: 4.031 kB / 366.4 MB, free: 4.895 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001857/0.09362, allocations: 47.91 kB / 366.5 MB, free: 4.848 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.09363, allocations: 0 / 366.5 MB, free: 4.848 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.09365, allocations: 8 kB / 366.5 MB, free: 4.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.09366, allocations: 3.938 kB / 366.5 MB, free: 4.836 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.09366, allocations: 0 / 366.5 MB, free: 4.836 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004691/0.09414, allocations: 430 kB / 366.9 MB, free: 4.398 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.299e-05/0.09421, allocations: 112.7 kB / 367 MB, free: 4.27 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.917e-05/0.09424, allocations: 0 / 367 MB, free: 4.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/0.09445, allocations: 24.05 kB / 367 MB, free: 4.246 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.689e-05/0.09449, allocations: 7.984 kB / 367.1 MB, free: 4.238 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.09451, allocations: 8 kB / 367.1 MB, free: 4.23 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001648/0.09468, allocations: 198 kB / 367.3 MB, free: 4.039 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.09469, allocations: 3.938 kB / 367.3 MB, free: 4.035 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003598/0.09505, allocations: 79.75 kB / 367.3 MB, free: 3.957 MB / 302.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.0001084/0.09516, allocations: 115.2 kB / 367.4 MB, free: 3.832 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003386/0.09551, allocations: 195.8 kB / 367.6 MB, free: 3.641 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.09552, allocations: 0 / 367.6 MB, free: 3.641 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.09565, allocations: 72.97 kB / 367.7 MB, free: 3.57 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.09604, allocations: 40.17 kB / 367.7 MB, free: 3.535 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009612/0.09701, allocations: 0.8856 MB / 368.6 MB, free: 2.613 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/0.09728, allocations: 0.7716 MB / 369.4 MB, free: 1.812 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.106e-05/0.09735, allocations: 27.42 kB / 369.4 MB, free: 1.785 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.09736, allocations: 4 kB / 369.4 MB, free: 1.781 MB / 302.1 MB Notification: Performance of Templates: time 0.1245/0.2218, allocations: 3.359 MB / 372.8 MB, free: 23.16 MB / 302.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches