Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001126/0.001126, allocations: 100.6 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001309/0.001309, allocations: 199.9 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.303/1.303, allocations: 227.2 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001994/0.0001995, allocations: 4 kB / 306.6 MB, free: 1.414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08751/0.08773, allocations: 51.5 MB / 358.1 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.003653/0.09143, allocations: 2.65 MB / 360.7 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002293/0.09376, allocations: 1.255 MB / 362 MB, free: 9.992 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002221/0.09402, allocations: 8 kB / 362 MB, free: 9.984 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003352/0.09437, allocations: 111.3 kB / 362.1 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008676/0.09524, allocations: 370.8 kB / 362.5 MB, free: 9.512 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002976/0.09555, allocations: 119.8 kB / 362.6 MB, free: 9.395 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004895/0.09605, allocations: 319.3 kB / 362.9 MB, free: 9.082 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002125/0.09627, allocations: 119.1 kB / 363 MB, free: 8.961 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001855/0.09647, allocations: 139.5 kB / 363.1 MB, free: 8.824 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002138/0.09669, allocations: 167.3 kB / 363.3 MB, free: 8.66 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.544e-05/0.09673, allocations: 23.94 kB / 363.3 MB, free: 8.637 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003042/0.09705, allocations: 135.8 kB / 363.5 MB, free: 8.504 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.445e-05/0.09711, allocations: 63.75 kB / 363.5 MB, free: 8.441 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.731e-05/0.09719, allocations: 93.45 kB / 363.6 MB, free: 8.344 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004051/0.09761, allocations: 403.2 kB / 364 MB, free: 7.949 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.09762, allocations: 0 / 364 MB, free: 7.949 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.09762, allocations: 0 / 364 MB, free: 7.949 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.09763, allocations: 0 / 364 MB, free: 7.949 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.001398/0.09904, allocations: 0.694 MB / 364.7 MB, free: 7.203 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.09908, allocations: 8.031 kB / 364.7 MB, free: 7.195 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007095/0.0998, allocations: 115.5 kB / 364.8 MB, free: 7.082 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003456/0.1002, allocations: 303.3 kB / 365.1 MB, free: 6.746 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.1002, allocations: 25 kB / 365.1 MB, free: 6.723 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.232e-05/0.1002, allocations: 39.94 kB / 365.2 MB, free: 6.684 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000548/0.1008, allocations: 361.3 kB / 365.5 MB, free: 6.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.1008, allocations: 4 kB / 365.5 MB, free: 6.316 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.163e-05/0.1009, allocations: 12 kB / 365.5 MB, free: 6.305 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.1009, allocations: 8 kB / 365.6 MB, free: 6.297 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004956/0.1014, allocations: 254 kB / 365.8 MB, free: 6.047 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00196/0.1033, allocations: 1.327 MB / 367.1 MB, free: 4.625 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003658/0.1037, allocations: 193.2 kB / 367.3 MB, free: 4.418 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001064/0.1048, allocations: 1.204 MB / 368.5 MB, free: 3.039 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.849e-05/0.1049, allocations: 34.5 kB / 368.6 MB, free: 2.996 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.563e-06/0.1049, allocations: 0 / 368.6 MB, free: 2.996 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005166/0.1054, allocations: 225.3 kB / 368.8 MB, free: 2.77 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.1054, allocations: 81.05 kB / 368.9 MB, free: 2.672 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002633/0.1057, allocations: 282.9 kB / 369.1 MB, free: 2.387 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.1057, allocations: 33.7 kB / 369.2 MB, free: 2.348 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.1059, allocations: 247.5 kB / 369.4 MB, free: 2.102 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001592/0.1061, allocations: 59.11 kB / 369.5 MB, free: 2.043 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.561e-05/0.1061, allocations: 8 kB / 369.5 MB, free: 2.035 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.1063, allocations: 342.8 kB / 369.8 MB, free: 1.691 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.1064, allocations: 68.62 kB / 369.9 MB, free: 1.621 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/0.1066, allocations: 198.4 kB / 370.1 MB, free: 1.367 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001835/0.1068, allocations: 103.7 kB / 370.2 MB, free: 1.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1068, allocations: 0 / 370.2 MB, free: 1.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005266/0.1074, allocations: 320.8 kB / 370.5 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.1074, allocations: 8 kB / 370.5 MB, free: 0.9414 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.1074, allocations: 4.562 kB / 370.5 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.1074, allocations: 15.98 kB / 370.5 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000274/0.1077, allocations: 79.84 kB / 370.6 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.1077, allocations: 8 kB / 370.6 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/0.1079, allocations: 39.92 kB / 370.6 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.108, allocations: 16 kB / 370.6 MB, free: 0.7812 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001355/0.1081, allocations: 153.7 kB / 370.8 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.922e-05/0.1082, allocations: 31.66 kB / 370.8 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.486e-05/0.1082, allocations: 37.73 kB / 370.9 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1082, allocations: 4 kB / 370.9 MB, free: 0.543 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1083, allocations: 0 / 370.9 MB, free: 0.543 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.1083, allocations: 3.984 kB / 370.9 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1539/0.2622, allocations: 0.5052 MB / 371.4 MB, free: 19.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.2622, allocations: 1.75 kB / 371.4 MB, free: 19.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002598/0.2625, allocations: 47.34 kB / 371.4 MB, free: 19.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.764e-06/0.2625, allocations: 2.062 kB / 371.4 MB, free: 19.8 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.2625, allocations: 7.391 kB / 371.4 MB, free: 19.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.299e-06/0.2625, allocations: 2.656 kB / 371.4 MB, free: 19.8 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.2625, allocations: 0.625 kB / 371.4 MB, free: 19.8 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006266/0.2632, allocations: 459 kB / 371.9 MB, free: 19.55 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.922e-05/0.2633, allocations: 104 kB / 372 MB, free: 19.46 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.006e-05/0.2633, allocations: 11.91 kB / 372 MB, free: 19.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.2635, allocations: 20.86 kB / 372 MB, free: 19.46 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.732e-05/0.2636, allocations: 15.19 kB / 372 MB, free: 19.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.2636, allocations: 6.516 kB / 372 MB, free: 19.46 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001993/0.2638, allocations: 194.7 kB / 372.2 MB, free: 19.38 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2638, allocations: 0 / 372.2 MB, free: 19.38 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004646/0.2643, allocations: 84.73 kB / 372.3 MB, free: 19.37 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 (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.0001468/0.2644, allocations: 110.8 kB / 372.4 MB, free: 19.29 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000485/0.2649, allocations: 194.9 kB / 372.6 MB, free: 19.28 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2649, allocations: 3.531 kB / 372.6 MB, free: 19.28 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.2651, allocations: 74.06 kB / 372.7 MB, free: 19.27 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.2654, allocations: 27.31 kB / 372.7 MB, free: 19.27 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.2667, allocations: 0.8131 MB / 373.5 MB, free: 18.8 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.2669, allocations: 0.7837 MB / 374.3 MB, free: 18.1 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001452/0.2671, allocations: 35.73 kB / 374.3 MB, free: 18.09 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.129e-05/0.2672, allocations: 24.19 kB / 374.4 MB, free: 18.08 MB / 302.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2672, allocations: 0 / 374.4 MB, free: 18.08 MB / 302.1 MB Notification: Performance of Templates: time 0.00559/0.2728, allocations: 2.122 MB / 376.5 MB, free: 17.9 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches