Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001693/0.001693, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001982/0.001982, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.411/1.411, allocations: 227.7 MB / 247.7 MB, free: 10.43 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002721/0.002721, allocations: 67.78 kB / 307.9 MB, free: 0.5547 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.106, allocations: 50.53 MB / 358.4 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004937/0.111, allocations: 3.298 MB / 361.7 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002317/0.1133, allocations: 1.405 MB / 363.1 MB, free: 9.273 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001631/0.1135, allocations: 8 kB / 363.1 MB, free: 9.266 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004169/0.114, allocations: 159 kB / 363.3 MB, free: 9.109 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009441/0.1149, allocations: 425.7 kB / 363.7 MB, free: 8.691 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000432/0.1154, allocations: 179.5 kB / 363.9 MB, free: 8.516 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006093/0.116, allocations: 457.3 kB / 364.3 MB, free: 8.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002629/0.1163, allocations: 156.2 kB / 364.5 MB, free: 7.906 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002274/0.1165, allocations: 183.2 kB / 364.7 MB, free: 7.727 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002738/0.1168, allocations: 191.2 kB / 364.8 MB, free: 7.539 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.967e-05/0.1169, allocations: 36 kB / 364.9 MB, free: 7.504 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003462/0.1172, allocations: 175.8 kB / 365.1 MB, free: 7.332 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.803e-05/0.1173, allocations: 83.64 kB / 365.1 MB, free: 7.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001999/0.1175, allocations: 191.1 kB / 365.3 MB, free: 7.062 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006635/0.1182, allocations: 0.5453 MB / 365.9 MB, free: 6.516 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1182, allocations: 3.984 kB / 365.9 MB, free: 6.512 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1182, allocations: 0 / 365.9 MB, free: 6.512 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1182, allocations: 0 / 365.9 MB, free: 6.512 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.001511/0.1197, allocations: 0.7487 MB / 366.6 MB, free: 5.715 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.1198, allocations: 12.02 kB / 366.6 MB, free: 5.703 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007683/0.1206, allocations: 112.4 kB / 366.7 MB, free: 5.594 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000403/0.121, allocations: 305.7 kB / 367 MB, free: 5.25 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.118e-05/0.121, allocations: 29.38 kB / 367.1 MB, free: 5.223 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.185e-05/0.1211, allocations: 36.36 kB / 367.1 MB, free: 5.188 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006057/0.1217, allocations: 353.6 kB / 367.5 MB, free: 4.828 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.1217, allocations: 4 kB / 367.5 MB, free: 4.824 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.792e-05/0.1218, allocations: 19.94 kB / 367.5 MB, free: 4.805 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/0.1218, allocations: 12 kB / 367.5 MB, free: 4.793 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005106/0.1223, allocations: 250 kB / 367.7 MB, free: 4.547 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002172/0.1245, allocations: 1.319 MB / 369 MB, free: 3.125 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004093/0.1249, allocations: 193.1 kB / 369.2 MB, free: 2.918 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/0.1251, allocations: 89.67 kB / 369.3 MB, free: 2.824 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001152/0.1262, allocations: 1.192 MB / 370.5 MB, free: 1.457 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.1263, allocations: 38.56 kB / 370.6 MB, free: 1.41 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 3.637e-06/0.1263, allocations: 0 / 370.6 MB, free: 1.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005784/0.1269, allocations: 225.2 kB / 370.8 MB, free: 1.184 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.44e-05/0.127, allocations: 88.98 kB / 370.9 MB, free: 1.078 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003313/0.1273, allocations: 283.1 kB / 371.1 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.42e-05/0.1273, allocations: 29.7 kB / 371.2 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001866/0.1275, allocations: 247.3 kB / 371.4 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.35e-05/0.1276, allocations: 59.19 kB / 371.5 MB, free: 468 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.996e-05/0.1277, allocations: 69.86 kB / 371.5 MB, free: 392 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.1279, allocations: 334.8 kB / 371.9 MB, free: 48 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1514/0.2793, allocations: 62.77 kB / 371.9 MB, free: 19.96 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002907/0.2796, allocations: 197.7 kB / 372.1 MB, free: 19.8 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003839/0.28, allocations: 288.3 kB / 372.4 MB, free: 19.64 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.28, allocations: 1.625 kB / 372.4 MB, free: 19.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006075/0.2807, allocations: 315.5 kB / 372.7 MB, free: 19.59 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.2807, allocations: 6.906 kB / 372.7 MB, free: 19.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.2807, allocations: 8.297 kB / 372.7 MB, free: 19.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.606e-05/0.2807, allocations: 10.95 kB / 372.7 MB, free: 19.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003054/0.281, allocations: 80.7 kB / 372.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.2811, allocations: 11 kB / 372.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002066/0.2813, allocations: 34.34 kB / 372.9 MB, free: 19.58 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.577e-05/0.2813, allocations: 16.3 kB / 372.9 MB, free: 19.58 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.0001403/0.2815, allocations: 159.2 kB / 373 MB, free: 19.46 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.861e-05/0.2815, allocations: 27.44 kB / 373.1 MB, free: 19.46 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.009e-05/0.2816, allocations: 33.2 kB / 373.1 MB, free: 19.45 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.2816, allocations: 2.5 kB / 373.1 MB, free: 19.45 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.2816, allocations: 1.469 kB / 373.1 MB, free: 19.45 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2816, allocations: 1.312 kB / 373.1 MB, free: 19.45 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006568/0.2823, allocations: 0.5107 MB / 373.6 MB, free: 19.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.2823, allocations: 8.219 kB / 373.6 MB, free: 19.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002009/0.2825, allocations: 40.25 kB / 373.7 MB, free: 19.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.2825, allocations: 1.062 kB / 373.7 MB, free: 19.14 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.2825, allocations: 6.391 kB / 373.7 MB, free: 19.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.2826, allocations: 10.91 kB / 373.7 MB, free: 19.14 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.2826, allocations: 1.438 kB / 373.7 MB, free: 19.14 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000501/0.2831, allocations: 424.4 kB / 374.1 MB, free: 18.91 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.539e-05/0.2831, allocations: 105.1 kB / 374.2 MB, free: 18.8 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.942e-05/0.2832, allocations: 6.547 kB / 374.2 MB, free: 18.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/0.2834, allocations: 19.11 kB / 374.2 MB, free: 18.8 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.636e-05/0.2835, allocations: 9.828 kB / 374.2 MB, free: 18.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.2835, allocations: 5.375 kB / 374.2 MB, free: 18.8 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001866/0.2837, allocations: 201.5 kB / 374.4 MB, free: 18.72 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2837, allocations: 0 / 374.4 MB, free: 18.72 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004483/0.2841, allocations: 83.33 kB / 374.5 MB, free: 18.71 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.0001465/0.2843, allocations: 113.9 kB / 374.6 MB, free: 18.62 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004177/0.2847, allocations: 200.8 kB / 374.8 MB, free: 18.6 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2847, allocations: 0 / 374.8 MB, free: 18.6 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.2849, allocations: 69.09 kB / 374.9 MB, free: 18.6 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004786/0.2854, allocations: 42.23 kB / 374.9 MB, free: 18.58 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.2864, allocations: 0.6839 MB / 375.6 MB, free: 18.14 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/0.2867, allocations: 0.7747 MB / 376.4 MB, free: 17.44 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.819e-05/0.2868, allocations: 30.73 kB / 376.4 MB, free: 17.43 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2868, allocations: 0 / 376.4 MB, free: 17.43 MB / 302.1 MB Notification: Performance of Templates: time 0.006445/0.2932, allocations: 3.48 MB / 379.9 MB, free: 17.07 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches