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.001536/0.001536, allocations: 113.7 kB / 17.69 MB, free: 5.309 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.0018/0.0018, allocations: 191 kB / 18.63 MB, free: 4.375 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.392/1.392, allocations: 222.9 MB / 242.3 MB, free: 15.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009603/0.0009603, allocations: 40.56 kB / 302.1 MB, free: 5.223 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08608/0.08706, allocations: 49.44 MB / 351.5 MB, free: 3.754 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004122/0.09122, allocations: 3.276 MB / 354.8 MB, free: 468 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001767/0.093, allocations: 1.296 MB / 356.1 MB, free: 15.15 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001425/0.09316, allocations: 11.94 kB / 356.1 MB, free: 15.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003642/0.09353, allocations: 147 kB / 356.2 MB, free: 15 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008804/0.09443, allocations: 457.6 kB / 356.7 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003273/0.09479, allocations: 163.5 kB / 356.8 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005025/0.0953, allocations: 445.7 kB / 357.3 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002162/0.09552, allocations: 160.2 kB / 357.4 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001759/0.09571, allocations: 159.4 kB / 357.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002484/0.09596, allocations: 203.1 kB / 357.8 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.871e-05/0.09602, allocations: 36 kB / 357.8 MB, free: 13.4 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002666/0.09629, allocations: 159.9 kB / 358 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.801e-05/0.09637, allocations: 95.61 kB / 358.1 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001662/0.09654, allocations: 191 kB / 358.3 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005189/0.09707, allocations: 0.5334 MB / 358.8 MB, free: 12.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.09708, allocations: 0 / 358.8 MB, free: 12.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.09709, allocations: 4 kB / 358.8 MB, free: 12.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.09711, allocations: 0 / 358.8 MB, free: 12.43 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.001266/0.09838, allocations: 0.7371 MB / 359.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.09842, allocations: 8.031 kB / 359.5 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005951/0.09902, allocations: 96.33 kB / 359.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004007/0.09943, allocations: 304.5 kB / 359.9 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.09947, allocations: 29.38 kB / 360 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.06e-05/0.09953, allocations: 32.31 kB / 360 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005533/0.1001, allocations: 365.6 kB / 360.3 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.1001, allocations: 0 / 360.3 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.398e-05/0.1001, allocations: 12 kB / 360.4 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.1002, allocations: 11.98 kB / 360.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004401/0.1006, allocations: 242.1 kB / 360.6 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001847/0.1025, allocations: 1.319 MB / 361.9 MB, free: 9.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003478/0.1028, allocations: 201.1 kB / 362.1 MB, free: 8.875 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.103, allocations: 89.67 kB / 362.2 MB, free: 8.781 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007282/0.1037, allocations: 0.8752 MB / 363.1 MB, free: 7.805 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.1038, allocations: 38.5 kB / 363.1 MB, free: 7.758 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.402e-06/0.1038, allocations: 0 / 363.1 MB, free: 7.758 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004924/0.1043, allocations: 225.2 kB / 363.3 MB, free: 7.531 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.1043, allocations: 85.05 kB / 363.4 MB, free: 7.43 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/0.1046, allocations: 282.9 kB / 363.7 MB, free: 7.141 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.1046, allocations: 29.7 kB / 363.7 MB, free: 7.105 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.1047, allocations: 239.5 kB / 364 MB, free: 6.867 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.321e-05/0.1048, allocations: 67.09 kB / 364 MB, free: 6.801 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.015e-05/0.1049, allocations: 54.03 kB / 364.1 MB, free: 6.738 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.105, allocations: 338.8 kB / 364.4 MB, free: 6.398 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.1051, allocations: 68.61 kB / 364.5 MB, free: 6.332 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/0.1054, allocations: 202.3 kB / 364.7 MB, free: 6.074 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000351/0.1057, allocations: 284.9 kB / 365 MB, free: 5.734 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.1057, allocations: 0 / 365 MB, free: 5.734 MB / 302.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004878/0.1062, allocations: 320.8 kB / 365.3 MB, free: 5.414 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.1062, allocations: 8 kB / 365.3 MB, free: 5.406 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.1063, allocations: 4 kB / 365.3 MB, free: 5.402 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.1063, allocations: 4.562 kB / 365.3 MB, free: 5.398 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002889/0.1066, allocations: 91.83 kB / 365.4 MB, free: 5.309 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.1066, allocations: 8.016 kB / 365.4 MB, free: 5.301 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001871/0.1068, allocations: 35.69 kB / 365.4 MB, free: 5.266 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.467e-05/0.1068, allocations: 23.97 kB / 365.4 MB, free: 5.242 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.0001272/0.1069, allocations: 149.7 kB / 365.6 MB, free: 5.086 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.1071, allocations: 27.62 kB / 365.6 MB, free: 5.059 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.97e-05/0.1071, allocations: 29.73 kB / 365.6 MB, free: 5.031 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/0.1072, allocations: 11.94 kB / 365.7 MB, free: 5.02 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1072, allocations: 0 / 365.7 MB, free: 5.02 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1072, allocations: 0 / 365.7 MB, free: 5.02 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006465/0.1078, allocations: 0.507 MB / 366.2 MB, free: 4.453 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1078, allocations: 0 / 366.2 MB, free: 4.453 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002083/0.1081, allocations: 47.84 kB / 366.2 MB, free: 4.406 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.1081, allocations: 4 kB / 366.2 MB, free: 4.402 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.1081, allocations: 11.95 kB / 366.2 MB, free: 4.391 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.1081, allocations: 4 kB / 366.2 MB, free: 4.387 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1081, allocations: 320 / 366.2 MB, free: 4.387 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004833/0.1086, allocations: 417.6 kB / 366.6 MB, free: 3.961 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.497e-05/0.1087, allocations: 112.8 kB / 366.7 MB, free: 3.832 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.661e-05/0.1087, allocations: 8 kB / 366.8 MB, free: 3.824 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002119/0.1089, allocations: 15.98 kB / 366.8 MB, free: 3.809 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.109, allocations: 11.92 kB / 366.8 MB, free: 3.797 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.109, allocations: 4 kB / 366.8 MB, free: 3.793 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001645/0.1092, allocations: 202 kB / 367 MB, free: 3.602 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1092, allocations: 0 / 367 MB, free: 3.602 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004161/0.1096, allocations: 83.75 kB / 367.1 MB, free: 3.52 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.0001515/0.1098, allocations: 115.2 kB / 367.2 MB, free: 3.395 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003663/0.1101, allocations: 187.9 kB / 367.4 MB, free: 3.211 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.1102, allocations: 0 / 367.4 MB, free: 3.211 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.1103, allocations: 71.84 kB / 367.4 MB, free: 3.141 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004121/0.1107, allocations: 40.67 kB / 367.5 MB, free: 3.105 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.1117, allocations: 0.6454 MB / 368.1 MB, free: 2.434 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.1121, allocations: 0.7753 MB / 368.9 MB, free: 1.633 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001187/0.1122, allocations: 34.95 kB / 368.9 MB, free: 1.598 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.723e-05/0.1123, allocations: 23.44 kB / 368.9 MB, free: 1.574 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1123, allocations: 4 kB / 369 MB, free: 1.57 MB / 302.1 MB Notification: Performance of Templates: time 0.1466/0.2589, allocations: 2.323 MB / 371.3 MB, free: 24.86 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 -s gbode -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