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: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 107.9 kB / 17.06 MB, free: 6.004 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.001465/0.001465, allocations: 189.4 kB / 18 MB, free: 5.09 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.471/1.471, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 47.92 kB / 350.8 MB, free: 3.762 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2826, allocations: 49.44 MB / 400.2 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.005393/0.2881, allocations: 3.288 MB / 403.5 MB, free: 5.516 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002342/0.2904, allocations: 1.3 MB / 404.8 MB, free: 4.207 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001854/0.2906, allocations: 4 kB / 404.8 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004316/0.2911, allocations: 147.1 kB / 405 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001065/0.2922, allocations: 465.5 kB / 405.4 MB, free: 3.602 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003811/0.2926, allocations: 157.7 kB / 405.6 MB, free: 3.449 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006264/0.2932, allocations: 450 kB / 406 MB, free: 3.008 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002521/0.2935, allocations: 144.2 kB / 406.2 MB, free: 2.871 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002019/0.2937, allocations: 167.4 kB / 406.3 MB, free: 2.707 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002875/0.294, allocations: 203.1 kB / 406.5 MB, free: 2.508 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.134e-05/0.2941, allocations: 39.98 kB / 406.6 MB, free: 2.469 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003245/0.2944, allocations: 163.9 kB / 406.7 MB, free: 2.309 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.521e-05/0.2945, allocations: 79.67 kB / 406.8 MB, free: 2.23 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002147/0.2947, allocations: 195 kB / 407 MB, free: 2.039 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007017/0.2954, allocations: 0.5398 MB / 407.5 MB, free: 1.5 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2954, allocations: 0 / 407.5 MB, free: 1.5 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2954, allocations: 0 / 407.5 MB, free: 1.5 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.878e-06/0.2955, allocations: 0 / 407.5 MB, free: 1.5 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.001504/0.297, allocations: 0.748 MB / 408.3 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.297, allocations: 15.89 kB / 408.3 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.959e-05/0.2971, allocations: 74.72 kB / 408.4 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005932/0.2977, allocations: 96.64 kB / 408.5 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004718/0.2982, allocations: 308.6 kB / 408.8 MB, free: 172 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.028e-05/0.2982, allocations: 29.38 kB / 408.8 MB, free: 144 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.523e-05/0.2983, allocations: 32.38 kB / 408.8 MB, free: 112 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006505/0.299, allocations: 357.5 kB / 409.2 MB, free: 15.74 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.299, allocations: 0 / 409.2 MB, free: 15.74 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.235e-05/0.299, allocations: 8 kB / 409.2 MB, free: 15.73 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.2991, allocations: 12 kB / 409.2 MB, free: 15.72 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005426/0.2996, allocations: 246.1 kB / 409.4 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00205/0.3017, allocations: 1.312 MB / 410.7 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003969/0.3021, allocations: 197.1 kB / 410.9 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000168/0.3023, allocations: 85.67 kB / 411 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008737/0.3031, allocations: 0.887 MB / 411.9 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.3032, allocations: 30.56 kB / 411.9 MB, free: 12.74 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.322e-06/0.3032, allocations: 0 / 411.9 MB, free: 12.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.000562/0.3038, allocations: 225.3 kB / 412.2 MB, free: 12.51 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/0.3038, allocations: 89.03 kB / 412.2 MB, free: 12.41 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003056/0.3041, allocations: 279.1 kB / 412.5 MB, free: 12.12 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.3042, allocations: 33.7 kB / 412.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/0.3043, allocations: 236 kB / 412.8 MB, free: 11.85 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.808e-05/0.3044, allocations: 71.42 kB / 412.8 MB, free: 11.78 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.3045, allocations: 61.98 kB / 412.9 MB, free: 11.71 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.3047, allocations: 334.8 kB / 413.2 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.3048, allocations: 76.61 kB / 413.3 MB, free: 11.3 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002478/0.3051, allocations: 198.3 kB / 413.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004565/0.3056, allocations: 288.9 kB / 413.8 MB, free: 10.7 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.3056, allocations: 4 kB / 413.8 MB, free: 10.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005416/0.3061, allocations: 316.8 kB / 414.1 MB, free: 10.39 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.3062, allocations: 8.562 kB / 414.1 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.3062, allocations: 8 kB / 414.1 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/0.3062, allocations: 15.94 kB / 414.1 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002777/0.3065, allocations: 79.89 kB / 414.2 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.3065, allocations: 11.94 kB / 414.2 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001942/0.3067, allocations: 35.73 kB / 414.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.308e-05/0.3067, allocations: 19.94 kB / 414.3 MB, free: 10.21 MB / 334.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.0001564/0.3069, allocations: 157.7 kB / 414.4 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.694e-05/0.307, allocations: 31.81 kB / 414.5 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.872e-05/0.307, allocations: 33.67 kB / 414.5 MB, free: 9.984 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.307, allocations: 3.938 kB / 414.5 MB, free: 9.98 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.3071, allocations: 0 / 414.5 MB, free: 9.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.3071, allocations: 4 kB / 414.5 MB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007072/0.3078, allocations: 0.4992 MB / 415 MB, free: 9.418 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.3078, allocations: 7.875 kB / 415 MB, free: 9.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/0.308, allocations: 48 kB / 415 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.308, allocations: 0 / 415 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.3081, allocations: 4 kB / 415.1 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.3081, allocations: 3.938 kB / 415.1 MB, free: 9.355 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3081, allocations: 0 / 415.1 MB, free: 9.355 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005664/0.3086, allocations: 427.2 kB / 415.5 MB, free: 8.918 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.971e-05/0.3087, allocations: 108.9 kB / 415.6 MB, free: 8.793 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.667e-05/0.3088, allocations: 4 kB / 415.6 MB, free: 8.789 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/0.309, allocations: 15.98 kB / 415.6 MB, free: 8.773 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.921e-05/0.309, allocations: 11.98 kB / 415.6 MB, free: 8.762 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.309, allocations: 4 kB / 415.6 MB, free: 8.758 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002029/0.3093, allocations: 202 kB / 415.8 MB, free: 8.562 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3093, allocations: 0 / 415.8 MB, free: 8.562 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004116/0.3097, allocations: 87.78 kB / 415.9 MB, free: 8.477 MB / 334.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.0009116/0.3106, allocations: 0.9689 MB / 416.9 MB, free: 7.477 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004218/0.311, allocations: 188.2 kB / 417.1 MB, free: 7.293 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.311, allocations: 0 / 417.1 MB, free: 7.293 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.3112, allocations: 71.91 kB / 417.1 MB, free: 7.223 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003949/0.3116, allocations: 28.88 kB / 417.2 MB, free: 7.195 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00382/0.3154, allocations: 3.121 MB / 420.3 MB, free: 3.859 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004308/0.3159, allocations: 0.7753 MB / 421 MB, free: 3.059 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001194/0.316, allocations: 30.97 kB / 421.1 MB, free: 3.031 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.3162, allocations: 111.3 kB / 421.2 MB, free: 2.922 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.3162, allocations: 0 / 421.2 MB, free: 2.922 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02852/0.3447, allocations: 5.503 MB / 426.7 MB, free: 13.58 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.206/8.551, allocations: 4.062 kB / 426.7 MB, free: 13.57 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance.fmu > 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